Home
last modified time | relevance | path

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

/linux/kernel/bpf/
H A Dcgroup.c1094 struct bpf_cgroup_link *cg_link; in cgroup_bpf_replace() local
1097 cg_link = container_of(link, struct bpf_cgroup_link, link); in cgroup_bpf_replace()
1101 if (!cg_link->cgroup) { in cgroup_bpf_replace()
1109 ret = __cgroup_bpf_replace(cg_link->cgroup, cg_link, new_prog); in cgroup_bpf_replace()
1442 struct bpf_cgroup_link *cg_link = in bpf_cgroup_link_release() local
1449 if (!cg_link->cgroup) in bpf_cgroup_link_release()
1455 if (!cg_link->cgroup) { in bpf_cgroup_link_release()
1460 WARN_ON(__cgroup_bpf_detach(cg_link->cgroup, NULL, cg_link, in bpf_cgroup_link_release()
1463 bpf_trampoline_unlink_cgroup_shim(cg_link->link.prog); in bpf_cgroup_link_release()
1465 cg = cg_link->cgroup; in bpf_cgroup_link_release()
[all …]