Lines Matching defs:new_prog
795 struct bpf_prog *new_prog = prog ? : link->link.prog;
815 atype = bpf_cgroup_atype_find(type, new_prog->aux->attach_btf_id);
869 err = bpf_trampoline_link_cgroup_shim(new_prog, atype, type);
891 bpf_trampoline_unlink_cgroup_shim(new_prog);
971 * @new_prog: &struct bpf_prog for the target BPF program with its refcnt
978 struct bpf_prog *new_prog)
986 atype = bpf_cgroup_atype_find(link->link.attach_type, new_prog->aux->attach_btf_id);
992 if (link->link.prog->type != new_prog->type)
1005 old_prog = xchg(&link->link.prog, new_prog);
1011 static int cgroup_bpf_replace(struct bpf_link *link, struct bpf_prog *new_prog,
1029 ret = __cgroup_bpf_replace(cg_link->cgroup, cg_link, new_prog);