Searched refs:axmap (Results 1 – 6 of 6) sorted by relevance
47 struct axmap { struct62 void axmap_reset(struct axmap *axmap) in axmap_reset() argument66 for (i = 0; i < axmap->nr_levels; i++) { in axmap_reset()67 struct axmap_level *al = &axmap->levels[i]; in axmap_reset()72 axmap->first_free = 0; in axmap_reset()75 void axmap_free(struct axmap *axmap) in axmap_free() argument79 if (!axmap) in axmap_free()82 for (i = 0; i < axmap->nr_levels; i++) in axmap_free()83 sfree(axmap->levels[i].map); in axmap_free()85 sfree(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_first_free(struct axmap *axmap);15 uint64_t axmap_next_free(struct axmap *axmap, uint64_t bit_nr);16 void axmap_reset(struct axmap *axmap);
24 struct axmap *map; in test_regular()75 struct axmap *map; in test_multi()
35 cconv.c lib/prio_tree.c json.c lib/zipf.c lib/axmap.c \161 T_AXMAP_OBJS = t/axmap.o162 T_AXMAP_OBJS += lib/lfsr.o lib/axmap.o163 T_AXMAP_PROGS = t/axmap270 t/axmap: $(T_AXMAP_OBJS)
113 struct axmap *io_axmap;
31 lib/num2str.c lib/prio_tree.c lib/rand.c lib/zipf.c lib/inet_aton.c lib/axmap.c \