Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

net/core/filter.c __get_filter() -> bpf_prog_size()

Type Parameter Key Value
PARAM_VALUE 0 proglen 1-4096
HARD_MAX 0 proglen 4096
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 proglen 1-4096
HALF_LOCKED2 sk

net/core/filter.c __sk_filter_charge() -> bpf_prog_size()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 proglen 1-4096[c]
UNITS 0 proglen unit_array_size
HALF_LOCKED2 rcu_read

net/core/filter.c bpf_migrate_filter() -> bpf_prog_size()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

net/core/filter.c bpf_prog_create() -> bpf_prog_size()

Type Parameter Key Value
PARAM_VALUE 0 proglen 1-4096
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 proglen 1-4096
UNITS 0 proglen unit_array_size
HALF_LOCKED2 global &ppp_mutex
HALF_LOCKED2 global &rtnl_mutex

net/core/filter.c bpf_prog_create_from_user() -> bpf_prog_size()

Type Parameter Key Value
PARAM_VALUE 0 proglen 1-4096
FUZZY_MAX 0 proglen 4096
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 proglen 1-4096

net/core/filter.c sk_filter_uncharge() -> bpf_prog_size()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 0 proglen unit_array_size

net/core/filter.c sk_reuseport_attach_bpf() -> bpf_prog_size()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
UNITS 0 proglen unit_array_size
HALF_LOCKED2 sk
HALF_LOCKED2 sk

net/core/filter.c sk_reuseport_attach_filter() -> bpf_prog_size()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 proglen 1-4096[c]
UNITS 0 proglen unit_array_size
HALF_LOCKED2 sk
HALF_LOCKED2 sk

kernel/bpf/syscall.c bpf_prog_load() -> bpf_prog_size()

Type Parameter Key Value
PARAM_VALUE 0 proglen 1-1000000
CAPPED_DATA 0 proglen 1
FUZZY_MAX 0 proglen 1000000
HARD_MAX 0 proglen 1000000

lib/test_bpf.c generate_filter() -> bpf_prog_size()

Type Parameter Key Value
DATA_SOURCE 0 proglen r filter_length
BIT_INFO 0 proglen 0x0,0x7fffffff

lib/test_bpf.c prepare_tail_call_tests() -> bpf_prog_size()

Type Parameter Key Value
PARAM_VALUE 0 proglen 0-s32max

kernel/bpf/fixups.c jit_subprogs() -> bpf_prog_size()

Type Parameter Key Value

kernel/bpf/core.c bpf_patch_insn_single() -> bpf_prog_size()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING