Lines Matching refs:existing
2410 struct bpf_prog_array_item *existing, *new; in bpf_prog_array_copy() local
2418 existing = old_array->items; in bpf_prog_array_copy()
2419 for (; existing->prog; existing++) { in bpf_prog_array_copy()
2420 if (existing->prog == exclude_prog) { in bpf_prog_array_copy()
2424 if (existing->prog != &dummy_bpf_prog.prog) in bpf_prog_array_copy()
2426 if (existing->prog == include_prog) in bpf_prog_array_copy()
2453 existing = old_array->items; in bpf_prog_array_copy()
2454 for (; existing->prog; existing++) { in bpf_prog_array_copy()
2455 if (existing->prog == exclude_prog || in bpf_prog_array_copy()
2456 existing->prog == &dummy_bpf_prog.prog) in bpf_prog_array_copy()
2459 new->prog = existing->prog; in bpf_prog_array_copy()
2460 new->bpf_cookie = existing->bpf_cookie; in bpf_prog_array_copy()