MAX_SWAPFILES_SHIFT 357 arch/arm/include/asm/pgtable.h #define MAX_SWAPFILES_CHECK() BUILD_BUG_ON(MAX_SWAPFILES_SHIFT > __SWP_TYPE_BITS) MAX_SWAPFILES_SHIFT 837 arch/arm64/include/asm/pgtable.h #define MAX_SWAPFILES_CHECK() BUILD_BUG_ON(MAX_SWAPFILES_SHIFT > __SWP_TYPE_BITS) MAX_SWAPFILES_SHIFT 720 arch/powerpc/include/asm/book3s/64/pgtable.h BUILD_BUG_ON(MAX_SWAPFILES_SHIFT > SWP_TYPE_BITS); \ MAX_SWAPFILES_SHIFT 344 arch/powerpc/include/asm/nohash/64/pgtable.h BUILD_BUG_ON(MAX_SWAPFILES_SHIFT > SWP_TYPE_BITS); \ MAX_SWAPFILES_SHIFT 423 arch/riscv/include/asm/pgtable.h BUILD_BUG_ON(MAX_SWAPFILES_SHIFT > __SWP_TYPE_BITS) MAX_SWAPFILES_SHIFT 280 arch/unicore32/include/asm/pgtable.h BUILD_BUG_ON(MAX_SWAPFILES_SHIFT > __SWP_TYPE_BITS) MAX_SWAPFILES_SHIFT 87 arch/x86/include/asm/pgtable-2level.h #define MAX_SWAPFILES_CHECK() BUILD_BUG_ON(MAX_SWAPFILES_SHIFT > SWP_TYPE_BITS) MAX_SWAPFILES_SHIFT 257 arch/x86/include/asm/pgtable-3level.h #define MAX_SWAPFILES_CHECK() BUILD_BUG_ON(MAX_SWAPFILES_SHIFT > 5) MAX_SWAPFILES_SHIFT 216 arch/x86/include/asm/pgtable_64.h #define MAX_SWAPFILES_CHECK() BUILD_BUG_ON(MAX_SWAPFILES_SHIFT > SWP_TYPE_BITS) MAX_SWAPFILES_SHIFT 389 arch/xtensa/include/asm/pgtable.h #define MAX_SWAPFILES_CHECK() BUILD_BUG_ON(MAX_SWAPFILES_SHIFT > SWP_TYPE_BITS) MAX_SWAPFILES_SHIFT 1344 fs/proc/task_mmu.c (swp_offset(entry) << MAX_SWAPFILES_SHIFT); MAX_SWAPFILES_SHIFT 1401 fs/proc/task_mmu.c (offset << MAX_SWAPFILES_SHIFT); MAX_SWAPFILES_SHIFT 1424 fs/proc/task_mmu.c frame += (1 << MAX_SWAPFILES_SHIFT); MAX_SWAPFILES_SHIFT 95 include/linux/swap.h ((1 << MAX_SWAPFILES_SHIFT) - SWP_DEVICE_NUM - \ MAX_SWAPFILES_SHIFT 23 include/linux/swapops.h #define SWP_TYPE_SHIFT (BITS_PER_XA_VALUE - MAX_SWAPFILES_SHIFT) MAX_SWAPFILES_SHIFT 53 tools/vm/page-types.c #define PM_SWAP_OFFSET(x) (((x) & PM_PFRAME_MASK) >> MAX_SWAPFILES_SHIFT)