Searched refs:cgroup_is_descendant (Results 1 – 6 of 6) sorted by relevance
/Linux-v6.6/net/netfilter/ |
D | xt_cgroup.c | 124 return cgroup_is_descendant(sock_cgroup_ptr(skcd), ancestor) ^ in cgroup_mt_v1() 142 return cgroup_is_descendant(sock_cgroup_ptr(skcd), ancestor) ^ in cgroup_mt_v2()
|
/Linux-v6.6/include/linux/ |
D | cgroup.h | 513 static inline bool cgroup_is_descendant(struct cgroup *cgrp, in cgroup_is_descendant() function 554 return cgroup_is_descendant(cset->dfl_cgrp, ancestor); in task_under_cgroup_hierarchy()
|
D | memcontrol.h | 883 return cgroup_is_descendant(memcg->css.cgroup, root->css.cgroup); in mem_cgroup_is_descendant()
|
/Linux-v6.6/kernel/cgroup/ |
D | cgroup.c | 5089 while (!cgroup_is_descendant(dst_cgrp, com_cgrp)) in cgroup_procs_write_permission() 5102 (!cgroup_is_descendant(src_cgrp, ns->root_cset->dfl_cgrp) || in cgroup_procs_write_permission() 5103 !cgroup_is_descendant(dst_cgrp, ns->root_cset->dfl_cgrp))) in cgroup_procs_write_permission() 6230 if (!cgroup_is_descendant(cgrp, root_cgrp)) { in cgroup_get_from_id()
|
/Linux-v6.6/include/net/ |
D | sock.h | 1417 return cgroup_is_descendant(sock_cgroup_ptr(&sk->sk_cgrp_data), in sk_under_cgroup_hierarchy()
|
/Linux-v6.6/kernel/events/ |
D | core.c | 727 return cgroup_is_descendant(cpuctx->cgrp->css.cgroup, in perf_cgroup_match() 2763 reprogram = cgroup_is_descendant(cgrp->css.cgroup, in __perf_install_in_context()
|