Searched refs:SWAP_ADDRESS_SPACE_MASK (Results 1 – 2 of 2) sorted by relevance
29 #define SWAP_ADDRESS_SPACE_MASK (SWAP_ADDRESS_SPACE_PAGES - 1) macro48 BUILD_BUG_ON((SWP_OFFSET_MASK | SWAP_ADDRESS_SPACE_MASK) != SWP_OFFSET_MASK); in swap_cache_index()49 return swp_offset(entry) & SWAP_ADDRESS_SPACE_MASK; in swap_cache_index()
258 unsigned long index = curr & SWAP_ADDRESS_SPACE_MASK; in clear_shadow_from_swap_cache()