Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

kernel/bpf/stackmap.c prealloc_elems_and_freelist() -> pcpu_freelist_populate()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 0 s->freelist 4096-ptr_max
PARAM_VALUE 1 buf 1-u64max
BUF_SIZE 1 buf (-1)-s32max
BUF_SIZE 1 buf (-1)-s32max
DATA_SOURCE 1 buf r bpf_map_area_alloc
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 3 nr_elems
UNITS 2 elem_size unit_byte
UNITS 3 nr_elems unit_byte

kernel/bpf/hashtab.c prealloc_init() -> pcpu_freelist_populate()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 0 s->freelist 4096-ptr_max
PARAM_VALUE 1 buf 4096-ptr_max
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 3 nr_elems
UNITS 2 elem_size unit_byte
UNITS 3 nr_elems unit_byte