Lines Matching refs:new_prog
616 struct bpf_prog *new_prog = prog ? : link->link.prog;
633 atype = bpf_cgroup_atype_find(type, new_prog->aux->attach_btf_id);
688 err = bpf_trampoline_link_cgroup_shim(new_prog, atype);
709 bpf_trampoline_unlink_cgroup_shim(new_prog);
788 * @new_prog: &struct bpf_prog for the target BPF program with its refcnt
795 struct bpf_prog *new_prog)
803 atype = bpf_cgroup_atype_find(link->type, new_prog->aux->attach_btf_id);
809 if (link->link.prog->type != new_prog->type)
821 old_prog = xchg(&link->link.prog, new_prog);
827 static int cgroup_bpf_replace(struct bpf_link *link, struct bpf_prog *new_prog,
845 ret = __cgroup_bpf_replace(cg_link->cgroup, cg_link, new_prog);