Lines Matching refs:progs
157 old_array = lirc_rcu_dereference(raw->progs); in lirc_bpf_attach()
167 rcu_assign_pointer(raw->progs, new_array); in lirc_bpf_attach()
195 old_array = lirc_rcu_dereference(raw->progs); in lirc_bpf_detach()
205 rcu_assign_pointer(raw->progs, new_array); in lirc_bpf_detach()
219 if (raw->progs) { in lirc_bpf_run()
221 bpf_prog_run_array(rcu_dereference(raw->progs), in lirc_bpf_run()
238 array = lirc_rcu_dereference(rcdev->raw->progs); in lirc_bpf_free()
298 struct bpf_prog_array *progs; in lirc_prog_query() local
319 progs = lirc_rcu_dereference(rcdev->raw->progs); in lirc_prog_query()
320 cnt = progs ? bpf_prog_array_length(progs) : 0; in lirc_prog_query()
333 ret = bpf_prog_array_copy_to_user(progs, prog_ids, in lirc_prog_query()