Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 7 files:
- arch/arm64/kernel/probes/kprobes.c, line 49
- arch/s390/kernel/kprobes.c, line 40
- arch/s390/kernel/module.c, line 479
- arch/sparc/net/bpf_jit_comp_32.c, line 739
- kernel/bpf/core.c, line 1128
- kernel/kprobes.c, line 120
- mm/execmem.c, line 485
Smatch caller information:
kernel/kprobes.c alloc_insn_page() -> execmem_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 1 |
| PARAM_VALUE | 1 | size | 4096 |
| UNITS | 1 | size | unit_byte |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | global &fei_lock | ||
| HALF_LOCKED2 | global &jump_label_mutex |
mm/execmem.c execmem_alloc_rw() -> execmem_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 0,2-4 |
| PARAM_VALUE | 1 | size | 0,4096-u32max,1881537098489593869,2128908986754379789,7579883658128785421,7827255546393571341 |
| DATA_SOURCE | 0 | type | $0 |
| DATA_SOURCE | 1 | size | $1 |
| FUZZY_MAX | 0 | type | 4 |
| HARD_MAX | 0 | type | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | size | unit_byte |
kernel/bpf/core.c bpf_jit_alloc_exec() -> execmem_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 3 |
| DATA_SOURCE | 1 | size | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | size | unit_byte |
| HALF_LOCKED2 | global &pack_mutex |