Home
last modified time | relevance | path

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

/linux-6.12.1/mm/
Dswap.h29 #define SWAP_ADDRESS_SPACE_MASK (SWAP_ADDRESS_SPACE_PAGES - 1) macro
48 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()
Dswap_state.c258 unsigned long index = curr & SWAP_ADDRESS_SPACE_MASK; in clear_shadow_from_swap_cache()