MAX_SWAPFILES_SHIFT 550 fs/proc/task_mmu.c return swp_type(e) | (swp_offset(e) << MAX_SWAPFILES_SHIFT); MAX_SWAPFILES_SHIFT 37 include/linux/swap.h #define MAX_SWAPFILES (1 << MAX_SWAPFILES_SHIFT) MAX_SWAPFILES_SHIFT 40 include/linux/swap.h #define MAX_SWAPFILES ((1 << MAX_SWAPFILES_SHIFT)-2) MAX_SWAPFILES_SHIFT 12 include/linux/swapops.h #define SWP_TYPE_SHIFT(e) (sizeof(e.val) * 8 - MAX_SWAPFILES_SHIFT)