Searched refs:MAX_SWAPFILES_SHIFT (Results 1 – 15 of 15) sorted by relevance
100 #define MAX_SWAPFILES_CHECK() BUILD_BUG_ON(MAX_SWAPFILES_SHIFT > 5)
172 #define MAX_SWAPFILES_CHECK() BUILD_BUG_ON(MAX_SWAPFILES_SHIFT > SWP_TYPE_BITS)
221 #define MAX_SWAPFILES_CHECK() BUILD_BUG_ON(MAX_SWAPFILES_SHIFT > SWP_TYPE_BITS)
50 #define MAX_SWAPFILES_SHIFT 5 macro118 ((1 << MAX_SWAPFILES_SHIFT) - SWP_DEVICE_NUM - \
27 #define SWP_TYPE_SHIFT (BITS_PER_XA_VALUE - MAX_SWAPFILES_SHIFT)
77 BUILD_BUG_ON(MAX_SWAPFILES_SHIFT != 5)
296 BUILD_BUG_ON(MAX_SWAPFILES_SHIFT > SWP_TYPE_BITS); \
348 #define MAX_SWAPFILES_CHECK() BUILD_BUG_ON(MAX_SWAPFILES_SHIFT > 5)
322 #define MAX_SWAPFILES_CHECK() BUILD_BUG_ON(MAX_SWAPFILES_SHIFT > __SWP_TYPE_BITS)
52 #define MAX_SWAPFILES_SHIFT 5 macro53 #define PM_SWAP_OFFSET(x) (((x) & PM_PFRAME_MASK) >> MAX_SWAPFILES_SHIFT)
1439 (offset << MAX_SWAPFILES_SHIFT); in pte_to_pagemap_entry()1504 (offset << MAX_SWAPFILES_SHIFT); in pagemap_pmd_range()1530 frame += (1 << MAX_SWAPFILES_SHIFT); in pagemap_pmd_range()
826 BUILD_BUG_ON(MAX_SWAPFILES_SHIFT > __SWP_TYPE_BITS)
1032 #define MAX_SWAPFILES_CHECK() BUILD_BUG_ON(MAX_SWAPFILES_SHIFT > __SWP_TYPE_BITS)
664 BUILD_BUG_ON(MAX_SWAPFILES_SHIFT > SWP_TYPE_BITS); \
837 entry = swp_entry((1 << MAX_SWAPFILES_SHIFT) - 1, max_swap_offset); in pte_swap_exclusive_tests()