Home
last modified time | relevance | path

Searched refs:bpf_core_enum_value (Results 1 – 9 of 9) sorted by relevance

/linux-6.12.1/tools/testing/selftests/bpf/progs/
Dtest_core_reloc_enum64val.c59 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()
Dtest_core_reloc_enumval.c60 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()
Dtest_tunnel_kern.c785 bpf_core_enum_value(enum bpf_fou_encap_type___local, in ipip_gue_set_tunnel()
Dprofiler.inc.h259 int cgrp_id = bpf_core_enum_value(enum cgroup_subsys_id___local, in populate_cgroup_info()
/linux-6.12.1/tools/bpf/bpftool/skeleton/
Dpid_iter.bpf.c110 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/
Dbperf_cgroup.bpf.c91 perf_subsys_id = bpf_core_enum_value(enum cgroup_subsys_id, in get_cgroup_v1_idx()
Doff_cpu.bpf.c130 perf_subsys_id = bpf_core_enum_value(enum cgroup_subsys_id, in get_cgroup_id()
Dlock_contention.bpf.c160 perf_subsys_id = bpf_core_enum_value(enum cgroup_subsys_id, in get_current_cgroup_id()
/linux-6.12.1/tools/lib/bpf/
Dbpf_core_read.h288 #define bpf_core_enum_value(enum_type, enum_value) \ macro
291 #define bpf_core_enum_value(enum_type, enum_value) \ macro