Defined in 1 files as a function:
Referenced in 13 files:
- drivers/hid/bpf/hid_bpf_struct_ops.c
- fs/binfmt_misc_bpf.c
- include/linux/btf.h, line 465
- io_uring/bpf-ops.c, line 150
- kernel/bpf/bpf_struct_ops.c
- kernel/bpf/btf.c
- kernel/bpf/verifier.c, line 18744
- kernel/sched/ext/ext.c
- net/bpf/bpf_dummy_struct_ops.c, line 223
- net/ipv4/bpf_tcp_ca.c
- net/sched/bpf_qdisc.c, line 372
- net/smc/smc_hs_bpf.c, line 96
- tools/testing/selftests/bpf/test_kmods/bpf_testmod.c, line 1707
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 |