Lines Matching refs:UNIT_SHIFT
28 #define UNIT_SHIFT 6 macro
30 #define UNIT_SHIFT 5 macro
35 #define BLOCKS_PER_UNIT (1U << UNIT_SHIFT)
56 val >>= UNIT_SHIFT; in ulog64()
98 i = (nr_bits + BLOCKS_PER_UNIT - 1) >> UNIT_SHIFT; in axmap_new()
100 i = (i + BLOCKS_PER_UNIT - 1) >> UNIT_SHIFT; in axmap_new()
112 al->map_size = (nr_bits + BLOCKS_PER_UNIT - 1) >> UNIT_SHIFT; in axmap_new()
117 nr_bits = (nr_bits + BLOCKS_PER_UNIT - 1) >> UNIT_SHIFT; in axmap_new()
141 unsigned long offset = index >> UNIT_SHIFT; in axmap_handler()
162 unsigned long offset = index >> UNIT_SHIFT; in axmap_handler_topdown()
362 ret = index = (j << UNIT_SHIFT) + ffz(al->map[j]); in axmap_find_first_free()