Searched refs:replace_prog (Results 1 – 3 of 3) sorted by relevance
/linux-5.10/kernel/bpf/ |
D | cgroup.c | 385 struct bpf_prog *replace_prog, in find_attach_entry() argument 398 if (prog && pl->prog == prog && prog != replace_prog) in find_attach_entry() 407 if (replace_prog) { in find_attach_entry() 409 if (pl->prog == replace_prog) in find_attach_entry() 434 struct bpf_prog *prog, struct bpf_prog *replace_prog, in __cgroup_bpf_attach() argument 450 if (link && (prog || replace_prog)) in __cgroup_bpf_attach() 453 if (!!replace_prog != !!(flags & BPF_F_REPLACE)) in __cgroup_bpf_attach() 470 pl = find_attach_entry(progs, prog, link, replace_prog, in __cgroup_bpf_attach() 765 struct bpf_prog *replace_prog = NULL; in cgroup_bpf_prog_attach() local 775 replace_prog = bpf_prog_get_type(attr->replace_bpf_fd, ptype); in cgroup_bpf_prog_attach() [all …]
|
/linux-5.10/include/linux/ |
D | bpf-cgroup.h | 99 struct bpf_prog *prog, struct bpf_prog *replace_prog, 110 struct bpf_prog *prog, struct bpf_prog *replace_prog,
|
/linux-5.10/kernel/cgroup/ |
D | cgroup.c | 6499 struct bpf_prog *prog, struct bpf_prog *replace_prog, in cgroup_bpf_attach() argument 6507 ret = __cgroup_bpf_attach(cgrp, prog, replace_prog, link, type, flags); in cgroup_bpf_attach()
|