BLOCKSZ
nget = (nget + BLOCKSZ - 1)/BLOCKSZ * BLOCKSZ;
nget = (nb + BLOCKSZ - 1) / BLOCKSZ * BLOCKSZ;
nget = (nget + (BLOCKSZ - 1)) /
BLOCKSZ * BLOCKSZ;
int block_size = BLOCKSZ;
rwc_pwrite(fd, buf, BLOCKSZ, j * BLOCKSZ);
rwc_pwrite(fd, buf, BLOCKSZ, (lrand48() % nblocks) * BLOCKSZ);
char buf[BLOCKSZ];
nblocks = ss.st_size / BLOCKSZ;
BLOCKSZ);
for (int i = 0; i < BLOCKSZ; i++)
static uint8_t randbuf[BLOCKSZ];
bcopy(randbuf, buf, BLOCKSZ);
bzero(buf, BLOCKSZ - 10);
bzero(buf, BLOCKSZ - i * 512 + 256);