HomeSort by: relevance | last modified time | path
    Searched refs:CHUNKSIZE (Results 1 - 8 of 8) sorted by relevancy

  /src/tests/fs/lfs/
util.h 19 #define CHUNKSIZE 300
t_rfw.c 102 write_file(UNCHANGED_CONTROL, CHUNKSIZE, 1, 3);
103 write_file(TO_BE_DELETED, CHUNKSIZE, 1, 4);
104 write_file(TO_BE_APPENDED, CHUNKSIZE, 1, 5);
133 write_file(NEWLY_CREATED, CHUNKSIZE, 1, 6);
136 write_file(TO_BE_APPENDED, CHUNKSIZE, 1, 5);
199 if (check_file(UNCHANGED_CONTROL, CHUNKSIZE, 3) != 0)
207 if (check_file(TO_BE_APPENDED, 2 * CHUNKSIZE, 5) != 0)
213 if (check_file(NEWLY_CREATED, CHUNKSIZE, 6) != 0)
t_resize.c 91 write_file(UNCHANGED_CONTROL, CHUNKSIZE, 1, 0);
153 if (check_file(UNCHANGED_CONTROL, CHUNKSIZE, 0) != 0)
t_fcntl.c 331 fd = setup(width, &args, CHUNKSIZE);
394 teardown(fd, &args, CHUNKSIZE);
  /src/usr.sbin/mdsetimage/
mdsetimage.c 58 #define CHUNKSIZE (64 * 1024)
185 char buf[CHUNKSIZE];
203 todo = (left_to_copy > CHUNKSIZE) ? CHUNKSIZE : left_to_copy;
  /src/games/fortune/strfile/
strfile.c 97 # define CHUNKSIZE 512
101 ptr = malloc(CHUNKSIZE * sizeof *ptr); \
102 else if (((sz) + 1) % CHUNKSIZE == 0) \
103 ptr = realloc(ptr, ((sz) + CHUNKSIZE) * sizeof *ptr); \
149 * CHUNKSIZE blocks; if the latter, we just write each pointer,
  /src/sbin/newfs_lfs/
newfs.c 110 /* CHUNKSIZE should be larger than MAXPHYS */
111 #define CHUNKSIZE (1024 * 1024)
118 char buf[CHUNKSIZE];
126 for (off = 0; finish - start < 10; off += CHUNKSIZE) {
127 if (pread(fd, buf, CHUNKSIZE, off) < 0)
  /src/sys/ufs/lfs/
lfs_segment.c 2313 #define CHUNKSIZE MAXPHYS
2339 while (i && cbp->b_bcount < CHUNKSIZE) {
2342 if (bp->b_bcount > (CHUNKSIZE - cbp->b_bcount))
2356 p = cbp->b_data = lfs_malloc(fs, CHUNKSIZE,

Completed in 21 milliseconds