Defined in 1 files as a prototype:

Defined in 7 files as a function:

Referenced in 1 files:

Smatch caller information:

kernel/bpf/trampoline.c __bpf_trampoline_link_prog() -> bpf_arch_text_poke()

Type Parameter Key Value
PARAM_VALUE 1 old_t 0
PARAM_VALUE 2 new_t 2
PARAM_VALUE 3 old_addr 0
HALF_LOCKED2 &prog->aux->dst_mutex
HALF_LOCKED2 global &cgroup_mutex

kernel/bpf/trampoline.c __bpf_trampoline_unlink_prog() -> bpf_arch_text_poke()

Type Parameter Key Value
PARAM_VALUE 1 old_t 2
PARAM_VALUE 2 new_t 0
PARAM_VALUE 4 new_addr 0
CONTAINER 3 *(-72-112+32+64) $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

kernel/bpf/trampoline.c bpf_tramp_image_put() -> bpf_arch_text_poke()

Type Parameter Key Value
PARAM_VALUE 0 ip 1-u64max
PARAM_VALUE 1 old_t 0
PARAM_VALUE 2 new_t 2
PARAM_VALUE 3 old_addr 0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ip unit_byte
UNITS 4 new_addr unit_byte

kernel/bpf/trampoline.c bpf_trampoline_update_fentry() -> bpf_arch_text_poke()

Type Parameter Key Value
PARAM_VALUE 1 old_t 0-2
PARAM_VALUE 2 new_t 0-2
DATA_SOURCE 3 old_addr $2
DATA_SOURCE 4 new_addr $3
FUZZY_MAX 1 old_t 2
FUZZY_MAX 2 new_t 2
HARD_MAX 1 old_t 2
HARD_MAX 2 new_t 2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &direct_mutex