activemap
ext2off(const struct activemap *amp, int extent)
ext2reqs(const struct activemap *amp, int ext)
activemap_init(struct activemap **ampp, uint64_t mediasize, uint32_t extentsize,
struct activemap *amp;
keepdirty_find(struct activemap *amp, int extent)
keepdirty_add(struct activemap *amp, int extent)
keepdirty_fill(struct activemap *amp)
keepdirty_free(struct activemap *amp)
activemap_free(struct activemap *amp)
activemap_write_start(struct activemap *amp, off_t offset, off_t length)
activemap_write_complete(struct activemap *amp, off_t offset, off_t length)
activemap_extent_complete(struct activemap *amp, int extent)
activemap_ndirty(const struct activemap *amp)
activemap_differ(const struct activemap *amp)
activemap_size(const struct activemap *amp)
activemap_ondisk_size(const struct activemap *amp)
activemap_copyin(struct activemap *amp, const unsigned char *buf, size_t size)
activemap_merge(struct activemap *amp, const unsigned char *buf, size_t size)
activemap_bitmap(struct activemap *amp, size_t *sizep)
activemap_sync_rewind(struct activemap *amp)
activemap_sync_offset(struct activemap *amp, off_t *lengthp, int *syncextp)
activemap_need_sync(struct activemap *amp, off_t offset, off_t length)
activemap_dump(const struct activemap *amp)
off2ext(const struct activemap *amp, off_t offset)
struct activemap;
int activemap_init(struct activemap **ampp, uint64_t mediasize,
void activemap_free(struct activemap *amp);
bool activemap_write_start(struct activemap *amp, off_t offset, off_t length);
bool activemap_write_complete(struct activemap *amp, off_t offset,
bool activemap_extent_complete(struct activemap *amp, int extent);
uint64_t activemap_ndirty(const struct activemap *amp);
bool activemap_differ(const struct activemap *amp);
size_t activemap_size(const struct activemap *amp);
size_t activemap_ondisk_size(const struct activemap *amp);
void activemap_copyin(struct activemap *amp, const unsigned char *buf,
void activemap_merge(struct activemap *amp, const unsigned char *buf,
const unsigned char *activemap_bitmap(struct activemap *amp, size_t *sizep);
void activemap_sync_rewind(struct activemap *amp);
off_t activemap_sync_offset(struct activemap *amp, off_t *lengthp,
bool activemap_need_sync(struct activemap *amp, off_t offset, off_t length);
void activemap_dump(const struct activemap *amp);
struct activemap *hr_amp;