Home
last modified time | relevance | path

Searched refs:HBitmap (Results 1 – 9 of 9) sorted by relevance

/openbmc/qemu/include/qemu/
H A Dhbitmap.h18 typedef struct HBitmap HBitmap; typedef
37 const HBitmap *hb;
62 HBitmap *hbitmap_alloc(uint64_t size, int granularity);
72 void hbitmap_truncate(HBitmap *hb, uint64_t size);
81 void hbitmap_merge(const HBitmap *a, const HBitmap *b, HBitmap *result);
89 bool hbitmap_empty(const HBitmap *hb);
97 int hbitmap_granularity(const HBitmap *hb);
105 uint64_t hbitmap_count(const HBitmap *hb);
115 void hbitmap_set(HBitmap *hb, uint64_t start, uint64_t count);
130 void hbitmap_reset(HBitmap *hb, uint64_t start, uint64_t count);
[all …]
/openbmc/qemu/util/
H A Dhbitmap.c55 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()
[all …]
/openbmc/qemu/block/
H A Ddirty-bitmap.c35 HBitmap *bitmap; /* Dirty bitmap implementation */
574 void bdrv_clear_dirty_bitmap(BdrvDirtyBitmap *bitmap, HBitmap **out) in bdrv_clear_dirty_bitmap()
582 HBitmap *backup = bitmap->bitmap; in bdrv_clear_dirty_bitmap()
590 void bdrv_restore_dirty_bitmap(BdrvDirtyBitmap *bitmap, HBitmap *backup) in bdrv_restore_dirty_bitmap()
592 HBitmap *tmp = bitmap->bitmap; in bdrv_restore_dirty_bitmap()
814 HBitmap **backup, Error **errp) in bdrv_merge_dirty_bitmap()
860 HBitmap **backup, in bdrv_dirty_bitmap_merge_internal()
/openbmc/qemu/include/block/
H A Dblock_int-global-state.h255 void bdrv_restore_dirty_bitmap(BdrvDirtyBitmap *bitmap, HBitmap *backup);
279 HBitmap **backup, Error **errp);
H A Dblock_int-io.h108 void bdrv_clear_dirty_bitmap(BdrvDirtyBitmap *bitmap, HBitmap **out);
111 HBitmap **backup, bool lock);
H A Ddirty-bitmap.h88 HBitmap **backup, Error **errp);
/openbmc/qemu/block/monitor/
H A Dbitmap-qmp-cmds.c250 HBitmap **backup, Error **errp) in block_dirty_bitmap_merge()
256 HBitmap *local_backup = NULL; in block_dirty_bitmap_merge()
/openbmc/qemu/tests/unit/
H A Dtest-hbitmap.c24 HBitmap *hb;
/openbmc/qemu/
H A Dblockdev.c1844 HBitmap *backup;