Searched refs:HID_BPF_MAX_PROGS (Results 1 – 2 of 2) sorted by relevance
8 #define HID_BPF_MAX_PROGS 1024 macro12 __uint(max_entries, HID_BPF_MAX_PROGS);
22 #define HID_BPF_MAX_PROGS 1024 /* keep this in sync with preloaded bpf, macro27 #define NEXT(idx) (((idx) + 1) & (HID_BPF_MAX_PROGS - 1))28 #define PREV(idx) (((idx) - 1) & (HID_BPF_MAX_PROGS - 1))42 struct hid_bpf_prog_entry entries[HID_BPF_MAX_PROGS]; /* compacted list, circular buffer */44 struct bpf_prog *progs[HID_BPF_MAX_PROGS]; /* idx -> progs mapping */45 unsigned long enabled[BITS_TO_LONGS(HID_BPF_MAX_PROGS)];49 for (__i = __start; CIRC_CNT(__end, __i, HID_BPF_MAX_PROGS); __i = NEXT(__i))321 for (i = 0; i < HID_BPF_MAX_PROGS; i++) { in hid_bpf_insert_prog()