Home
last modified time | relevance | path

Searched refs:bpf_core_enum_value_exists (Results 1 – 5 of 5) sorted by relevance

/linux/tools/testing/selftests/bpf/progs/
H A Dtest_core_reloc_enum64val.c52 out->unsigned_val1_exists = bpf_core_enum_value_exists(named_unsigned, UNSIGNED_ENUM64_VAL1); in test_core_enum64val()
53 …out->unsigned_val2_exists = bpf_core_enum_value_exists(enum named_unsigned_enum64, UNSIGNED_ENUM64… in test_core_enum64val()
54 …out->unsigned_val3_exists = bpf_core_enum_value_exists(enum named_unsigned_enum64, UNSIGNED_ENUM64… in test_core_enum64val()
55 out->signed_val1_exists = bpf_core_enum_value_exists(named_signed, SIGNED_ENUM64_VAL1); in test_core_enum64val()
56 out->signed_val2_exists = bpf_core_enum_value_exists(enum named_signed_enum64, SIGNED_ENUM64_VAL2); in test_core_enum64val()
57 out->signed_val3_exists = bpf_core_enum_value_exists(enum named_signed_enum64, SIGNED_ENUM64_VAL3); in test_core_enum64val()
H A Dtest_core_reloc_enumval.c52 out->named_val1_exists = bpf_core_enum_value_exists(named, NAMED_ENUM_VAL1); in test_core_enumval()
53 out->named_val2_exists = bpf_core_enum_value_exists(enum named_enum, NAMED_ENUM_VAL2); in test_core_enumval()
54 out->named_val3_exists = bpf_core_enum_value_exists(enum named_enum, NAMED_ENUM_VAL3); in test_core_enumval()
56 out->anon_val1_exists = bpf_core_enum_value_exists(anon, ANON_ENUM_VAL1); in test_core_enumval()
57 out->anon_val2_exists = bpf_core_enum_value_exists(anon_enum, ANON_ENUM_VAL2); in test_core_enumval()
58 out->anon_val3_exists = bpf_core_enum_value_exists(anon_enum, ANON_ENUM_VAL3); in test_core_enumval()
/linux/tools/bpf/bpftool/skeleton/
H A Dpid_iter.bpf.c106 bpf_core_enum_value_exists(enum bpf_link_type___local, in iter()
/linux/tools/sched_ext/include/scx/
H A Dcompat.bpf.h13 if (bpf_core_enum_value_exists(__type, __ent)) \
/linux/tools/lib/bpf/
H A Dbpf_core_read.h272 #define bpf_core_enum_value_exists(enum_type, enum_value) \ macro
275 #define bpf_core_enum_value_exists(enum_type, enum_value) \ macro