Lines Matching refs:HBitmap

55 struct HBitmap {  struct
88 HBitmap *meta; argument
110 const HBitmap *hb = hbi->hb; in hbitmap_iter_skip_words() argument
169 void hbitmap_iter_init(HBitmapIter *hbi, const HBitmap *hb, uint64_t first) in hbitmap_iter_init()
196 int64_t hbitmap_next_dirty(const HBitmap *hb, int64_t start, int64_t count) in hbitmap_next_dirty()
220 int64_t hbitmap_next_zero(const HBitmap *hb, int64_t start, int64_t count) in hbitmap_next_zero()
273 bool hbitmap_next_dirty_area(const HBitmap *hb, int64_t start, int64_t end, in hbitmap_next_dirty_area()
304 bool hbitmap_status(const HBitmap *hb, int64_t start, int64_t count, in hbitmap_status()
337 bool hbitmap_empty(const HBitmap *hb) in hbitmap_empty()
342 int hbitmap_granularity(const HBitmap *hb) in hbitmap_granularity()
347 uint64_t hbitmap_count(const HBitmap *hb) in hbitmap_count()
384 static uint64_t hb_count_between(HBitmap *hb, uint64_t start, uint64_t last) in hb_count_between()
431 static bool hb_set_between(HBitmap *hb, int level, uint64_t start, in hb_set_between()
464 void hbitmap_set(HBitmap *hb, uint64_t start, uint64_t count) in hbitmap_set()
509 static bool hb_reset_between(HBitmap *hb, int level, uint64_t start, in hb_reset_between()
558 void hbitmap_reset(HBitmap *hb, uint64_t start, uint64_t count) in hbitmap_reset()
586 void hbitmap_reset_all(HBitmap *hb) in hbitmap_reset_all()
599 bool hbitmap_is_serializable(const HBitmap *hb) in hbitmap_is_serializable()
617 bool hbitmap_get(const HBitmap *hb, uint64_t item) in hbitmap_get()
627 uint64_t hbitmap_serialization_align(const HBitmap *hb) in hbitmap_serialization_align()
639 static void serialization_chunk(const HBitmap *hb, in serialization_chunk()
659 uint64_t hbitmap_serialization_size(const HBitmap *hb, in hbitmap_serialization_size()
673 void hbitmap_serialize_part(const HBitmap *hb, uint8_t *buf, in hbitmap_serialize_part()
695 void hbitmap_deserialize_part(HBitmap *hb, uint8_t *buf, in hbitmap_deserialize_part()
725 void hbitmap_deserialize_zeroes(HBitmap *hb, uint64_t start, uint64_t count, in hbitmap_deserialize_zeroes()
742 void hbitmap_deserialize_ones(HBitmap *hb, uint64_t start, uint64_t count, in hbitmap_deserialize_ones()
759 void hbitmap_deserialize_finish(HBitmap *bitmap) in hbitmap_deserialize_finish()
784 void hbitmap_free(HBitmap *hb) in hbitmap_free()
794 HBitmap *hbitmap_alloc(uint64_t size, int granularity) in hbitmap_alloc()
796 HBitmap *hb = g_new0(struct HBitmap, 1); in hbitmap_alloc()
823 void hbitmap_truncate(HBitmap *hb, uint64_t size) in hbitmap_truncate()
881 static void hbitmap_sparse_merge(HBitmap *dst, const HBitmap *src) in hbitmap_sparse_merge()
901 void hbitmap_merge(const HBitmap *a, const HBitmap *b, HBitmap *result) in hbitmap_merge()
947 char *hbitmap_sha256(const HBitmap *bitmap, Error **errp) in hbitmap_sha256()