Home
last modified time | relevance | path

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

/linux-6.6.21/include/linux/
Dswap.h467 static inline long get_nr_swap_pages(void) in get_nr_swap_pages() function
520 #define get_nr_swap_pages() 0L macro
685 return get_nr_swap_pages(); in mem_cgroup_get_nr_swap_pages()
/linux-6.6.21/drivers/gpu/drm/msm/
Dmsm_gem_shrinker.c24 return enable_eviction && get_nr_swap_pages() > 0; in can_swap()
/linux-6.6.21/mm/
Dswap_slots.c98 pages = get_nr_swap_pages(); in check_cache_active()
Dswap_state.c66 printk("Free swap = %ldkB\n", K(get_nr_swap_pages())); in show_swap_cache_info()
Dmemcontrol.c3677 val += total_swap_pages - get_nr_swap_pages(); in mem_cgroup_usage()
7577 long nr_swap_pages = get_nr_swap_pages(); in mem_cgroup_get_nr_swap_pages()
Dvmscan.c614 if (get_nr_swap_pages() > 0) in can_reclaim_anon_pages()
/linux-6.6.21/drivers/gpu/drm/i915/gem/
Di915_gem_shrinker.c22 return get_nr_swap_pages() > 0; in swap_available()
/linux-6.6.21/drivers/gpu/drm/i915/gem/selftests/
Dhuge_pages.c1922 should_swap = get_nr_swap_pages() > 0; in igt_shrink_thp()