Lines Matching refs:progs
160 old_array = lirc_rcu_dereference(raw->progs); in lirc_bpf_attach()
170 rcu_assign_pointer(raw->progs, new_array); in lirc_bpf_attach()
198 old_array = lirc_rcu_dereference(raw->progs); in lirc_bpf_detach()
208 rcu_assign_pointer(raw->progs, new_array); in lirc_bpf_detach()
222 if (raw->progs) in lirc_bpf_run()
223 BPF_PROG_RUN_ARRAY(raw->progs, &raw->bpf_sample, BPF_PROG_RUN); in lirc_bpf_run()
237 array = lirc_rcu_dereference(rcdev->raw->progs); in lirc_bpf_free()
297 struct bpf_prog_array *progs; in lirc_prog_query() local
318 progs = lirc_rcu_dereference(rcdev->raw->progs); in lirc_prog_query()
319 cnt = progs ? bpf_prog_array_length(progs) : 0; in lirc_prog_query()
332 ret = bpf_prog_array_copy_to_user(progs, prog_ids, cnt); in lirc_prog_query()