Defined in 1 files as a function:
Referenced in 5 files:
- include/linux/btf.h, line 253
- kernel/bpf/bpf_struct_ops.c, line 103
- kernel/bpf/btf.c
- kernel/bpf/verifier.c, line 18734
- net/ipv4/bpf_tcp_ca.c, line 146
Smatch caller information:
net/ipv4/bpf_tcp_ca.c prog_ops_moff() -> btf_type_member()
| Type | Parameter | Key | Value |
|---|
kernel/bpf/btf.c __btf_struct_show() -> btf_type_member()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| DATA_SOURCE | 0 | t | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
kernel/bpf/btf.c btf_find_struct_field() -> btf_type_member()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| DATA_SOURCE | 0 | t | $1 |
kernel/bpf/btf.c btf_nested_type_is_trusted() -> btf_type_member()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 1-u64max |
| DATA_SOURCE | 0 | t | r btf_type_by_id |
kernel/bpf/btf.c btf_parse_graph_root() -> btf_type_member()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | t | r btf_type_by_id |
kernel/bpf/btf.c btf_parse_struct_metas() -> btf_type_member()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| DATA_SOURCE | 0 | t | r btf_type_by_id |
kernel/bpf/btf.c btf_struct_check_meta() -> btf_type_member()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-18446744073709547519 |
| CAPPED_DATA | 0 | t->name_off | 1 |
| DATA_SOURCE | 0 | t | $1 |
kernel/bpf/btf.c btf_struct_resolve() -> btf_type_member()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
kernel/bpf/btf.c btf_struct_resolve() -> btf_type_member()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
kernel/bpf/btf.c btf_struct_walk() -> btf_type_member()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| CAPPED_DATA | 0 | t->size | 1 |
| DATA_SOURCE | 0 | t | $2 [m] |
kernel/bpf/btf.c btf_struct_walk() -> btf_type_member()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| DATA_SOURCE | 0 | t | $2 [m] |
kernel/bpf/btf.c find_canonical_prog_ctx_type() -> btf_type_member()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 1-u64max |
kernel/bpf/btf.c find_kern_ctx_type_id() -> btf_type_member()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 1-u64max |
kernel/bpf/btf.c get_kern_ctx_btf_id() -> btf_type_member()
| Type | Parameter | Key | Value |
|---|
kernel/bpf/verifier.c __btf_type_is_scalar_struct() -> btf_type_member()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| DATA_SOURCE | 0 | t | $2 |
kernel/bpf/verifier.c check_struct_ops_btf_id() -> btf_type_member()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
kernel/bpf/bpf_struct_ops.c bpf_struct_ops_desc_init() -> btf_type_member()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| CAPPED_DATA | 0 | t | 1 |
| DATA_SOURCE | 0 | t | r btf_type_by_id |
kernel/bpf/bpf_struct_ops.c bpf_struct_ops_map_update_elem() -> btf_type_member()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| CAPPED_DATA | 0 | t->size | 1 |
| LOCK2 | &st_map->lock | ||
| TYPE_LOCK | (struct bpf_struct_ops_map)->lock |
kernel/bpf/bpf_struct_ops.c check_zero_holes() -> btf_type_member()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | t | $1 |
kernel/bpf/bpf_struct_ops.c count_func_ptrs() -> btf_type_member()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | t | $1 |
kernel/bpf/bpf_struct_ops.c is_valid_value_type() -> btf_type_member()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| DATA_SOURCE | 0 | t | r btf_type_by_id |