Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- arch/x86/kernel/alternative.c, line 115
- arch/x86/kernel/ftrace.c, line 271
- kernel/bpf/core.c, line 1133
- kernel/module/main.c, line 1354
Smatch caller information:
arch/x86/kernel/alternative.c __its_alloc() -> execmem_alloc_rw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 0 |
| PARAM_VALUE | 1 | size | 4096 |
| UNITS | 1 | size | unit_byte |
arch/x86/kernel/ftrace.c alloc_tramp() -> execmem_alloc_rw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 2 |
| PARAM_VALUE | 1 | size | 1881537098489593869,2128908986754379789,7579883658128785421,7827255546393571341 |
| DATA_SOURCE | 1 | size | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | size | unit_byte |
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &ftrace_lock |
kernel/bpf/core.c bpf_jit_alloc_exec_rw() -> execmem_alloc_rw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 3 |
| PARAM_VALUE | 1 | size | 4096 |
| DATA_SOURCE | 1 | size | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | size | unit_byte |
kernel/module/main.c module_memory_alloc() -> execmem_alloc_rw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 0,4 |
| PARAM_VALUE | 1 | size | 0,4096-u32max |
| FUZZY_MAX | 0 | type | 4 |
| BIT_INFO | 0 | type | 0x0,0x4 |
| BIT_INFO | 1 | size | 0x0,0xfffff000 |
| HARD_MAX | 0 | type | 4 |