Home
last modified time | relevance | path

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

/openbmc/linux/mm/
H A Dmemcontrol.c1246 if (!mem_cgroup_is_root(last)) in invalidate_reclaim_iterators()
1270 BUG_ON(mem_cgroup_is_root(memcg)); in mem_cgroup_scan_tasks()
1298 VM_BUG_ON_FOLIO(!mem_cgroup_is_root(lruvec_memcg(lruvec)), folio); in lruvec_memcg_debug()
2059 if (mem_cgroup_is_root(memcg)) in mem_cgroup_get_oom_group()
2404 !mem_cgroup_is_root(memcg)); in reclaim_high()
2497 !mem_cgroup_is_root(memcg)); in mem_find_max_overage()
2513 !mem_cgroup_is_root(memcg)); in swap_find_max_overage()
2830 if (mem_cgroup_is_root(memcg)) in try_charge()
2838 if (mem_cgroup_is_root(memcg)) in cancel_charge()
3009 for (; !mem_cgroup_is_root(memcg); memcg = parent_mem_cgroup(memcg)) { in __get_obj_cgroup_from_memcg()
[all …]
H A Dvmpressure.c295 if (!memcg || mem_cgroup_is_root(memcg)) in vmpressure()
H A Dvmscan.c337 if (shrinker_id >= 0 && memcg && !mem_cgroup_is_root(memcg)) { in set_shrinker_bit()
444 return !sc->target_mem_cgroup || mem_cgroup_is_root(sc->target_mem_cgroup); in root_reclaim()
1050 * mem_cgroup_is_root() return false, then just run memcg slab in shrink_slab()
1054 if (!mem_cgroup_disabled() && !mem_cgroup_is_root(memcg)) in shrink_slab()
/openbmc/linux/include/linux/
H A Dmemcontrol.h570 static inline bool mem_cgroup_is_root(struct mem_cgroup *memcg) in mem_cgroup_is_root() function
641 return mem_cgroup_disabled() || mem_cgroup_is_root(memcg) || in mem_cgroup_unprotected()
1129 !mem_cgroup_is_root(memcg)); in memcg_memory_event()
1193 static inline bool mem_cgroup_is_root(struct mem_cgroup *memcg) in mem_cgroup_is_root() function
H A Dswap.h620 if (mem_cgroup_disabled() || mem_cgroup_is_root(memcg)) in mem_cgroup_swappiness()