Searched refs:bpf_core_enum_value (Results 1 – 9 of 9) sorted by relevance
/linux-6.12.1/tools/testing/selftests/bpf/progs/ |
D | test_core_reloc_enum64val.c | 59 out->unsigned_val1 = bpf_core_enum_value(named_unsigned, UNSIGNED_ENUM64_VAL1); in test_core_enum64val() 60 out->unsigned_val2 = bpf_core_enum_value(named_unsigned, UNSIGNED_ENUM64_VAL2); in test_core_enum64val() 61 out->signed_val1 = bpf_core_enum_value(named_signed, SIGNED_ENUM64_VAL1); in test_core_enum64val() 62 out->signed_val2 = bpf_core_enum_value(named_signed, SIGNED_ENUM64_VAL2); in test_core_enum64val()
|
D | test_core_reloc_enumval.c | 60 out->named_val1 = bpf_core_enum_value(named, NAMED_ENUM_VAL1); in test_core_enumval() 61 out->named_val2 = bpf_core_enum_value(named, NAMED_ENUM_VAL2); in test_core_enumval() 64 out->anon_val1 = bpf_core_enum_value(anon, ANON_ENUM_VAL1); in test_core_enumval() 65 out->anon_val2 = bpf_core_enum_value(anon, ANON_ENUM_VAL2); in test_core_enumval()
|
D | test_tunnel_kern.c | 785 bpf_core_enum_value(enum bpf_fou_encap_type___local, in ipip_gue_set_tunnel()
|
D | profiler.inc.h | 259 int cgrp_id = bpf_core_enum_value(enum cgroup_subsys_id___local, in populate_cgroup_info()
|
/linux-6.12.1/tools/bpf/bpftool/skeleton/ |
D | pid_iter.bpf.c | 110 if (BPF_CORE_READ(link, type) == bpf_core_enum_value(enum bpf_link_type___local, in iter()
|
/linux-6.12.1/tools/perf/util/bpf_skel/ |
D | bperf_cgroup.bpf.c | 91 perf_subsys_id = bpf_core_enum_value(enum cgroup_subsys_id, in get_cgroup_v1_idx()
|
D | off_cpu.bpf.c | 130 perf_subsys_id = bpf_core_enum_value(enum cgroup_subsys_id, in get_cgroup_id()
|
D | lock_contention.bpf.c | 160 perf_subsys_id = bpf_core_enum_value(enum cgroup_subsys_id, in get_current_cgroup_id()
|
/linux-6.12.1/tools/lib/bpf/ |
D | bpf_core_read.h | 288 #define bpf_core_enum_value(enum_type, enum_value) \ macro 291 #define bpf_core_enum_value(enum_type, enum_value) \ macro
|