Home
last modified time | relevance | path

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

/linux-6.12.1/arch/x86/include/asm/
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) })
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))
Dpgtable_64.h220 #define SWP_OFFSET_SHIFT (SWP_OFFSET_FIRST_BIT+SWP_TYPE_BITS) macro
228 #define __swp_offset(x) (~(x).val << SWP_TYPE_BITS >> SWP_OFFSET_SHIFT)
236 (~(unsigned long)(offset) << SWP_OFFSET_SHIFT >> SWP_TYPE_BITS) \