Searched refs:RESMAP_MASK (Results 1 – 2 of 2) sorted by relevance
316 #define RESMAP_MASK(n) (~0UL << (BITS_PER_LONG - (n))) macro364 *res_ptr = RESMAP_MASK(bits_wanted); in sba_search_bitmap()387 mask = RESMAP_MASK(bits_wanted) >> bitshiftcnt; in sba_search_bitmap()406 mask = RESMAP_MASK(bits_wanted); in sba_search_bitmap()499 unsigned long m = RESMAP_MASK(bits_not_wanted) >> (pide & (BITS_PER_LONG - 1)); in sba_free_range()
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()