Home
last modified time | relevance | path

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

/openbmc/linux/arch/x86/include/asm/
H A Dpgtable-2level.h98 #define SWP_OFFSET_SHIFT (_PAGE_BIT_PROTNONE + 1) macro
104 #define __swp_offset(x) ((x).val >> SWP_OFFSET_SHIFT)
107 | ((offset) << SWP_OFFSET_SHIFT) })
H A Dpgtable-3level.h170 #define SWP_OFFSET_SHIFT (SWP_OFFSET_FIRST_BIT + SWP_TYPE_BITS) macro
187 (~(pteval_t)(offset) << SWP_OFFSET_SHIFT >> SWP_TYPE_BITS) \
199 #define __pteval_swp_offset(x) ((unsigned long)(~((x).pte) << SWP_TYPE_BITS >> SWP_OFFSET_SHIFT))
H A Dpgtable_64.h219 #define SWP_OFFSET_SHIFT (SWP_OFFSET_FIRST_BIT+SWP_TYPE_BITS) macro
227 #define __swp_offset(x) (~(x).val << SWP_TYPE_BITS >> SWP_OFFSET_SHIFT)
235 (~(unsigned long)(offset) << SWP_OFFSET_SHIFT >> SWP_TYPE_BITS) \