Searched refs:RESMAP_MASK (Results 1 – 2 of 2) sorted by relevance
318 #define RESMAP_MASK(n) (~0UL << (BITS_PER_LONG - (n))) macro366 *res_ptr = RESMAP_MASK(bits_wanted); in sba_search_bitmap()389 mask = RESMAP_MASK(bits_wanted) >> bitshiftcnt; in sba_search_bitmap()408 mask = RESMAP_MASK(bits_wanted); in sba_search_bitmap()501 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()