Lines Matching refs:max_elem
99 # define __BPF_MAP(NAME, TYPE, ID, SIZE_KEY, SIZE_VALUE, PIN, MAX_ELEM) \
106 .max_elem = (MAX_ELEM), \
111 # define BPF_HASH(NAME, ID, SIZE_KEY, SIZE_VALUE, PIN, MAX_ELEM) \
113 PIN, MAX_ELEM)
117 # define BPF_ARRAY(NAME, ID, SIZE_VALUE, PIN, MAX_ELEM) \
119 SIZE_VALUE, PIN, MAX_ELEM)
123 # define BPF_ARRAY2(NAME, ID, PIN, MAX_ELEM) \
124 BPF_ARRAY(NAME, ID, sizeof(uint16_t), PIN, MAX_ELEM)
128 # define BPF_ARRAY4(NAME, ID, PIN, MAX_ELEM) \
129 BPF_ARRAY(NAME, ID, sizeof(uint32_t), PIN, MAX_ELEM)
133 # define BPF_ARRAY8(NAME, ID, PIN, MAX_ELEM) \
134 BPF_ARRAY(NAME, ID, sizeof(uint64_t), PIN, MAX_ELEM)
138 # define BPF_PROG_ARRAY(NAME, ID, PIN, MAX_ELEM) \
140 sizeof(uint32_t), PIN, MAX_ELEM)