Lines Matching defs:activemap

31 __FBSDID("$FreeBSD: releng/11.0/sbin/hastd/activemap.c 299090 2016-05-04 22:34:11Z asomers $");
45 #include "activemap.h"
53 struct activemap {
98 off2ext(const struct activemap *amp, off_t offset)
109 ext2off(const struct activemap *amp, int extent)
124 ext2reqs(const struct activemap *amp, int ext)
139 * Initialize activemap structure and allocate memory for internal needs.
143 activemap_init(struct activemap **ampp, uint64_t mediasize, uint32_t extentsize,
146 struct activemap *amp;
203 keepdirty_find(struct activemap *amp, int extent)
215 keepdirty_add(struct activemap *amp, int extent)
252 keepdirty_fill(struct activemap *amp)
261 keepdirty_free(struct activemap *amp)
277 activemap_free(struct activemap *amp)
296 activemap_write_start(struct activemap *amp, off_t offset, off_t length)
332 activemap_write_complete(struct activemap *amp, off_t offset, off_t length)
369 activemap_extent_complete(struct activemap *amp, int extent)
396 activemap_ndirty(const struct activemap *amp)
409 activemap_differ(const struct activemap *amp)
422 activemap_size(const struct activemap *amp)
435 activemap_ondisk_size(const struct activemap *amp)
447 activemap_copyin(struct activemap *amp, const unsigned char *buf, size_t size)
485 activemap_merge(struct activemap *amp, const unsigned char *buf, size_t size)
527 activemap_bitmap(struct activemap *amp, size_t *sizep)
563 activemap_sync_rewind(struct activemap *amp)
585 activemap_sync_offset(struct activemap *amp, off_t *lengthp, int *syncextp)
655 activemap_need_sync(struct activemap *amp, off_t offset, off_t length)
685 activemap_dump(const struct activemap *amp)