SWP_TYPE_BITS 720 arch/powerpc/include/asm/book3s/64/pgtable.h BUILD_BUG_ON(MAX_SWAPFILES_SHIFT > SWP_TYPE_BITS); \ SWP_TYPE_BITS 731 arch/powerpc/include/asm/book3s/64/pgtable.h & ((1UL << SWP_TYPE_BITS) - 1)) SWP_TYPE_BITS 748 arch/powerpc/include/asm/book3s/64/pgtable.h #define _PAGE_SWP_SOFT_DIRTY (1UL << (SWP_TYPE_BITS + _PAGE_BIT_SWAP_TYPE)) SWP_TYPE_BITS 344 arch/powerpc/include/asm/nohash/64/pgtable.h BUILD_BUG_ON(MAX_SWAPFILES_SHIFT > SWP_TYPE_BITS); \ SWP_TYPE_BITS 349 arch/powerpc/include/asm/nohash/64/pgtable.h & ((1UL << SWP_TYPE_BITS) - 1)) SWP_TYPE_BITS 87 arch/x86/include/asm/pgtable-2level.h #define MAX_SWAPFILES_CHECK() BUILD_BUG_ON(MAX_SWAPFILES_SHIFT > SWP_TYPE_BITS) SWP_TYPE_BITS 90 arch/x86/include/asm/pgtable-2level.h & ((1U << SWP_TYPE_BITS) - 1)) SWP_TYPE_BITS 255 arch/x86/include/asm/pgtable-3level.h #define SWP_OFFSET_SHIFT (SWP_OFFSET_FIRST_BIT + SWP_TYPE_BITS) SWP_TYPE_BITS 271 arch/x86/include/asm/pgtable-3level.h (~(pteval_t)(offset) << SWP_OFFSET_SHIFT >> SWP_TYPE_BITS) \ SWP_TYPE_BITS 272 arch/x86/include/asm/pgtable-3level.h | ((pteval_t)(type) << (64 - SWP_TYPE_BITS)) }) SWP_TYPE_BITS 282 arch/x86/include/asm/pgtable-3level.h #define __pteval_swp_type(x) ((unsigned long)((x).pte >> (64 - SWP_TYPE_BITS))) SWP_TYPE_BITS 283 arch/x86/include/asm/pgtable-3level.h #define __pteval_swp_offset(x) ((unsigned long)(~((x).pte) << SWP_TYPE_BITS >> SWP_OFFSET_SHIFT)) SWP_TYPE_BITS 214 arch/x86/include/asm/pgtable_64.h #define SWP_OFFSET_SHIFT (SWP_OFFSET_FIRST_BIT+SWP_TYPE_BITS) SWP_TYPE_BITS 216 arch/x86/include/asm/pgtable_64.h #define MAX_SWAPFILES_CHECK() BUILD_BUG_ON(MAX_SWAPFILES_SHIFT > SWP_TYPE_BITS) SWP_TYPE_BITS 219 arch/x86/include/asm/pgtable_64.h #define __swp_type(x) ((x).val >> (64 - SWP_TYPE_BITS)) SWP_TYPE_BITS 222 arch/x86/include/asm/pgtable_64.h #define __swp_offset(x) (~(x).val << SWP_TYPE_BITS >> SWP_OFFSET_SHIFT) SWP_TYPE_BITS 230 arch/x86/include/asm/pgtable_64.h (~(unsigned long)(offset) << SWP_OFFSET_SHIFT >> SWP_TYPE_BITS) \ SWP_TYPE_BITS 231 arch/x86/include/asm/pgtable_64.h | ((unsigned long)(type) << (64-SWP_TYPE_BITS)) }) SWP_TYPE_BITS 389 arch/xtensa/include/asm/pgtable.h #define MAX_SWAPFILES_CHECK() BUILD_BUG_ON(MAX_SWAPFILES_SHIFT > SWP_TYPE_BITS)