Lines Matching refs:cg
750 struct cgroup *cg; in replace_effective_prog() local
760 for (pos = 0, cg = desc; cg; cg = cgroup_parent(cg)) { in replace_effective_prog()
761 if (pos && !(cg->bpf.flags[atype] & BPF_F_ALLOW_MULTI)) in replace_effective_prog()
764 head = &cg->bpf.progs[atype]; in replace_effective_prog()
774 BUG_ON(!cg); in replace_effective_prog()
900 struct cgroup *cg; in purge_effective_progs() local
911 for (pos = 0, cg = desc; cg; cg = cgroup_parent(cg)) { in purge_effective_progs()
912 if (pos && !(cg->bpf.flags[atype] & BPF_F_ALLOW_MULTI)) in purge_effective_progs()
915 head = &cg->bpf.progs[atype]; in purge_effective_progs()
1184 struct cgroup *cg; in bpf_cgroup_link_release() local
1205 cg = cg_link->cgroup; in bpf_cgroup_link_release()
1210 cgroup_put(cg); in bpf_cgroup_link_release()