Searched refs:SWAP_ADDRESS_SPACE_PAGES (Results 1 – 4 of 4) sorted by relevance
28 #define SWAP_ADDRESS_SPACE_PAGES (1 << SWAP_ADDRESS_SPACE_SHIFT) macro29 #define SWAP_ADDRESS_SPACE_MASK (SWAP_ADDRESS_SPACE_PAGES - 1)
265 xas_for_each(&xas, old, min(index + (end - curr), SWAP_ADDRESS_SPACE_PAGES)) { in clear_shadow_from_swap_cache()715 nr = DIV_ROUND_UP(nr_pages, SWAP_ADDRESS_SPACE_PAGES); in init_swap_address_space()
1607 nr = DIV_ROUND_UP(nr_pages, SWAP_ADDRESS_SPACE_PAGES); in zswap_swapon()
1026 next = ALIGN_DOWN(next, SWAP_ADDRESS_SPACE_PAGES); in set_cluster_next()3236 DIV_ROUND_UP(SWAP_ADDRESS_SPACE_PAGES, SWAPFILE_CLUSTER)