Home
last modified time | relevance | path

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

/linux/arch/x86/include/asm/
H A Dpgtable-3level.h174 #define __swp_offset(x) ((x).val >> SWP_TYPE_BITS) macro
191 __swp_pteval_entry(__swp_type(x), __swp_offset(x)) })
H A Dpgtable-2level.h104 #define __swp_offset(x) ((x).val >> SWP_OFFSET_SHIFT) macro
H A Dpgtable_64.h224 #define __swp_offset(x) (~(x).val << SWP_TYPE_BITS >> SWP_OFFSET_SHIFT) macro
/linux/arch/csky/abiv2/inc/abi/
H A Dpgtable-bits.h46 #define __swp_offset(x) ((((x).val >> 8) & 0x1) | \ macro
/linux/arch/csky/abiv1/inc/abi/
H A Dpgtable-bits.h47 #define __swp_offset(x) ((x).val >> 10) macro
/linux/include/linux/
H A Dleafops.h66 return swp_entry(__swp_type(arch_entry), __swp_offset(arch_entry)); in softleaf_from_pte()
108 return swp_entry(__swp_type(arch_entry), __swp_offset(arch_entry)); in softleaf_from_pmd()
/linux/arch/powerpc/include/asm/nohash/32/
H A Dpgtable.h192 #define __swp_offset(entry) ((entry).val >> 5) macro
/linux/arch/sh/include/asm/
H A Dpgtable_32.h447 #define __swp_offset(x) ((x).val >> 5) macro
463 #define __swp_offset(x) ((x).val >> 10) macro
/linux/arch/arc/include/asm/
H A Dpgtable-bits-arcv2.h128 #define __swp_offset(pte_lookalike) ((pte_lookalike).val >> 13) macro
/linux/arch/m68k/include/asm/
H A Dsun3_pgtable.h166 #define __swp_offset(x) (((x).val) >> 7) macro
H A Dmotorola_pgtable.h183 #define __swp_offset(x) ((x).val >> 12) macro
H A Dmcf_pgtable.h265 #define __swp_offset(x) ((x).val >> 11) macro
/linux/arch/powerpc/include/asm/book3s/32/
H A Dpgtable.h364 #define __swp_offset(entry) ((entry).val >> 5) macro
/linux/arch/parisc/include/asm/
H A Dpgtable.h409 #define __swp_offset(x) ( (((x).val >> 5) & 0x7) | \ macro
/linux/arch/loongarch/include/asm/
H A Dpgtable.h335 #define __swp_offset(x) ((x).val >> __SWP_OFFSET_SHIFT) macro
/linux/arch/s390/include/asm/
H A Dpgtable.h1869 static inline unsigned long __swp_offset(swp_entry_t entry) in __swp_offset() function
1964 pmd = __pmd(mk_swap_rste(__swp_type(arch_entry), __swp_offset(arch_entry))); in __swp_entry_to_pmd()
/linux/arch/riscv/include/asm/
H A Dpgtable.h1178 #define __swp_offset(x) ((x).val >> __SWP_OFFSET_SHIFT) macro
/linux/arch/powerpc/include/asm/book3s/64/
H A Dpgtable.h648 #define __swp_offset(x) (((x).val & PTE_RPN_MASK) >> PAGE_SHIFT) macro
/linux/arch/arm64/include/asm/
H A Dpgtable.h1531 #define __swp_offset(x) (((x).val >> __SWP_OFFSET_SHIFT) & __SWP_OFFSET_MASK) macro