Lines Matching refs:NAME
62 # define __section(NAME) \ argument
63 __attribute__((section(NAME), used))
94 # define BPF_LICENSE(NAME) \ argument
95 char ____license[] __section_license = NAME
99 # define __BPF_MAP(NAME, TYPE, ID, SIZE_KEY, SIZE_VALUE, PIN, MAX_ELEM) \ argument
100 struct bpf_elf_map __section_maps NAME = { \
111 # define BPF_HASH(NAME, ID, SIZE_KEY, SIZE_VALUE, PIN, MAX_ELEM) \ argument
112 __BPF_MAP(NAME, BPF_MAP_TYPE_HASH, ID, SIZE_KEY, SIZE_VALUE, \
117 # define BPF_ARRAY(NAME, ID, SIZE_VALUE, PIN, MAX_ELEM) \ argument
118 __BPF_MAP(NAME, BPF_MAP_TYPE_ARRAY, ID, sizeof(uint32_t), \
123 # define BPF_ARRAY2(NAME, ID, PIN, MAX_ELEM) \ argument
124 BPF_ARRAY(NAME, ID, sizeof(uint16_t), PIN, MAX_ELEM)
128 # define BPF_ARRAY4(NAME, ID, PIN, MAX_ELEM) \ argument
129 BPF_ARRAY(NAME, ID, sizeof(uint32_t), PIN, MAX_ELEM)
133 # define BPF_ARRAY8(NAME, ID, PIN, MAX_ELEM) \ argument
134 BPF_ARRAY(NAME, ID, sizeof(uint64_t), PIN, MAX_ELEM)
138 # define BPF_PROG_ARRAY(NAME, ID, PIN, MAX_ELEM) \ argument
139 __BPF_MAP(NAME, BPF_MAP_TYPE_PROG_ARRAY, ID, sizeof(uint32_t), \
152 # define BPF_FUNC(NAME, ...) \ argument
153 (* NAME)(__VA_ARGS__) __maybe_unused = (void *) BPF_FUNC_##NAME