Searched refs:ancestor (Results 1 – 2 of 2) sorted by relevance
117 struct cgroup *ancestor = info->priv; in cgroup_mt_v1() local123 if (ancestor) in cgroup_mt_v1()124 return cgroup_is_descendant(sock_cgroup_ptr(skcd), ancestor) ^ in cgroup_mt_v1()135 struct cgroup *ancestor = info->priv; in cgroup_mt_v2() local141 if (ancestor) in cgroup_mt_v2()142 return cgroup_is_descendant(sock_cgroup_ptr(skcd), ancestor) ^ in cgroup_mt_v2()
4815 struct cgroup *ancestor; in __bpf_sk_ancestor_cgroup_id() local4823 ancestor = cgroup_ancestor(cgrp, ancestor_level); in __bpf_sk_ancestor_cgroup_id()4824 if (!ancestor) in __bpf_sk_ancestor_cgroup_id()4827 return cgroup_id(ancestor); in __bpf_sk_ancestor_cgroup_id()