Home
last modified time | relevance | path

Searched refs:BLOCKS_PER_UNIT (Results 1 – 1 of 1) sorted by relevance

/external/fio/lib/
Daxmap.c35 #define BLOCKS_PER_UNIT (1U << UNIT_SHIFT) macro
36 #define BLOCKS_PER_UNIT_MASK (BLOCKS_PER_UNIT - 1)
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()
223 nr_bits = min(data->nr_bits, BLOCKS_PER_UNIT - bit); in axmap_set_fn()
274 data->set_bits != (BLOCKS_PER_UNIT - nr_bits)) in __axmap_set()
301 max_bits = BLOCKS_PER_UNIT - (bit_nr & BLOCKS_PER_UNIT_MASK); in axmap_set_nr()
402 data->bit = (data->bit + BLOCKS_PER_UNIT - 1) / BLOCKS_PER_UNIT; in axmap_next_free_fn()