Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/
H A Dmemcontrol.h575 static inline bool mem_cgroup_disabled(void) in mem_cgroup_disabled() function
587 if (mem_cgroup_disabled()) in mem_cgroup_protection()
641 return mem_cgroup_disabled() || mem_cgroup_is_root(memcg) || in mem_cgroup_unprotected()
684 if (mem_cgroup_disabled()) in mem_cgroup_charge()
703 if (mem_cgroup_disabled()) in mem_cgroup_uncharge()
711 if (mem_cgroup_disabled()) in mem_cgroup_uncharge_list()
733 if (mem_cgroup_disabled()) { in mem_cgroup_lruvec()
764 VM_WARN_ON_ONCE_FOLIO(!memcg && !mem_cgroup_disabled(), folio); in folio_lruvec()
835 if (mem_cgroup_disabled()) in mem_cgroup_id()
860 if (mem_cgroup_disabled()) in lruvec_memcg()
[all …]
H A Dswap.h620 if (mem_cgroup_disabled() || mem_cgroup_is_root(memcg)) in mem_cgroup_swappiness()
636 if (mem_cgroup_disabled()) in folio_throttle_swaprate()
652 if (mem_cgroup_disabled()) in mem_cgroup_try_charge_swap()
660 if (mem_cgroup_disabled()) in mem_cgroup_uncharge_swap()
/openbmc/linux/mm/
H A Dswap_cgroup.c173 if (mem_cgroup_disabled()) in swap_cgroup_swapon()
210 if (mem_cgroup_disabled()) in swap_cgroup_swapoff()
H A Dworkingset.c451 if (!mem_cgroup_disabled() && !eviction_memcg) in workingset_test_recent()
580 if (!mem_cgroup_disabled() && !memcg) in workingset_activation()
H A Dmemcontrol.c772 if (mem_cgroup_disabled()) in __mod_memcg_state()
848 if (!mem_cgroup_disabled()) in __mod_lruvec_state()
910 if (mem_cgroup_disabled() || index < 0) in __count_memcg_events()
1036 if (mem_cgroup_disabled()) in get_mem_cgroup_from_mm()
1110 if (mem_cgroup_disabled()) in mem_cgroup_iter()
1292 if (mem_cgroup_disabled()) in lruvec_memcg_debug()
1391 if (mem_cgroup_disabled()) in mem_cgroup_update_lru_size()
2120 if (mem_cgroup_disabled()) in folio_memcg_lock()
2976 if (mem_cgroup_disabled()) in mem_cgroup_from_obj()
2999 if (mem_cgroup_disabled()) in mem_cgroup_from_slab_obj()
[all …]
H A Dvmpressure.c244 if (mem_cgroup_disabled()) in vmpressure()
H A Dvmscan.c357 if (mem_cgroup_disabled()) in prealloc_memcg_shrinker()
673 if (!mem_cgroup_disabled())
1054 if (!mem_cgroup_disabled() && !mem_cgroup_is_root(memcg)) in shrink_slab()
3282 VM_WARN_ON_ONCE(!mem_cgroup_disabled()); in get_swappiness()
3422 VM_WARN_ON_ONCE(!mem_cgroup_disabled()); in lru_gen_add_mm()
3501 if (mem_cgroup_disabled()) in lru_gen_migrate_mm()
5601 if (mem_cgroup_disabled()) in lru_gen_shrink_node()
6064 if (!mem_cgroup_disabled()) { in run_cmd()
H A Dhuge_memory.c2790 WARN_ON_ONCE(!mem_cgroup_disabled() && !folio_memcg(folio)); in __folio_unqueue_deferred_split()