Searched refs:SWP_TYPE_SHIFT (Results 1 – 1 of 1) sorted by relevance
23 #define SWP_TYPE_SHIFT (BITS_PER_XA_VALUE - MAX_SWAPFILES_SHIFT) macro24 #define SWP_OFFSET_MASK ((1UL << SWP_TYPE_SHIFT) - 1)43 ret.val = (type << SWP_TYPE_SHIFT) | (offset & SWP_OFFSET_MASK); in swp_entry()53 return (entry.val >> SWP_TYPE_SHIFT); in swp_type()
Completed in 3 milliseconds