Home
last modified time | relevance | path

Searched refs:replace_prog (Results 1 – 2 of 2) sorted by relevance

/kernel/bpf/
Dcgroup.c385 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
451 if (link && (prog || replace_prog)) in __cgroup_bpf_attach()
454 if (!!replace_prog != !!(flags & BPF_F_REPLACE)) in __cgroup_bpf_attach()
477 pl = find_attach_entry(progs, prog, link, replace_prog, in __cgroup_bpf_attach()
847 struct bpf_prog *replace_prog = NULL; in cgroup_bpf_prog_attach() local
857 replace_prog = bpf_prog_get_type(attr->replace_bpf_fd, ptype); in cgroup_bpf_prog_attach()
[all …]
/kernel/cgroup/
Dcgroup.c6789 struct bpf_prog *prog, struct bpf_prog *replace_prog, in cgroup_bpf_attach() argument
6797 ret = __cgroup_bpf_attach(cgrp, prog, replace_prog, link, type, flags); in cgroup_bpf_attach()