Searched refs:SWP_TB_COUNT_MASK (Results 1 – 1 of 1) sorted by relevance
74 #define SWP_TB_COUNT_MASK (~((~0UL) >> SWP_TB_COUNT_BITS)) macro114 VM_WARN_ON_ONCE(swp_tb & SWP_TB_COUNT_MASK); in pfn_to_swp_tb()131 VM_WARN_ON_ONCE(shadow && ((unsigned long)shadow & SWP_TB_COUNT_MASK)); in shadow_to_swp_tb()171 return pfn_folio((swp_tb & ~SWP_TB_COUNT_MASK) >> SWP_TB_PFN_MARK_BITS); in swp_tb_to_folio()178 return (void *)(swp_tb & ~SWP_TB_COUNT_MASK); in swp_tb_to_shadow()184 return ((swp_tb & SWP_TB_COUNT_MASK) >> SWP_TB_COUNT_SHIFT); in __swp_tb_get_count()196 return ((swp_tb & ~SWP_TB_COUNT_MASK) | __count_to_swp_tb(count)); in __swp_tb_mk_count()