Searched refs:activemap (Results 1 - 9 of 9) sorted by relevance
/freebsd-11-stable/sbin/hastd/ |
H A D | activemap.h | 31 * $FreeBSD: stable/11/sbin/hastd/activemap.h 330449 2018-03-05 07:26:05Z eadler $ 40 struct activemap; 42 int activemap_init(struct activemap **ampp, uint64_t mediasize, 44 void activemap_free(struct activemap *amp); 46 bool activemap_write_start(struct activemap *amp, off_t offset, off_t length); 47 bool activemap_write_complete(struct activemap *amp, off_t offset, 49 bool activemap_extent_complete(struct activemap *amp, int extent); 50 uint64_t activemap_ndirty(const struct activemap *amp); 52 bool activemap_differ(const struct activemap *amp); 53 size_t activemap_size(const struct activemap *am [all...] |
H A D | activemap.c | 33 __FBSDID("$FreeBSD: stable/11/sbin/hastd/activemap.c 330449 2018-03-05 07:26:05Z eadler $"); 47 #include "activemap.h" 55 struct activemap { struct 100 off2ext(const struct activemap *amp, off_t offset) 111 ext2off(const struct activemap *amp, int extent) 126 ext2reqs(const struct activemap *amp, int ext) 141 * Initialize activemap structure and allocate memory for internal needs. 145 activemap_init(struct activemap **ampp, uint64_t mediasize, uint32_t extentsize, 148 struct activemap *amp; 205 keepdirty_find(struct activemap *am [all...] |
H A D | hast.h | 50 #include <activemap.h> 232 struct activemap *hr_amp; 246 /* Number of activemap updates. */ 256 /* Number of activemap write errors. */ 258 /* Number of activemap flush errors. */
|
H A D | Makefile | 7 SRCS= activemap.c
|
H A D | secondary.c | 54 #include <activemap.h> 246 "Unable to allocate memory (%zu bytes) for activemap.", 342 pjdlog_exit(LOG_ERR, "Unable to read activemap"); 400 pjdlog_exit(EX_TEMPFAIL, "Unable to send activemap to %s", 766 * already received our activemap, merged it and stored 767 * locally. We can now safely clear our activemap. 775 pjdlog_warning("Unable to allocate memory to clear local activemap."); 781 "Unable to store cleared activemap"); 788 pjdlog_debug(1, "Local activemap cleared.");
|
H A D | hastd.c | 54 #include <activemap.h>
|
H A D | primary.c | 56 #include <activemap.h> 350 pjdlog_errno(LOG_ERR, "Unable to flush activemap to disk"); 362 "Unable to flush disk cache on activemap update"); 535 primary_exit(EX_TEMPFAIL, "Unable to create activemap"); 548 "Unable to allocate buffer for activemap."); 552 primary_exit(EX_NOINPUT, "Unable to read activemap"); 822 pjdlog_error("Unable to allocate memory for remote activemap (mapsize=%ju).", 829 * download its activemap. 834 "Unable to receive remote activemap"); 1178 * Acknowledge write completion to the kernel, but don't update activemap ye [all...] |
/freebsd-11-stable/sbin/hastctl/ |
H A D | Makefile | 9 SRCS= activemap.c
|
H A D | hastctl.c | 43 #include <activemap.h> 352 printf(" activemap updates: %ju\n",
|
Completed in 728 milliseconds