Searched refs:cgroup_is_descendant (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.4/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-v5.4/include/linux/ |
D | cgroup.h | 564 static inline bool cgroup_is_descendant(struct cgroup *cgrp, in cgroup_is_descendant() function 607 return cgroup_is_descendant(cset->dfl_cgrp, ancestor); in task_under_cgroup_hierarchy()
|
D | memcontrol.h | 504 return cgroup_is_descendant(memcg->css.cgroup, root->css.cgroup); in mem_cgroup_is_descendant()
|
/Linux-v5.4/kernel/cgroup/ |
D | cgroup.c | 4727 while (!cgroup_is_descendant(dst_cgrp, com_cgrp)) in cgroup_procs_write_permission() 4745 (!cgroup_is_descendant(src_cgrp, ns->root_cset->dfl_cgrp) || in cgroup_procs_write_permission() 4746 !cgroup_is_descendant(dst_cgrp, ns->root_cset->dfl_cgrp))) in cgroup_procs_write_permission()
|
/Linux-v5.4/include/net/ |
D | sock.h | 1242 return cgroup_is_descendant(sock_cgroup_ptr(&sk->sk_cgrp_data), in sk_under_cgroup_hierarchy()
|
/Linux-v5.4/kernel/events/ |
D | core.c | 690 return cgroup_is_descendant(cpuctx->cgrp->css.cgroup, in perf_cgroup_match() 754 if (cgroup_is_descendant(cgrp->css.cgroup, event->cgrp->css.cgroup)) in update_cgrp_time_from_event() 967 if (cgroup_is_descendant(cgrp->css.cgroup, event->cgrp->css.cgroup)) in list_update_cgroup_event() 2622 reprogram = cgroup_is_descendant(cgrp->css.cgroup, in __perf_install_in_context()
|