Searched refs:SWP_TB_COUNT_BITS (Results 1 – 1 of 1) sorted by relevance
73 #define SWP_TB_COUNT_BITS min(4, BITS_PER_LONG - SWP_TB_PFN_BITS) macro74 #define SWP_TB_COUNT_MASK (~((~0UL) >> SWP_TB_COUNT_BITS))75 #define SWP_TB_COUNT_SHIFT (BITS_PER_LONG - SWP_TB_COUNT_BITS)76 #define SWP_TB_COUNT_MAX ((1 << SWP_TB_COUNT_BITS) - 1)82 #define SWAP_COUNT_SHIFT SWP_TB_COUNT_BITS100 BUILD_BUG_ON(SWP_TB_COUNT_MAX < 2 || SWP_TB_COUNT_BITS < 2); in __count_to_swp_tb()111 (BITS_PER_LONG - SWP_TB_PFN_MARK_BITS - SWP_TB_COUNT_BITS)); in pfn_to_swp_tb()