Home
last modified time | relevance | path

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

/Linux-v5.10/include/linux/
Dswap.h453 static inline long get_nr_swap_pages(void) in get_nr_swap_pages() function
506 #define get_nr_swap_pages() 0L macro
707 return get_nr_swap_pages(); in mem_cgroup_get_nr_swap_pages()
/Linux-v5.10/mm/
Dswap_slots.c99 pages = get_nr_swap_pages(); in check_cache_active()
Dswap_state.c106 get_nr_swap_pages() << (PAGE_SHIFT - 10)); in show_swap_cache_info()
Dvmscan.c302 if (get_nr_swap_pages() > 0) in zone_reclaimable_pages()
2604 if (get_nr_swap_pages() > 0) in should_continue_reclaim()
Dmemcontrol.c7317 long nr_swap_pages = get_nr_swap_pages(); in mem_cgroup_get_nr_swap_pages()
/Linux-v5.10/drivers/gpu/drm/i915/gem/
Di915_gem_shrinker.c22 return get_nr_swap_pages() > 0; in swap_available()
/Linux-v5.10/drivers/gpu/drm/ttm/
Dttm_memory.c550 available = get_nr_swap_pages() + si_mem_available(); in ttm_check_under_lowerlimit()