Home
last modified time | relevance | path

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

/linux/include/linux/
A Dswapops.h23 #define SWP_TYPE_SHIFT (BITS_PER_XA_VALUE - MAX_SWAPFILES_SHIFT) macro
24 #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