Home
last modified time | relevance | path

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

/Linux-v6.6/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()
Dprofiler.inc.h261 int cgrp_id = bpf_core_enum_value(enum cgroup_subsys_id___local, in populate_cgroup_info()
/Linux-v6.6/tools/bpf/bpftool/skeleton/
Dpid_iter.bpf.c105 if (link->type == bpf_core_enum_value(enum bpf_link_type___local, in iter()
/Linux-v6.6/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.c129 perf_subsys_id = bpf_core_enum_value(enum cgroup_subsys_id, in get_cgroup_id()
/Linux-v6.6/tools/lib/bpf/
Dbpf_core_read.h226 #define bpf_core_enum_value(enum_type, enum_value) \ macro