filebuf
char *ccname, filebuf[256];
if (read(fd, filebuf, t->headerlen) != (ssize_t)t->headerlen)
assert(memcmp(filebuf, t->header, t->headerlen) == 0);
if (read(fd, filebuf, t->princlen) != (ssize_t)t->princlen)
assert(memcmp(filebuf, t->princ, t->princlen) == 0);
if (read(fd, filebuf, t->cred1len) != (ssize_t)t->cred1len)
assert(memcmp(filebuf, t->cred1, t->cred1len) == 0);
if (read(fd, filebuf, t->cred2len) != (ssize_t)t->cred2len)
assert(memcmp(filebuf, t->cred2, t->cred2len) == 0);
uint8_t *filebuf;
filebuf = malloc(PAGE_SIZE, M_VERIEXEC, M_WAITOK);
error = vn_rdwr_inchunks(UIO_READ, vp, filebuf, count, offset,
(ip->ops->update)(ctx, filebuf, nread);
free(filebuf, M_VERIEXEC);
static struct filebuf fb_pool[FILEBUF_POOL_ITEMS];
struct filebuf *fb;
buf = zfs->filebuf;
bufsz = sizeof(zfs->filebuf);
memset(zfs->filebuf, 0, sizeof(zfs->filebuf));
mzap = (mzap_phys_t *)&zfs->filebuf[0];
vdev_pwrite_dnode_data(zfs, dnode, zfs->filebuf, bytes, loc);
memset(zfs->filebuf, 0, sizeof(zfs->filebuf));
zaphdr = (zap_phys_t *)&zfs->filebuf[0];
ptrhasht = (uint64_t *)(&zfs->filebuf[0] + blksz / 2);
vdev_pwrite_dnode_indir(zfs, dnode, 0, 1, zfs->filebuf, blksz, loc,
char filebuf[MAXBLOCKSIZE] __aligned(alignof(uint64_t));