Searched refs:new_array (Results 1 – 3 of 3) sorted by relevance
/kernel/bpf/ |
D | net_namespace.c | 106 struct bpf_prog_array *old_array, *new_array; in bpf_netns_link_release() local 135 new_array = bpf_prog_array_alloc(cnt, GFP_KERNEL); in bpf_netns_link_release() 136 if (!new_array) { in bpf_netns_link_release() 140 fill_prog_array(net, type, new_array); in bpf_netns_link_release() 141 rcu_assign_pointer(net->bpf.run_array[type], new_array); in bpf_netns_link_release()
|
D | core.c | 2139 struct bpf_prog_array **new_array) in bpf_prog_array_copy() argument 2173 *new_array = NULL; in bpf_prog_array_copy() 2202 *new_array = array; in bpf_prog_array_copy()
|
/kernel/trace/ |
D | bpf_trace.c | 1741 struct bpf_prog_array *new_array; in perf_event_attach_bpf_prog() local 1765 ret = bpf_prog_array_copy(old_array, NULL, prog, bpf_cookie, &new_array); in perf_event_attach_bpf_prog() 1772 rcu_assign_pointer(event->tp_event->prog_array, new_array); in perf_event_attach_bpf_prog() 1783 struct bpf_prog_array *new_array; in perf_event_detach_bpf_prog() local 1792 ret = bpf_prog_array_copy(old_array, event->prog, NULL, 0, &new_array); in perf_event_detach_bpf_prog() 1798 rcu_assign_pointer(event->tp_event->prog_array, new_array); in perf_event_detach_bpf_prog()
|