Lines Matching refs:activemap
37 struct activemap;
39 int activemap_init(struct activemap **ampp, uint64_t mediasize,
41 void activemap_free(struct activemap *amp);
43 bool activemap_write_start(struct activemap *amp, off_t offset, off_t length);
44 bool activemap_write_complete(struct activemap *amp, off_t offset,
46 bool activemap_extent_complete(struct activemap *amp, int extent);
47 uint64_t activemap_ndirty(const struct activemap *amp);
49 bool activemap_differ(const struct activemap *amp);
50 size_t activemap_size(const struct activemap *amp);
51 size_t activemap_ondisk_size(const struct activemap *amp);
52 void activemap_copyin(struct activemap *amp, const unsigned char *buf,
54 void activemap_merge(struct activemap *amp, const unsigned char *buf,
56 const unsigned char *activemap_bitmap(struct activemap *amp, size_t *sizep);
61 void activemap_sync_rewind(struct activemap *amp);
62 off_t activemap_sync_offset(struct activemap *amp, off_t *lengthp,
64 bool activemap_need_sync(struct activemap *amp, off_t offset, off_t length);
66 void activemap_dump(const struct activemap *amp);