Searched refs:can_swap (Results 1 – 3 of 3) sorted by relevance
22 static bool can_swap(void) in can_swap() function39 if (can_swap()) in msm_gem_shrinker_count()166 { &priv->lru.willneed, evict, can_swap() }, in msm_gem_shrinker_scan()168 { &priv->lru.willneed, active_evict, can_swap() && can_block(sc) }, in msm_gem_shrinker_scan()
125 ``+ memcg_id node_id max_gen_nr [can_swap [force_scan]]``127 ``can_swap`` defaults to the swap setting and, if it is set to ``1``,
1372 static bool can_swap(void) in can_swap() function1396 if (!can_swap()) in panthor_gem_shrinker_count()1519 if (!can_swap()) in panthor_gem_shrinker_scan()