Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

arch/x86/kernel/callthunks.c is_callthunk() -> text_poke_apply_relocation()

Type Parameter Key Value
PARAM_VALUE 0 buf 5422610560075907072
PARAM_VALUE 1 instr 0-1024057137484095487,1024057137484095489-1259940559798476799,18446744071634632704-u64max
PARAM_VALUE 2 instrlen 2074918912
PARAM_VALUE 3 repl 804644678036574208
PARAM_VALUE 4 repl_len 2074918912
BUF_SIZE 0 buf 254
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

arch/x86/kernel/callthunks.c patch_dest() -> text_poke_apply_relocation()

Type Parameter Key Value
PARAM_VALUE 0 buf 6737543851529076736
PARAM_VALUE 2 instrlen 2074918912
PARAM_VALUE 3 repl 804644678036574208
PARAM_VALUE 4 repl_len 2074918912
BUF_SIZE 0 buf 254
NOCHECK_CALL
LOCK2 global &text_mutex
HALF_LOCKED2 global &static_call_mutex

arch/x86/kernel/callthunks.c x86_call_depth_emit_accounting() -> text_poke_apply_relocation()

Type Parameter Key Value
PARAM_VALUE 0 buf 376872828399796224
PARAM_VALUE 1 instr 1-u64max
PARAM_VALUE 2 instrlen 2074918912
PARAM_VALUE 3 repl 804644678036574208
PARAM_VALUE 4 repl_len 2074918912
BUF_SIZE 0 buf 254
DATA_SOURCE 1 instr $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 instr unit_byte

arch/x86/kernel/ftrace.c create_trampoline() -> text_poke_apply_relocation()

Type Parameter Key Value
PARAM_VALUE 0 buf 1-u64max
PARAM_VALUE 1 instr 1-u64max
PARAM_VALUE 2 instrlen 1881537098489593856,2128908986754379776,7579883658128785408,7827255546393571328
PARAM_VALUE 3 repl 1006226613209919488,6704573172849111040
PARAM_VALUE 4 repl_len 1881537098489593856,2128908986754379776,7579883658128785408,7827255546393571328
DATA_SOURCE 0 buf r alloc_tramp
DATA_SOURCE 1 instr r alloc_tramp
BIT_INFO 3 repl 0xd0245c60248f000,0x5dfffdc743ebf000
BIT_INFO 3 repl 0xd0245c60248f000,0x5dfffdc743ebf000
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &ftrace_lock