Searched refs:activemap (Results 1 - 9 of 9) sorted by relevance

/freebsd-9.3-release/sbin/hastd/
H A Dactivemap.h38 struct activemap;
40 int activemap_init(struct activemap **ampp, uint64_t mediasize,
42 void activemap_free(struct activemap *amp);
44 bool activemap_write_start(struct activemap *amp, off_t offset, off_t length);
45 bool activemap_write_complete(struct activemap *amp, off_t offset,
47 bool activemap_extent_complete(struct activemap *amp, int extent);
48 uint64_t activemap_ndirty(const struct activemap *amp);
50 bool activemap_differ(const struct activemap *amp);
51 size_t activemap_size(const struct activemap *amp);
52 size_t activemap_ondisk_size(const struct activemap *am
[all...]
H A Dactivemap.c45 #include "activemap.h"
53 struct activemap { struct
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 *am
[all...]
H A Dhast.h48 #include <activemap.h>
230 struct activemap *hr_amp;
244 /* Number of activemap updates. */
254 /* Number of activemap write errors. */
256 /* Number of activemap flush errors. */
H A DMakefile6 SRCS= activemap.c
H A Dhastd.c52 #include <activemap.h>
H A Dsecondary.c52 #include <activemap.h>
244 "Unable to allocate memory (%zu bytes) for activemap.",
340 pjdlog_exit(LOG_ERR, "Unable to read activemap");
398 pjdlog_exit(EX_TEMPFAIL, "Unable to send activemap to %s",
764 * already received our activemap, merged it and stored
765 * locally. We can now safely clear our activemap.
773 pjdlog_warning("Unable to allocate memory to clear local activemap.");
779 "Unable to store cleared activemap");
786 pjdlog_debug(1, "Local activemap cleared.");
H A Dprimary.c54 #include <activemap.h>
349 pjdlog_errno(LOG_ERR, "Unable to flush activemap to disk");
361 "Unable to flush disk cache on activemap update");
534 primary_exit(EX_TEMPFAIL, "Unable to create activemap");
547 "Unable to allocate buffer for activemap.");
551 primary_exit(EX_NOINPUT, "Unable to read activemap");
821 pjdlog_error("Unable to allocate memory for remote activemap (mapsize=%ju).",
828 * download its activemap.
833 "Unable to receive remote activemap");
1177 * Acknowledge write completion to the kernel, but don't update activemap ye
[all...]
/freebsd-9.3-release/sbin/hastctl/
H A DMakefile8 SRCS= activemap.c
H A Dhastctl.c41 #include <activemap.h>
350 printf(" activemap updates: %ju\n",

Completed in 97 milliseconds