Searched refs:axmap (Results 1 – 5 of 5) sorted by relevance
46 struct axmap { struct61 void axmap_reset(struct axmap *axmap) in axmap_reset() argument65 for (i = 0; i < axmap->nr_levels; i++) { in axmap_reset()66 struct axmap_level *al = &axmap->levels[i]; in axmap_reset()71 axmap->first_free = 0; in axmap_reset()74 void axmap_free(struct axmap *axmap) in axmap_free() argument78 if (!axmap) in axmap_free()81 for (i = 0; i < axmap->nr_levels; i++) in axmap_free()82 free(axmap->levels[i].map); in axmap_free()84 free(axmap->levels); in axmap_free()[all …]
6 struct axmap;7 struct axmap *axmap_new(unsigned long nr_bits);8 void axmap_free(struct axmap *bm);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);15 void axmap_reset(struct axmap *axmap);
24 struct axmap *map; in test_regular()75 struct axmap *map; in test_multi()
115 struct axmap *io_axmap;160 FILE_FLAG_FNS(axmap);
35 lib/num2str.c lib/prio_tree.c lib/rand.c lib/zipf.c lib/inet_aton.c lib/axmap.c \