Defined in 2 files as a function:
Referenced in 8 files:
- include/linux/btf.h
- kernel/bpf/btf.c
- kernel/bpf/check_btf.c, line 188
- tools/lib/bpf/btf.c
- tools/lib/bpf/btf.h
- tools/lib/bpf/libbpf.c, line 12566
- tools/lib/bpf/relo_core.c
- tools/testing/selftests/bpf/veristat.c
Smatch caller information:
kernel/bpf/relo_core.c __bpf_core_types_match() -> btf_is_any_enum()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| DATA_SOURCE | 0 | t | r skip_mods_and_typedefs |
kernel/bpf/relo_core.c bpf_core_calc_field_relo() -> btf_is_any_enum()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| DATA_SOURCE | 0 | t | r skip_mods_and_typedefs |
| HALF_LOCKED2 | global &cand_cache_mutex |
kernel/bpf/relo_core.c bpf_core_parse_spec() -> btf_is_any_enum()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| DATA_SOURCE | 0 | t | r skip_mods_and_typedefs |
| HALF_LOCKED2 | global &cand_cache_mutex |
kernel/bpf/relo_core.c bpf_core_spec_match() -> btf_is_any_enum()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| DATA_SOURCE | 0 | t | r skip_mods_and_typedefs |
| HALF_LOCKED2 | global &cand_cache_mutex |
kernel/bpf/relo_core.c btf_kind_core_compat() -> btf_is_any_enum()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| DATA_SOURCE | 0 | t | $0 |
kernel/bpf/relo_core.c btf_kind_core_compat() -> btf_is_any_enum()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| DATA_SOURCE | 0 | t | $1 |
kernel/bpf/btf.c __get_type_size() -> btf_is_any_enum()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
kernel/bpf/btf.c btf_check_func_type_match() -> btf_is_any_enum()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| CAPPED_DATA | 0 | t->info | 1 |
| DATA_SOURCE | 0 | t | r btf_type_skip_modifiers |
kernel/bpf/btf.c btf_ctx_access() -> btf_is_any_enum()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
kernel/bpf/btf.c btf_prepare_func_args() -> btf_is_any_enum()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
kernel/bpf/btf.c btf_type_is_primitive() -> btf_is_any_enum()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-2875726118925660159,2875726118925660161-ptr_max |
| DATA_SOURCE | 0 | t | $0 |
kernel/bpf/btf.c btf_validate_return_type() -> btf_is_any_enum()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-2875726118925660159,2875726118925660161-ptr_max |
| DATA_SOURCE | 0 | t | r btf_type_skip_modifiers |
kernel/bpf/check_btf.c check_btf_func() -> btf_is_any_enum()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| DATA_SOURCE | 0 | t | r btf_type_skip_modifiers |