Defined in 1 files as a function:

Referenced in 13 files:

Smatch caller information:

net/bpf/bpf_dummy_struct_ops.c bpf_dummy_ops_check_member() -> __btf_member_bit_offset()

Type Parameter Key Value
PARAM_VALUE 0 struct_type 4096-ptr_max
PARAM_VALUE 1 member 4096-ptr_max
DATA_SOURCE 0 struct_type $0
DATA_SOURCE 1 member $1

net/ipv4/bpf_tcp_ca.c bpf_tcp_ca_init_member() -> __btf_member_bit_offset()

Type Parameter Key Value
PARAM_VALUE 0 struct_type 4096-ptr_max
PARAM_VALUE 1 member 4096-ptr_max
CAPPED_DATA 0 struct_type->size 1
DATA_SOURCE 0 struct_type $0
DATA_SOURCE 1 member $1
LOCK2 &st_map->lock
TYPE_LOCK (struct bpf_struct_ops_map)->lock

net/ipv4/bpf_tcp_ca.c prog_ops_moff() -> __btf_member_bit_offset()

Type Parameter Key Value
PARAM_VALUE 1 member 4096-ptr_max

kernel/bpf/relo_core.c btf_member_bit_offset() -> __btf_member_bit_offset()

Type Parameter Key Value
PARAM_VALUE 0 struct_type 4096-ptr_max
PARAM_VALUE 1 member 4096-ptr_max
DATA_SOURCE 0 struct_type $0

drivers/hid/bpf/hid_bpf_struct_ops.c hid_bpf_ops_check_member() -> __btf_member_bit_offset()

Type Parameter Key Value
PARAM_VALUE 0 struct_type 4096-ptr_max
PARAM_VALUE 1 member 4096-ptr_max
DATA_SOURCE 0 struct_type $0
DATA_SOURCE 1 member $1

drivers/hid/bpf/hid_bpf_struct_ops.c hid_bpf_ops_init_member() -> __btf_member_bit_offset()

Type Parameter Key Value
PARAM_VALUE 0 struct_type 4096-ptr_max
PARAM_VALUE 1 member 4096-ptr_max
CAPPED_DATA 0 struct_type->size 1
DATA_SOURCE 0 struct_type $0
DATA_SOURCE 1 member $1
LOCK2 &st_map->lock
TYPE_LOCK (struct bpf_struct_ops_map)->lock

kernel/bpf/btf.c __btf_struct_show() -> __btf_member_bit_offset()

Type Parameter Key Value
PARAM_VALUE 0 struct_type 4096-ptr_max
PARAM_VALUE 1 member 4096-ptr_max
DATA_SOURCE 0 struct_type $1
RX_PATH
TASK_NOT_RUNNING

kernel/bpf/btf.c btf_find_struct_field() -> __btf_member_bit_offset()

Type Parameter Key Value
PARAM_VALUE 0 struct_type 4096-ptr_max
PARAM_VALUE 1 member 4096-ptr_max
CAPPED_DATA 0 struct_type 1
DATA_SOURCE 0 struct_type $1

kernel/bpf/btf.c btf_parse_graph_root() -> __btf_member_bit_offset()

Type Parameter Key Value
PARAM_VALUE 0 struct_type 4096-ptr_max
PARAM_VALUE 1 member 4096-ptr_max
DATA_SOURCE 0 struct_type r btf_type_by_id

kernel/bpf/btf.c btf_struct_check_meta() -> __btf_member_bit_offset()

Type Parameter Key Value
PARAM_VALUE 0 struct_type 4096-18446744073709547519
PARAM_VALUE 1 member 4096-ptr_max
CAPPED_DATA 0 struct_type->name_off 1
CAPPED_DATA 1 member->name_off 1
DATA_SOURCE 0 struct_type $1

kernel/bpf/btf.c btf_struct_walk() -> __btf_member_bit_offset()

Type Parameter Key Value
PARAM_VALUE 0 struct_type 4096-ptr_max
PARAM_VALUE 1 member 4096-ptr_max
CAPPED_DATA 0 struct_type->size 1
DATA_SOURCE 0 struct_type $2 [m]

kernel/bpf/btf.c btf_struct_walk() -> __btf_member_bit_offset()

Type Parameter Key Value
PARAM_VALUE 0 struct_type 4096-ptr_max
DATA_SOURCE 0 struct_type $2 [m]

kernel/bpf/btf.c btf_struct_walk() -> __btf_member_bit_offset()

Type Parameter Key Value
PARAM_VALUE 0 struct_type 4096-ptr_max
PARAM_VALUE 1 member 4096-ptr_max
DATA_SOURCE 0 struct_type $2 [m]

net/smc/smc_hs_bpf.c smc_bpf_hs_ctrl_init_member() -> __btf_member_bit_offset()

Type Parameter Key Value
PARAM_VALUE 0 struct_type 4096-ptr_max
PARAM_VALUE 1 member 4096-ptr_max
CAPPED_DATA 0 struct_type->size 1
DATA_SOURCE 0 struct_type $0
DATA_SOURCE 1 member $1
LOCK2 &st_map->lock
TYPE_LOCK (struct bpf_struct_ops_map)->lock

kernel/bpf/verifier.c check_struct_ops_btf_id() -> __btf_member_bit_offset()

Type Parameter Key Value
PARAM_VALUE 0 struct_type 4096-ptr_max
PARAM_VALUE 1 member 4096-ptr_max

kernel/bpf/bpf_struct_ops.c bpf_struct_ops_desc_init() -> __btf_member_bit_offset()

Type Parameter Key Value
PARAM_VALUE 0 struct_type 4096-ptr_max
CAPPED_DATA 0 struct_type 1
DATA_SOURCE 0 struct_type r btf_type_by_id

kernel/bpf/bpf_struct_ops.c bpf_struct_ops_map_update_elem() -> __btf_member_bit_offset()

Type Parameter Key Value
PARAM_VALUE 0 struct_type 4096-ptr_max
CAPPED_DATA 0 struct_type->size 1
LOCK2 &st_map->lock
TYPE_LOCK (struct bpf_struct_ops_map)->lock

kernel/bpf/bpf_struct_ops.c check_zero_holes() -> __btf_member_bit_offset()

Type Parameter Key Value
PARAM_VALUE 0 struct_type 4096-ptr_max
PARAM_VALUE 1 member 4096-u64max
DATA_SOURCE 0 struct_type $1