Home
last modified time | relevance | path

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

/linux/include/linux/
H A Dswap.h359 extern long total_swap_pages;
365 return atomic_long_read(&nr_swap_pages) * 2 < total_swap_pages; in vm_swap_full()
425 #define total_swap_pages 0L macro
/linux/mm/
H A Dswapfile.c76 long total_swap_pages; variable
2988 total_swap_pages += si->pages; in _enable_swap_info()
3136 total_swap_pages -= p->pages; in SYSCALL_DEFINE1()
3862 val->totalswap = total_swap_pages + nr_to_be_unused; in si_swapinfo()
H A Dswap_state.c78 printk("Total swap = %lukB\n", K(total_swap_pages)); in show_swap_cache_info()
H A Dmemcontrol-v1.c442 val += total_swap_pages - get_nr_swap_pages(); in mem_cgroup_usage()
H A Dmemcontrol.c1889 max += min(swap, (unsigned long)total_swap_pages); in mem_cgroup_get_max()
1894 (unsigned long)total_swap_pages); in mem_cgroup_get_max()
H A Dshmem.c1621 if (!total_swap_pages) in shmem_writeout()
H A Dvmscan.c2684 if (total_swap_pages > 0) in can_age_anon_pages()