Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

kernel/bpf/liveness.c alloc_frame_masks() -> get_frame_masks()

Type Parameter Key Value
PARAM_VALUE 0 instance 4096-ptr_max
PARAM_VALUE 0 instance->frames 4096-ptr_max
PARAM_VALUE 1 frame 0-s32max
BUF_SIZE 0 instance (-1),176
BUF_SIZE 0 instance (-1),176
CAPPED_DATA 1 frame 1
DATA_SOURCE 0 instance $0
DATA_SOURCE 1 frame $1
DATA_SOURCE 2 insn_idx $2
NO_OVERFLOW_SIMPLE 0 instance->insn_cnt
UNITS 2 insn_idx unit_array_size

kernel/bpf/liveness.c analyze_subprog() -> get_frame_masks()

Type Parameter Key Value
PARAM_VALUE 0 instance 4096-ptr_max
PARAM_VALUE 1 frame 0-2147483645
BUF_SIZE 0 instance (-1),176
BUF_SIZE 0 instance (-1),176
CAPPED_DATA 0 instance 1
CAPPED_DATA 1 frame 1
DATA_SOURCE 0 instance r call_instance
PARAM_COMPARE 0 instance->depth > $1
PARAM_COMPARE 1 frame < $0->depth
UNITS 2 insn_idx unit_array_size

kernel/bpf/liveness.c is_live_before() -> get_frame_masks()

Type Parameter Key Value
PARAM_VALUE 0 instance 4096-ptr_max
CAPPED_DATA 1 frame 1
DATA_SOURCE 0 instance $0
DATA_SOURCE 1 frame $2
DATA_SOURCE 2 insn_idx $1
UNITS 2 insn_idx unit_array_size

kernel/bpf/liveness.c print_instance() -> get_frame_masks()

Type Parameter Key Value
PARAM_VALUE 0 instance 4096-ptr_max
PARAM_VALUE 1 frame 0-s32max
DATA_SOURCE 0 instance $1

kernel/bpf/liveness.c print_instance() -> get_frame_masks()

Type Parameter Key Value
PARAM_VALUE 0 instance 4096-ptr_max
PARAM_VALUE 1 frame 0-s32max
DATA_SOURCE 0 instance $1

kernel/bpf/liveness.c update_insn() -> get_frame_masks()

Type Parameter Key Value
PARAM_VALUE 0 instance 4096-ptr_max
PARAM_VALUE 0 instance->frames 4096-ptr_max
BUF_SIZE 0 instance (-1),176
BUF_SIZE 0 instance (-1),176
CAPPED_DATA 1 frame 1
DATA_SOURCE 0 instance $1
DATA_SOURCE 1 frame $2
DATA_SOURCE 2 insn_idx $3

kernel/bpf/liveness.c update_insn() -> get_frame_masks()

Type Parameter Key Value
PARAM_VALUE 0 instance 4096-ptr_max
PARAM_VALUE 0 instance->frames 4096-ptr_max
BUF_SIZE 0 instance (-1),176
BUF_SIZE 0 instance (-1),176
CAPPED_DATA 1 frame 1
DATA_SOURCE 0 instance $1
DATA_SOURCE 1 frame $2