Home
last modified time | relevance | path

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

/linux/mm/
H A Dmemcontrol.c589 if (mem_cgroup_is_root(memcg)) in do_flush_stats()
1115 if (!mem_cgroup_is_root(last)) in invalidate_reclaim_iterators()
1139 BUG_ON(mem_cgroup_is_root(memcg)); in mem_cgroup_scan_tasks()
1167 VM_BUG_ON_FOLIO(!mem_cgroup_is_root(lruvec_memcg(lruvec)), folio); in lruvec_memcg_debug()
1654 if (mem_cgroup_is_root(memcg)) in mem_cgroup_get_oom_group()
1905 !mem_cgroup_is_root(memcg)); in reclaim_high()
1998 !mem_cgroup_is_root(memcg)); in mem_find_max_overage()
2014 !mem_cgroup_is_root(memcg)); in swap_find_max_overage()
2356 if (mem_cgroup_is_root(memcg)) in mem_cgroup_cancel_charge()
2461 for (; !mem_cgroup_is_root(memcg); memcg = parent_mem_cgroup(memcg)) { in __get_obj_cgroup_from_memcg()
[all …]
H A Dmemcontrol-v1.h16 if (mem_cgroup_is_root(memcg)) in try_charge()
H A Dshrinker.c198 if (shrinker_id >= 0 && memcg && !mem_cgroup_is_root(memcg)) { in set_shrinker_bit()
627 if (!mem_cgroup_disabled() && !mem_cgroup_is_root(memcg)) in shrink_slab()
H A Dvmpressure.c295 if (!memcg || mem_cgroup_is_root(memcg)) in vmpressure()
H A Dmemcontrol-v1.c1097 if (!mem_cgroup_is_root(mc.from)) in __mem_cgroup_clear_mc()
1106 if (!mem_cgroup_is_root(mc.to)) in __mem_cgroup_clear_mc()
2419 if (mem_cgroup_is_root(memcg)) in mem_cgroup_force_empty_write()
2549 if (mem_cgroup_is_root(memcg)) { /* Can't set limit on root */ in mem_cgroup_write()
2851 if (!mem_cgroup_is_root(memcg)) in mem_cgroup_swappiness_write()
2880 if (mem_cgroup_is_root(memcg) || !((val == 0) || (val == 1))) in mem_cgroup_oom_control_write()
H A Dvmscan.c219 return !sc->target_mem_cgroup || mem_cgroup_is_root(sc->target_mem_cgroup); in root_reclaim()
/linux/include/linux/
H A Dmemcontrol.h576 static inline bool mem_cgroup_is_root(struct mem_cgroup *memcg) in mem_cgroup_is_root() function
647 return mem_cgroup_disabled() || mem_cgroup_is_root(memcg) || in mem_cgroup_unprotected()
1077 !mem_cgroup_is_root(memcg)); in memcg_memory_event()
1137 static inline bool mem_cgroup_is_root(struct mem_cgroup *memcg) in mem_cgroup_is_root() function
H A Dswap.h628 if (mem_cgroup_disabled() || mem_cgroup_is_root(memcg)) in mem_cgroup_swappiness()