Searched refs:TEST_BTF (Results 1 – 1 of 1) sorted by relevance
/linux-6.1.9/tools/testing/selftests/bpf/progs/ |
D | netif_receive_skb.c | 52 #define TEST_BTF(_str, _type, _flags, _expected, ...) \ macro 89 TEST_BTF(_str, _type, _flags, "(" #_type ")" #__VA_ARGS__, \ 135 TEST_BTF(str, int, BTF_F_NONAME, "1234", 1234); in BPF_PROG() 137 TEST_BTF(str, int, 0, "(int)0", 0); in BPF_PROG() 138 TEST_BTF(str, int, BTF_F_NONAME, "0", 0); 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() 142 TEST_BTF(str, int, BTF_F_NONAME, "-4567", -4567); in BPF_PROG() 146 TEST_BTF(str, char, BTF_F_NONAME, "100", 100); in BPF_PROG() 148 TEST_BTF(str, char, 0, "(char)0", 0); in BPF_PROG() [all …]
|