Home
last modified time | relevance | path

Searched refs:nr_swap_pages (Results 1 – 2 of 2) sorted by relevance

/mm/
Dswapfile.c55 atomic_long_t nr_swap_pages; variable
61 EXPORT_SYMBOL_GPL(nr_swap_pages);
742 atomic_long_add(nr_entries, &nr_swap_pages); in swap_range_free()
1082 avail_pgs = atomic_long_read(&nr_swap_pages) / size; in get_swap_pages()
1090 atomic_long_sub(n_goal * size, &nr_swap_pages); in get_swap_pages()
1150 &nr_swap_pages); in get_swap_pages()
1172 atomic_long_dec(&nr_swap_pages); in get_swap_page_of_type()
2533 atomic_long_add(p->pages, &nr_swap_pages); in _enable_swap_info()
2664 atomic_long_sub(p->pages, &nr_swap_pages); in SYSCALL_DEFINE1()
3483 val->freeswap = atomic_long_read(&nr_swap_pages) + nr_to_be_unused; in si_swapinfo()
Dmemcontrol.c7380 long nr_swap_pages = get_nr_swap_pages(); in mem_cgroup_get_nr_swap_pages() local
7383 return nr_swap_pages; in mem_cgroup_get_nr_swap_pages()
7385 nr_swap_pages = min_t(long, nr_swap_pages, in mem_cgroup_get_nr_swap_pages()
7388 return nr_swap_pages; in mem_cgroup_get_nr_swap_pages()