Searched refs:bit_nr (Results 1 – 2 of 2) sorted by relevance
/external/fio/lib/ |
D | axmap.c | 132 static int axmap_handler(struct axmap *axmap, uint64_t bit_nr, in axmap_handler() argument 140 unsigned long index = ulog64(bit_nr, i); in axmap_handler() 153 static int axmap_handler_topdown(struct axmap *axmap, uint64_t bit_nr, in axmap_handler_topdown() argument 161 unsigned long index = ulog64(bit_nr, --level); in axmap_handler_topdown() 184 void axmap_clear(struct axmap *axmap, uint64_t bit_nr) in axmap_clear() argument 186 axmap_handler(axmap, bit_nr, axmap_clear_fn, NULL); in axmap_clear() 254 static void __axmap_set(struct axmap *axmap, uint64_t bit_nr, in __axmap_set() argument 259 if (axmap->first_free >= bit_nr && in __axmap_set() 260 axmap->first_free < bit_nr + data->nr_bits) in __axmap_set() 263 if (bit_nr > axmap->nr_bits) in __axmap_set() [all …]
|
D | axmap.h | 10 void axmap_clear(struct axmap *axmap, uint64_t bit_nr); 11 void axmap_set(struct axmap *axmap, uint64_t bit_nr); 12 unsigned int axmap_set_nr(struct axmap *axmap, uint64_t bit_nr, unsigned int nr_bits); 13 int axmap_isset(struct axmap *axmap, uint64_t bit_nr); 14 uint64_t axmap_next_free(struct axmap *axmap, uint64_t bit_nr);
|