man: sync "OUTPUT" section and after with HOWTO
[fio.git] / lib / axmap.h
CommitLineData
7ebd796f
JA
1#ifndef FIO_BITMAP_H
2#define FIO_BITMAP_H
3
4#include <inttypes.h>
e39c0676 5#include "types.h"
7ebd796f
JA
6
7struct axmap;
8struct axmap *axmap_new(unsigned long nr_bits);
9void axmap_free(struct axmap *bm);
10
11void axmap_clear(struct axmap *axmap, uint64_t bit_nr);
12void axmap_set(struct axmap *axmap, uint64_t bit_nr);
13unsigned int axmap_set_nr(struct axmap *axmap, uint64_t bit_nr, unsigned int nr_bits);
e39c0676 14bool axmap_isset(struct axmap *axmap, uint64_t bit_nr);
7ebd796f
JA
15uint64_t axmap_next_free(struct axmap *axmap, uint64_t bit_nr);
16void axmap_reset(struct axmap *axmap);
17
18#endif