Symbol: CHUNKSIZE
games/fortune/strfile/strfile.c
101
ptr = malloc(CHUNKSIZE * sizeof *ptr); \
games/fortune/strfile/strfile.c
102
else if (((sz) + 1) % CHUNKSIZE == 0) \
games/fortune/strfile/strfile.c
103
ptr = realloc(ptr, ((sz) + CHUNKSIZE) * sizeof *ptr); \
sbin/newfs_lfs/newfs.c
118
char buf[CHUNKSIZE];
sbin/newfs_lfs/newfs.c
126
for (off = 0; finish - start < 10; off += CHUNKSIZE) {
sbin/newfs_lfs/newfs.c
127
if (pread(fd, buf, CHUNKSIZE, off) < 0)
sys/ufs/lfs/lfs_segment.c
2339
while (i && cbp->b_bcount < CHUNKSIZE) {
sys/ufs/lfs/lfs_segment.c
2342
if (bp->b_bcount > (CHUNKSIZE - cbp->b_bcount))
sys/ufs/lfs/lfs_segment.c
2356
p = cbp->b_data = lfs_malloc(fs, CHUNKSIZE,
tests/fs/lfs/t_fcntl.c
331
fd = setup(width, &args, CHUNKSIZE);
tests/fs/lfs/t_fcntl.c
394
teardown(fd, &args, CHUNKSIZE);
tests/fs/lfs/t_resize.c
153
if (check_file(UNCHANGED_CONTROL, CHUNKSIZE, 0) != 0)
tests/fs/lfs/t_resize.c
91
write_file(UNCHANGED_CONTROL, CHUNKSIZE, 1, 0);
tests/fs/lfs/t_rfw.c
102
write_file(UNCHANGED_CONTROL, CHUNKSIZE, 1, 3);
tests/fs/lfs/t_rfw.c
103
write_file(TO_BE_DELETED, CHUNKSIZE, 1, 4);
tests/fs/lfs/t_rfw.c
104
write_file(TO_BE_APPENDED, CHUNKSIZE, 1, 5);
tests/fs/lfs/t_rfw.c
133
write_file(NEWLY_CREATED, CHUNKSIZE, 1, 6);
tests/fs/lfs/t_rfw.c
136
write_file(TO_BE_APPENDED, CHUNKSIZE, 1, 5);
tests/fs/lfs/t_rfw.c
199
if (check_file(UNCHANGED_CONTROL, CHUNKSIZE, 3) != 0)
tests/fs/lfs/t_rfw.c
207
if (check_file(TO_BE_APPENDED, 2 * CHUNKSIZE, 5) != 0)
tests/fs/lfs/t_rfw.c
213
if (check_file(NEWLY_CREATED, CHUNKSIZE, 6) != 0)
usr.sbin/mdsetimage/mdsetimage.c
185
char buf[CHUNKSIZE];
usr.sbin/mdsetimage/mdsetimage.c
203
todo = (left_to_copy > CHUNKSIZE) ? CHUNKSIZE : left_to_copy;