Searched refs:RESMAP_MASK (Results 1 – 3 of 3) sorted by relevance
314 #define RESMAP_MASK(n) (~0UL << (BITS_PER_LONG - (n))) macro362 *res_ptr = RESMAP_MASK(bits_wanted); in sba_search_bitmap()385 mask = RESMAP_MASK(bits_wanted) >> bitshiftcnt; in sba_search_bitmap()404 mask = RESMAP_MASK(bits_wanted); in sba_search_bitmap()497 unsigned long m = RESMAP_MASK(bits_not_wanted) >> (pide & (BITS_PER_LONG - 1)); in sba_free_range()
151 #define RESMAP_MASK(_page_nr) \ macro1160 return *RESMAP_PTR(res_map, page_nr) & RESMAP_MASK(page_nr) ? 1 : 0; in resmap_page_reserved()1166 *RESMAP_PTR(res_map, page_nr) |= RESMAP_MASK(page_nr); in resmap_reserve_page()1172 *RESMAP_PTR(res_map, page_nr) &= ~RESMAP_MASK(page_nr); in resmap_free_page()
442 #define RESMAP_MASK(n) ~(~0UL << (n)) macro546 base_mask = RESMAP_MASK(bits_wanted); in sba_search_bitmap()597 res_ptr[i] |= RESMAP_MASK(bits); in sba_search_bitmap()752 m = RESMAP_MASK(bits_not_wanted) << (pide & (BITS_PER_LONG - 1)); in sba_free_range()