Searched refs:SWP_TYPE_SHIFT (Results 1 – 1 of 1) sorted by relevance
27 #define SWP_TYPE_SHIFT (BITS_PER_XA_VALUE - MAX_SWAPFILES_SHIFT) macro28 #define SWP_OFFSET_MASK ((1UL << SWP_TYPE_SHIFT) - 1)40 SWP_TYPE_SHIFT)90 ret.val = (type << SWP_TYPE_SHIFT) | (offset & SWP_OFFSET_MASK); in swp_entry()100 return (entry.val >> SWP_TYPE_SHIFT); in swp_type()512 BUILD_BUG_ON(SWP_TYPE_SHIFT < SWP_PFN_BITS); in is_pfn_swap_entry()