Searched refs:get_nr_swap_pages (Results 1 – 8 of 8) sorted by relevance
467 static inline long get_nr_swap_pages(void) in get_nr_swap_pages() function520 #define get_nr_swap_pages() 0L macro685 return get_nr_swap_pages(); in mem_cgroup_get_nr_swap_pages()
24 return enable_eviction && get_nr_swap_pages() > 0; in can_swap()
98 pages = get_nr_swap_pages(); in check_cache_active()
66 printk("Free swap = %ldkB\n", K(get_nr_swap_pages())); in show_swap_cache_info()
3677 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()
614 if (get_nr_swap_pages() > 0) in can_reclaim_anon_pages()
22 return get_nr_swap_pages() > 0; in swap_available()
1922 should_swap = get_nr_swap_pages() > 0; in igt_shrink_thp()