Searched refs:inuse_pages (Results 1 – 2 of 2) sorted by relevance
752 to_scan = si->inuse_pages / SWAPFILE_CLUSTER; in swap_reclaim_full_clusters()938 WRITE_ONCE(si->inuse_pages, si->inuse_pages + nr_entries); in swap_range_alloc()939 if (si->inuse_pages == si->pages) { in swap_range_alloc()1002 WRITE_ONCE(si->inuse_pages, si->inuse_pages - nr_entries); in swap_range_free()1123 if (si->pages - si->inuse_pages < SWAPFILE_CLUSTER) { in scan_swap_map_slots()2060 n -= sis->inuse_pages; in count_swap_pages()2395 if (!READ_ONCE(si->inuse_pages)) in try_to_unuse()2408 while (READ_ONCE(si->inuse_pages) && in try_to_unuse()2436 while (READ_ONCE(si->inuse_pages) && in try_to_unuse()2471 if (READ_ONCE(si->inuse_pages)) { in try_to_unuse()[all …]
311 unsigned int inuse_pages; /* number of those currently in use */ member