Home
last modified time | relevance | path

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

/tools/testing/selftests/bpf/progs/
Dnetif_receive_skb.c98 static __u64 flags[] = { 0, BTF_F_COMPACT, BTF_F_ZERO, BTF_F_PTR_RAW, in BPF_PROG()
99 BTF_F_NONAME, BTF_F_COMPACT | BTF_F_ZERO | in BPF_PROG()
139 TEST_BTF(str, int, BTF_F_ZERO, "(int)0", 0); in BPF_PROG()
140 TEST_BTF(str, int, BTF_F_NONAME | BTF_F_ZERO, "0", 0); in BPF_PROG()
150 TEST_BTF(str, char, BTF_F_ZERO, "(char)0", 0); in BPF_PROG()
151 TEST_BTF(str, char, BTF_F_NONAME | BTF_F_ZERO, "0", 0); in BPF_PROG()
159 TEST_BTF(str, u64, BTF_F_ZERO, "(u64)0", 0); in BPF_PROG()
160 TEST_BTF(str, u64, BTF_F_NONAME|BTF_F_ZERO, "0", 0); in BPF_PROG()
168 TEST_BTF(str, atomic_t, BTF_F_ZERO, "(atomic_t){.counter = (int)0,}", in BPF_PROG()
170 TEST_BTF(str, atomic_t, BTF_F_NONAME|BTF_F_ZERO, in BPF_PROG()
[all …]
Dbtf_ptr.h8 #define BTF_F_ZERO BTF_F_ZERO___not_used macro
14 #undef BTF_F_ZERO
26 BTF_F_ZERO = (1ULL << 3), enumerator
Dbpf_iter.h23 #define BTF_F_ZERO BTF_F_ZERO___not_used macro
44 #undef BTF_F_ZERO
145 BTF_F_ZERO = (1ULL << 3), enumerator
/tools/testing/selftests/bpf/prog_tests/
Dbtf_dump.c259 if (flags & BTF_F_ZERO) in btf_dump_data()
348 TEST_BTF_DUMP_DATA(btf, d, NULL, str, int, BTF_F_COMPACT | BTF_F_ZERO, in test_btf_dump_int_data()
351 BTF_F_COMPACT | BTF_F_NONAME | BTF_F_ZERO, in test_btf_dump_int_data()
428 TEST_BTF_DUMP_DATA(btf, d, NULL, str, char, BTF_F_COMPACT | BTF_F_ZERO, in test_btf_dump_char_data()
430 TEST_BTF_DUMP_DATA(btf, d, NULL, str, char, BTF_F_COMPACT | BTF_F_NONAME | BTF_F_ZERO, in test_btf_dump_char_data()
449 TEST_BTF_DUMP_DATA(btf, d, NULL, str, u64, BTF_F_COMPACT | BTF_F_ZERO, in test_btf_dump_typedef_data()
452 BTF_F_COMPACT | BTF_F_NONAME | BTF_F_ZERO, in test_btf_dump_typedef_data()
475 TEST_BTF_DUMP_DATA(btf, d, NULL, str, atomic_t, BTF_F_COMPACT | BTF_F_ZERO, in test_btf_dump_typedef_data()
479 BTF_F_COMPACT | BTF_F_NONAME | BTF_F_ZERO, in test_btf_dump_typedef_data()
481 TEST_BTF_DUMP_DATA(btf, d, NULL, str, atomic_t, BTF_F_ZERO, in test_btf_dump_typedef_data()
[all …]
/tools/include/uapi/linux/
Dbpf.h6264 BTF_F_ZERO = (1ULL << 3), enumerator