Searched refs:inuse_pages (Results 1 – 2 of 2) sorted by relevance
690 si->inuse_pages += nr_entries; in swap_range_alloc()691 if (si->inuse_pages == si->pages) { in swap_range_alloc()727 si->inuse_pages -= nr_entries; in swap_range_free()811 if (si->pages - si->inuse_pages < SWAPFILE_CLUSTER) { in scan_swap_map_slots()1896 n -= sis->inuse_pages; in count_swap_pages()2185 if (!READ_ONCE(si->inuse_pages)) in try_to_unuse()2201 while (READ_ONCE(si->inuse_pages) && in try_to_unuse()2230 while (READ_ONCE(si->inuse_pages) && in try_to_unuse()2272 if (READ_ONCE(si->inuse_pages)) { in try_to_unuse()2293 if (swap_info[type]->inuse_pages) in drain_mmlist()[all …]
252 unsigned int inuse_pages; /* number of those currently in use */ member