Searched refs:prog_list (Results 1 – 2 of 2) sorted by relevance
110 struct hid_bpf_prog_list *prog_list; in hid_bpf_prog_run() local114 prog_list = rcu_dereference(hdev->bpf.progs[type]); in hid_bpf_prog_run()116 if (!prog_list) in hid_bpf_prog_run()119 for (i = 0; i < prog_list->prog_cnt; i++) { in hid_bpf_prog_run()120 idx = prog_list->prog_idx[i]; in hid_bpf_prog_run()479 struct hid_bpf_prog_list *prog_list; in __hid_bpf_destroy_device() local484 prog_list = rcu_dereference(hdev->bpf.progs[type]); in __hid_bpf_destroy_device()486 if (!prog_list) in __hid_bpf_destroy_device()489 for (i = 0; i < prog_list->prog_cnt; i++) in __hid_bpf_destroy_device()490 __clear_bit(prog_list->prog_idx[i], jmp_table.enabled); in __hid_bpf_destroy_device()
496 struct hid_bpf_prog_list *prog_list; in hid_bpf_connect_device() local499 prog_list = rcu_dereference(hdev->bpf.progs[HID_BPF_PROG_TYPE_DEVICE_EVENT]); in hid_bpf_connect_device()503 if (!prog_list) in hid_bpf_connect_device()