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 | 1744 struct bpf_prog_array *new_array; in perf_event_attach_bpf_prog() local 1768 ret = bpf_prog_array_copy(old_array, NULL, prog, bpf_cookie, &new_array); in perf_event_attach_bpf_prog() 1775 rcu_assign_pointer(event->tp_event->prog_array, new_array); in perf_event_attach_bpf_prog() 1786 struct bpf_prog_array *new_array; in perf_event_detach_bpf_prog() local 1795 ret = bpf_prog_array_copy(old_array, event->prog, NULL, 0, &new_array); in perf_event_detach_bpf_prog() 1801 rcu_assign_pointer(event->tp_event->prog_array, new_array); in perf_event_detach_bpf_prog()
|