Searched refs:TEST_BTF (Results 1 – 1 of 1) sorted by relevance
/linux/tools/testing/selftests/bpf/progs/ |
H A D | netif_receive_skb.c | 49 #define TEST_BTF(_str, _type, _flags, _expected, ...) \ macro 85 TEST_BTF(_str, _type, _flags, "(" #_type ")" #__VA_ARGS__, \ 131 TEST_BTF(str, int, BTF_F_NONAME, "1234", 1234); in BPF_PROG() 133 TEST_BTF(str, int, 0, "(int)0", 0); in BPF_PROG() 134 TEST_BTF(str, int, BTF_F_NONAME, "0", 0); in BPF_PROG() 135 TEST_BTF(str, int, BTF_F_ZERO, "(int)0", 0); in BPF_PROG() 136 TEST_BTF(str, int, BTF_F_NONAME | BTF_F_ZERO, "0", 0); in BPF_PROG() 138 TEST_BTF(str, int, BTF_F_NONAME, "-4567", -4567); in BPF_PROG() 142 TEST_BTF(str, char, BTF_F_NONAME, "100", 100); in BPF_PROG() 144 TEST_BTF(str, char, 0, "(char)0", 0); in BPF_PROG() [all …]
|