Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/linux/
Dswap.h471 static inline long get_nr_swap_pages(void) in get_nr_swap_pages() function
525 #define get_nr_swap_pages() 0L macro
726 return get_nr_swap_pages(); in mem_cgroup_get_nr_swap_pages()
/kernel/linux/linux-5.10/mm/
Dswap_slots.c99 pages = get_nr_swap_pages(); in check_cache_active()
Dmemcg_reclaim.c18 return !sc->may_swap || !swappiness || !get_nr_swap_pages(); in is_swap_not_allowed()
Dswap_state.c106 get_nr_swap_pages() << (PAGE_SHIFT - 10)); in show_swap_cache_info()
Dvmscan.c213 if (get_nr_swap_pages() > 0) in zone_reclaimable_pages()
2593 if (get_nr_swap_pages() > 0) in should_continue_reclaim()
Dmemcontrol.c7399 long nr_swap_pages = get_nr_swap_pages(); in mem_cgroup_get_nr_swap_pages()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/
Di915_gem_shrinker.c22 return get_nr_swap_pages() > 0; in swap_available()
/kernel/linux/linux-5.10/drivers/gpu/drm/ttm/
Dttm_memory.c550 available = get_nr_swap_pages() + si_mem_available(); in ttm_check_under_lowerlimit()