Home
last modified time | relevance | path

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

/linux-6.6.21/mm/
Dswapfile.c705 WRITE_ONCE(si->inuse_pages, si->inuse_pages + nr_entries); in swap_range_alloc()
706 if (si->inuse_pages == si->pages) { in swap_range_alloc()
740 WRITE_ONCE(si->inuse_pages, si->inuse_pages - nr_entries); in swap_range_free()
839 if (si->pages - si->inuse_pages < SWAPFILE_CLUSTER) { in scan_swap_map_slots()
1722 n -= sis->inuse_pages; in count_swap_pages()
2049 if (!READ_ONCE(si->inuse_pages)) in try_to_unuse()
2062 while (READ_ONCE(si->inuse_pages) && in try_to_unuse()
2090 while (READ_ONCE(si->inuse_pages) && in try_to_unuse()
2125 if (READ_ONCE(si->inuse_pages)) { in try_to_unuse()
2146 if (swap_info[type]->inuse_pages) in drain_mmlist()
[all …]
/linux-6.6.21/include/linux/
Dswap.h295 unsigned int inuse_pages; /* number of those currently in use */ member