Lines Matching defs:bitfield
2 * Bitfield
12 #include "bitfield.h"
15 struct bitfield {
21 struct bitfield * bitfield_alloc(size_t max_bits)
23 struct bitfield *bf;
34 void bitfield_free(struct bitfield *bf)
40 void bitfield_set(struct bitfield *bf, size_t bit)
48 void bitfield_clear(struct bitfield *bf, size_t bit)
56 int bitfield_is_set(struct bitfield *bf, size_t bit)
76 int bitfield_get_first_zero(struct bitfield *bf)