Searched refs:new_array (Results 1 – 2 of 2) sorted by relevance
1198 struct bpf_prog_array *new_array; in perf_event_attach_bpf_prog() local1222 ret = bpf_prog_array_copy(old_array, NULL, prog, &new_array); in perf_event_attach_bpf_prog()1228 rcu_assign_pointer(event->tp_event->prog_array, new_array); in perf_event_attach_bpf_prog()1239 struct bpf_prog_array *new_array; in perf_event_detach_bpf_prog() local1248 ret = bpf_prog_array_copy(old_array, event->prog, NULL, &new_array); in perf_event_detach_bpf_prog()1254 rcu_assign_pointer(event->tp_event->prog_array, new_array); in perf_event_detach_bpf_prog()
1895 struct bpf_prog_array **new_array) in bpf_prog_array_copy() argument1930 *new_array = NULL; in bpf_prog_array_copy()1952 *new_array = array; in bpf_prog_array_copy()