Lines Matching defs:mapsize
527 size_t mapsize;
543 mapsize = activemap_ondisk_size(res->hr_amp);
544 buf = calloc(1, mapsize);
549 if (pread(res->hr_localfd, buf, mapsize, METADATA_SIZE) !=
550 (ssize_t)mapsize) {
553 activemap_copyin(res->hr_amp, buf, mapsize);
642 uint32_t mapsize;
817 mapsize = nv_get_uint32(nvin, "mapsize");
818 if (mapsize > 0) {
819 map = malloc(mapsize);
821 pjdlog_error("Unable to allocate memory for remote activemap (mapsize=%ju).",
822 (uintmax_t)mapsize);
831 mapsize) == -1) {
842 activemap_merge(res->hr_amp, map, mapsize);