Searched refs:old_array (Results 1 – 1 of 1) sorted by relevance
139 struct bpf_prog_array *old_array; in lirc_bpf_attach() local157 old_array = lirc_rcu_dereference(raw->progs); in lirc_bpf_attach()158 if (old_array && bpf_prog_array_length(old_array) >= BPF_MAX_PROGS) { in lirc_bpf_attach()163 ret = bpf_prog_array_copy(old_array, NULL, prog, 0, &new_array); in lirc_bpf_attach()168 bpf_prog_array_free(old_array); in lirc_bpf_attach()177 struct bpf_prog_array *old_array; in lirc_bpf_detach() local195 old_array = lirc_rcu_dereference(raw->progs); in lirc_bpf_detach()196 ret = bpf_prog_array_copy(old_array, prog, NULL, 0, &new_array); in lirc_bpf_detach()206 bpf_prog_array_free(old_array); in lirc_bpf_detach()