Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 4 files as a member:

Defined in 2 files as a function:

Referenced in 19 files:

Smatch caller information:

arch/x86/kernel/kprobes/core.c arch_arm_kprobe() -> text_poke()

Type Parameter Key Value
PARAM_VALUE 1 opcode 6966713668101435392
PARAM_VALUE 1 *opcode 204
PARAM_VALUE 2 len 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 addr unit_byte
LOCK2 _T->lock

arch/x86/kernel/kprobes/core.c arch_copy_kprobe() -> text_poke()

Type Parameter Key Value
PARAM_VALUE 0 addr 1-u64max
PARAM_VALUE 1 opcode 1894839125929943040
PARAM_VALUE 1 *opcode 204
PARAM_VALUE 2 len 1
BUF_SIZE 1 opcode 15
DATA_SOURCE 2 len r prepare_singlestep
NOCHECK_CALL
UNITS 0 addr unit_byte
LOCK2 _T->lock
HALF_LOCKED2 global &fei_lock
HALF_LOCKED2 global &jump_label_mutex

arch/x86/kernel/kprobes/core.c arch_disarm_kprobe() -> text_poke()

Type Parameter Key Value
PARAM_VALUE 1 opcode 4096-ptr_max
PARAM_VALUE 2 len 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 addr unit_byte
LOCK2 _T->lock

arch/x86/kernel/alternative.c smp_text_poke_batch_finish() -> text_poke()

Type Parameter Key Value
PARAM_VALUE 1 opcode 1441565823457382400
PARAM_VALUE 1 *opcode 204
PARAM_VALUE 2 len 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &text_mutex

arch/x86/kernel/alternative.c smp_text_poke_batch_finish() -> text_poke()

Type Parameter Key Value
PARAM_VALUE 0 addr 4096-ptr_max
PARAM_VALUE 1 opcode 4096-ptr_max
PARAM_VALUE 1 *opcode 0-255
PARAM_VALUE 2 len 1-254
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &text_mutex

arch/x86/kernel/alternative.c smp_text_poke_batch_finish() -> text_poke()

Type Parameter Key Value
PARAM_VALUE 1 opcode 939232219668111360
PARAM_VALUE 1 *opcode 0-203,205-255
PARAM_VALUE 2 len 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &text_mutex

arch/x86/kernel/kprobes/opt.c arch_prepare_optimized_kprobe() -> text_poke()

Type Parameter Key Value
PARAM_VALUE 0 addr 1-u64max
PARAM_VALUE 1 opcode 1-u64max
PARAM_VALUE 2 len 0-s32max,18446744071562067968-u64max
BUF_SIZE 1 opcode 14469531162308055064
DATA_SOURCE 0 addr r get_optinsn_slot
DATA_SOURCE 1 opcode r _kzalloc_noprof
NOCHECK_CALL
UNITS 0 addr unit_byte
LOCK2 _T->lock
LOCK2 global &jump_label_mutex
HALF_LOCKED2 global &fei_lock

arch/x86/kernel/kprobes/opt.c arch_unoptimize_kprobe() -> text_poke()

Type Parameter Key Value
PARAM_VALUE 1 opcode 4096-ptr_max
PARAM_VALUE 2 len 1
BUF_SIZE 1 opcode 5
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 addr unit_byte
LOCK2 _T->lock

arch/x86/kernel/kprobes/opt.c arch_unoptimize_kprobe() -> text_poke()

Type Parameter Key Value
PARAM_VALUE 0 addr 4096-ptr_max
PARAM_VALUE 0 *addr 0-255
PARAM_VALUE 1 opcode 6662974668361564161
PARAM_VALUE 1 *opcode 0-255
PARAM_VALUE 2 len 4
BUF_SIZE 1 opcode 4
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 addr unit_byte
LOCK2 _T->lock

arch/x86/kernel/module.c __write_relocate_add() -> __write_relocate_add param 5()

Type Parameter Key Value
PARAM_VALUE 0 addr 4096-ptr_max
PARAM_VALUE 1 opcode 4096-ptr_max
PARAM_VALUE 2 len 4,8
BUF_SIZE 1 opcode 8
CAPPED_DATA 2 len 1
CAPPED_DATA 2 len 1
FUZZY_MAX 2 len 8
BIT_INFO 2 len 0x0,0xc
BIT_INFO 2 len 0x0,0xc
HARD_MAX 2 len 8
NOCHECK_CALL
UNITS 0 addr unit_byte
HALF_LOCKED2 global &text_mutex

arch/x86/kernel/module.c __write_relocate_add() -> __write_relocate_add param 5()

Type Parameter Key Value
PARAM_VALUE 0 addr 4096-ptr_max
PARAM_VALUE 1 opcode 5806169824584171520
PARAM_VALUE 1 *opcode 0
PARAM_VALUE 2 len 4,8
BUF_SIZE 1 opcode 8
CAPPED_DATA 2 len 1
CAPPED_DATA 2 len 1
FUZZY_MAX 2 len 8
BIT_INFO 2 len 0x0,0xc
BIT_INFO 2 len 0x0,0xc
HARD_MAX 2 len 8
NOCHECK_CALL
UNITS 0 addr unit_byte
HALF_LOCKED2 global &text_mutex