Defined in 1 files as a function:
Referenced in 5 files:
- include/linux/btf.h, line 611
- kernel/bpf/bpf_struct_ops.c, line 263
- kernel/bpf/btf.c
- kernel/bpf/verifier.c
- kernel/trace/trace_btf.c, line 86
Smatch caller information:
kernel/bpf/btf.c __get_type_size() -> btf_type_is_struct()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
kernel/bpf/btf.c btf_check_func_type_match() -> btf_type_is_struct()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| DATA_SOURCE | 0 | t | r btf_type_skip_modifiers |
kernel/bpf/btf.c btf_check_func_type_match() -> btf_type_is_struct()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| DATA_SOURCE | 0 | t | r btf_type_skip_modifiers |
kernel/bpf/btf.c btf_ctx_access() -> btf_type_is_struct()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
kernel/bpf/btf.c btf_ctx_access() -> btf_type_is_struct()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
kernel/bpf/btf.c btf_decl_tag_resolve() -> btf_type_is_struct()
| 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_distill_func_proto() -> btf_type_is_struct()
| Type | Parameter | Key | Value |
|---|
kernel/bpf/btf.c btf_is_dynptr_ptr() -> btf_type_is_struct()
| 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_is_prog_ctx_type() -> btf_type_is_struct()
| 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_prepare_func_args() -> btf_type_is_struct()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | t | r btf_type_by_id |
kernel/bpf/btf.c btf_resolve_valid() -> btf_type_is_struct()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| DATA_SOURCE | 0 | t | $1 |
kernel/bpf/btf.c btf_struct_walk() -> btf_type_is_struct()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| DATA_SOURCE | 0 | t | $2 [m] |
kernel/bpf/btf.c btf_struct_walk() -> btf_type_is_struct()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| DATA_SOURCE | 0 | t | r btf_type_skip_modifiers |
kernel/bpf/btf.c btf_struct_walk() -> btf_type_is_struct()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
kernel/bpf/btf.c btf_struct_walk() -> btf_type_is_struct()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
kernel/bpf/btf.c btf_type_is_decl_tag_target() -> btf_type_is_struct()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| DATA_SOURCE | 0 | t | $0 |
kernel/bpf/btf.c btf_type_is_struct_ptr() -> btf_type_is_struct()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| DATA_SOURCE | 0 | t | r btf_type_skip_modifiers |
kernel/bpf/btf.c btf_type_needs_resolve() -> btf_type_is_struct()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| DATA_SOURCE | 0 | t | $0 |
kernel/bpf/btf.c env_stack_push() -> btf_type_is_struct()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| DATA_SOURCE | 0 | t | $1 |
kernel/bpf/btf.c env_type_is_resolve_sink() -> btf_type_is_struct()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| DATA_SOURCE | 0 | t | $1 |
kernel/bpf/btf.c get_kern_ctx_btf_id() -> btf_type_is_struct()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | t | r btf_type_by_id |
kernel/bpf/verifier.c __btf_type_is_scalar_struct() -> btf_type_is_struct()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| DATA_SOURCE | 0 | t | $2 |
kernel/bpf/verifier.c __btf_type_is_scalar_struct() -> btf_type_is_struct()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| DATA_SOURCE | 0 | t | r btf_type_skip_modifiers |
kernel/bpf/verifier.c __check_pseudo_btf_id() -> btf_type_is_struct()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| DATA_SOURCE | 0 | t | r btf_type_skip_modifiers |
kernel/bpf/verifier.c btf_type_is_struct_ptr() -> btf_type_is_struct()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| DATA_SOURCE | 0 | t | r btf_type_skip_modifiers |
kernel/bpf/verifier.c check_helper_call() -> btf_type_is_struct()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 1-u64max |
| DATA_SOURCE | 0 | t | r btf_type_by_id |
kernel/bpf/verifier.c check_helper_call() -> btf_type_is_struct()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| DATA_SOURCE | 0 | t | r btf_type_skip_modifiers |
kernel/bpf/verifier.c check_special_kfunc() -> btf_type_is_struct()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 1-u64max |
| DATA_SOURCE | 0 | t | r btf_type_by_id |
kernel/bpf/verifier.c get_kfunc_arg_type() -> btf_type_is_struct()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| DATA_SOURCE | 0 | t | r btf_type_skip_modifiers |
kernel/bpf/bpf_struct_ops.c prepare_arg_info() -> btf_type_is_struct()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| DATA_SOURCE | 0 | t | r btf_type_resolve_ptr |