Symbol: __swp_type
arch/alpha/include/asm/pgtable.h
332
#define __swp_type(x) (((x).val >> 32) & 0x7f)
arch/arc/include/asm/pgtable-bits-arcv2.h
127
#define __swp_type(pte_lookalike) (((pte_lookalike).val) & 0x1f)
arch/arm/include/asm/pgtable.h
296
#define __swp_type(x) (((x).val >> __SWP_TYPE_SHIFT) & __SWP_TYPE_MASK)
arch/arm64/include/asm/pgtable.h
1519
#define __swp_type(x) (((x).val >> __SWP_TYPE_SHIFT) & __SWP_TYPE_MASK)
arch/csky/abiv1/inc/abi/pgtable-bits.h
45
#define __swp_type(x) ((((x).val >> 2) & 0xf) | \
arch/csky/abiv2/inc/abi/pgtable-bits.h
45
#define __swp_type(x) (((x).val >> 2) & 0x1f)
arch/hexagon/include/asm/pgtable.h
380
#define __swp_type(swp_pte) (((swp_pte).val >> 1) & 0x1f)
arch/loongarch/include/asm/pgtable.h
330
#define __swp_type(x) (((x).val >> __SWP_TYPE_SHIFT) & __SWP_TYPE_MASK)
arch/m68k/include/asm/mcf_pgtable.h
264
#define __swp_type(x) ((x).val & 0x7f)
arch/m68k/include/asm/motorola_pgtable.h
182
#define __swp_type(x) (((x).val >> 4) & 0x7f)
arch/m68k/include/asm/sun3_pgtable.h
165
#define __swp_type(x) ((x).val & 0x3f)
arch/microblaze/include/asm/pgtable.h
393
#define __swp_type(entry) ((entry).val & 0x1f)
arch/mips/include/asm/pgtable-32.h
211
#define __swp_type(x) (((x).val >> 10) & 0x1f)
arch/mips/include/asm/pgtable-32.h
239
#define __swp_type(x) (((x).val >> 4) & 0x1f)
arch/mips/include/asm/pgtable-32.h
268
#define __swp_type(x) (((x).val >> 2) & 0x1f)
arch/mips/include/asm/pgtable-32.h
292
#define __swp_type(x) (((x).val >> 8) & 0x1f)
arch/mips/include/asm/pgtable-64.h
343
#define __swp_type(x) (((x).val >> 16) & 0x7f)
arch/nios2/include/asm/pgtable.h
255
#define __swp_type(swp) (((swp).val >> 26) & 0x1f)
arch/openrisc/include/asm/pgtable.h
390
#define __swp_type(x) (((x).val >> 5) & 0x3f)
arch/parisc/include/asm/pgtable.h
419
#define __swp_type(x) ((x).val & 0x1f)
arch/powerpc/include/asm/book3s/32/pgtable.h
363
#define __swp_type(entry) ((entry).val & 0x1f)
arch/powerpc/include/asm/book3s/64/pgtable.h
647
#define __swp_type(x) ((x).val & SWP_TYPE_MASK)
arch/powerpc/include/asm/nohash/32/pgtable.h
191
#define __swp_type(entry) ((entry).val & 0x1f)
arch/powerpc/include/asm/nohash/64/pgtable.h
188
#define __swp_type(x) (((x).val >> 2) \
arch/riscv/include/asm/pgtable.h
1192
#define __swp_type(x) (((x).val >> __SWP_TYPE_SHIFT) & __SWP_TYPE_MASK)
arch/s390/include/asm/pgtable.h
1818
static inline unsigned long __swp_type(swp_entry_t entry)
arch/sh/include/asm/pgtable_32.h
446
#define __swp_type(x) ((x).val & 0x1f)
arch/sh/include/asm/pgtable_32.h
462
#define __swp_type(x) ((x).val & 0x1f)
arch/sparc/include/asm/pgtable_32.h
331
static inline unsigned long __swp_type(swp_entry_t entry)
arch/sparc/include/asm/pgtable_64.h
1015
#define __swp_type(entry) (((entry).val >> PAGE_SHIFT) & 0x7fUL)
arch/um/include/asm/pgtable.h
312
#define __swp_type(x) (((x).val >> 5) & 0x1f)
arch/x86/include/asm/pgtable-2level.h
102
#define __swp_type(x) (((x).val >> _SWP_TYPE_SHIFT) \
arch/x86/include/asm/pgtable-3level.h
173
#define __swp_type(x) (((x).val) & _SWP_TYPE_MASK)
arch/x86/include/asm/pgtable_64.h
221
#define __swp_type(x) ((x).val >> (64 - SWP_TYPE_BITS))
arch/xtensa/include/asm/pgtable.h
343
#define __swp_type(entry) (((entry).val >> 6) & 0x1f)