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

  /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/tests/fs/lfs/
t_rfw.c 62 #define CHUNKSIZE 300
149 write_file(UNCHANGED_CONTROL, CHUNKSIZE);
150 write_file(TO_BE_DELETED, CHUNKSIZE);
151 write_file(TO_BE_APPENDED, CHUNKSIZE);
180 write_file(NEWLY_CREATED, CHUNKSIZE);
183 write_file(TO_BE_APPENDED, CHUNKSIZE);
242 if (check_file(UNCHANGED_CONTROL, CHUNKSIZE) != 0)
250 if (check_file(TO_BE_APPENDED, 2 * CHUNKSIZE) != 0)
256 if (check_file(NEWLY_CREATED, CHUNKSIZE) != 0)
  /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 2337 #define CHUNKSIZE MAXPHYS
2363 while (i && cbp->b_bcount < CHUNKSIZE) {
2366 if (bp->b_bcount > (CHUNKSIZE - cbp->b_bcount))
2380 p = cbp->b_data = lfs_malloc(fs, CHUNKSIZE,

Completed in 15 milliseconds