Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
arch/x86/kernel/ftrace.c create_trampoline() -> text_gen_insn()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | opcode | 232 |
| PARAM_VALUE | 1 | addr | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &text_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &ftrace_lock |
arch/x86/kernel/ftrace.c create_trampoline() -> text_gen_insn()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | opcode | 232 |
| PARAM_VALUE | 1 | addr | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &text_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &ftrace_lock |
arch/x86/kernel/ftrace.c create_trampoline() -> text_gen_insn()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | opcode | 232 |
| PARAM_VALUE | 1 | addr | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &text_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &ftrace_lock |
arch/x86/kernel/ftrace.c ftrace_call_replace() -> text_gen_insn()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | opcode | 233 |
| PARAM_VALUE | 2 | dest | 0,2-u64max |
| DATA_SOURCE | 1 | addr | $0 |
| DATA_SOURCE | 2 | dest | r ftrace_jmp_get |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | addr | unit_byte |
| HALF_LOCKED2 | global &text_mutex |
arch/x86/kernel/ftrace.c ftrace_call_replace() -> text_gen_insn()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | opcode | 232 |
| DATA_SOURCE | 1 | addr | $0 |
| DATA_SOURCE | 2 | dest | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | addr | unit_byte |
| HALF_LOCKED2 | global &text_mutex |
arch/x86/kernel/jump_label.c __jump_label_patch() -> text_gen_insn()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | opcode | 235 |
| DATA_SOURCE | 1 | addr | r jump_entry_code |
| DATA_SOURCE | 2 | dest | r jump_entry_target |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &text_mutex | ||
| HALF_LOCKED2 | global &jump_label_mutex |
arch/x86/kernel/jump_label.c __jump_label_patch() -> text_gen_insn()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | opcode | 233 |
| DATA_SOURCE | 1 | addr | r jump_entry_code |
| DATA_SOURCE | 2 | dest | r jump_entry_target |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &text_mutex | ||
| HALF_LOCKED2 | global &jump_label_mutex |
arch/x86/kernel/static_call.c __static_call_transform() -> text_gen_insn()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | opcode | 232 |
| PARAM_VALUE | 1 | addr | 4096-ptr_max |
| DATA_SOURCE | 1 | addr | $0 |
| DATA_SOURCE | 2 | dest | $2 [m] |
| LOCK2 | global &static_call_mutex | ||
| LOCK2 | global &text_mutex |
arch/x86/kernel/static_call.c __static_call_transform() -> text_gen_insn()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | opcode | 233 |
| PARAM_VALUE | 1 | addr | 4096-ptr_max |
| DATA_SOURCE | 1 | addr | $0 |
| DATA_SOURCE | 2 | dest | $2 |
| LOCK2 | global &static_call_mutex | ||
| LOCK2 | global &text_mutex |
arch/x86/kernel/static_call.c __static_call_transform() -> text_gen_insn()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | opcode | 233 |
| PARAM_VALUE | 1 | addr | 4096-ptr_max |
| DATA_SOURCE | 1 | addr | $0 |
| UNITS | 1 | addr | unit_byte |
| LOCK2 | global &text_mutex | ||
| HALF_LOCKED2 | global &static_call_mutex |