Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- arch/x86/kernel/alternative.c, line 3052
- arch/x86/kernel/ftrace.c
- arch/x86/kernel/jump_label.c, line 138
Smatch caller information:
arch/x86/kernel/alternative.c smp_text_poke_single() -> smp_text_poke_batch_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | len | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 1 | opcode | (-1),5-6 |
| BUF_SIZE | 1 | opcode | (-1),5-6 |
| BUF_SIZE | 3 | emulate | (-1)-0,5 |
| BUF_SIZE | 3 | emulate | (-1)-0,5 |
| CAPPED_DATA | 2 | len | 1 |
| CAPPED_DATA | 2 | len | 1 |
| DATA_SOURCE | 0 | addr | $0 |
| DATA_SOURCE | 1 | opcode | $1 |
| DATA_SOURCE | 2 | len | $2 |
| DATA_SOURCE | 3 | emulate | $3 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | addr | unit_byte |
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &static_call_mutex | ||
| HALF_LOCKED2 | global &text_mutex |
arch/x86/kernel/ftrace.c ftrace_modify_code_direct() -> smp_text_poke_batch_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | len | 5 |
| PARAM_VALUE | 3 | emulate | 0 |
| BUF_SIZE | 1 | opcode | (-1),5 |
| DATA_SOURCE | 0 | addr | $0 |
| DATA_SOURCE | 1 | opcode | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | addr | unit_byte |
| HALF_LOCKED2 | global &ftrace_lock |
arch/x86/kernel/ftrace.c ftrace_replace_code() -> smp_text_poke_batch_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | len | 5 |
| PARAM_VALUE | 3 | emulate | 0 |
| BUF_SIZE | 1 | opcode | (-1),5 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | addr | unit_byte |
arch/x86/kernel/jump_label.c arch_jump_label_transform_queue() -> smp_text_poke_batch_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | len | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 3 | emulate | 0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &text_mutex | ||
| HALF_LOCKED2 | global &jump_label_mutex |