Lines Matching refs:new_prog
816 struct bpf_prog *new_prog = prog ? : link->link.prog;
836 atype = bpf_cgroup_atype_find(type, new_prog->aux->attach_btf_id);
890 err = bpf_trampoline_link_cgroup_shim(new_prog, atype, type);
912 bpf_trampoline_unlink_cgroup_shim(new_prog);
1026 * @new_prog: &struct bpf_prog for the target BPF program with its refcnt
1033 struct bpf_prog *new_prog)
1041 atype = bpf_cgroup_atype_find(link->link.attach_type, new_prog->aux->attach_btf_id);
1047 if (link->link.prog->type != new_prog->type)
1060 old_prog = xchg(&link->link.prog, new_prog);
1066 static int cgroup_bpf_replace(struct bpf_link *link, struct bpf_prog *new_prog,
1084 ret = __cgroup_bpf_replace(cg_link->cgroup, cg_link, new_prog);