/src/sys/stand/ |
copy.c | 46 #define BSIZE 10240 54 register int from, to, record, rcc, wcc, bsize = BSIZE; local in function:main 55 char buf[BSIZE]; 60 if (!(rcc = read(from, buf, bsize))) 67 if (rcc != bsize) { 69 bsize = rcc; 71 bsize); 74 record, bsize, rcc); 78 if (rcc > bsize) [all...] |
/src/usr.bin/tee/ |
tee.c | 74 #define BSIZE (8 * 1024) 95 if ((buf = malloc(BSIZE)) == NULL) 108 while ((rval = read(STDIN_FILENO, buf, BSIZE)) > 0)
|
/src/sys/arch/macppc/stand/installboot/ |
installboot.c | 42 #define BSIZE 512 99 if (pread(params->fsfd, &pme, sizeof pme, BSIZE * 2) != sizeof(pme)) 107 partoff = BSIZE * be32toh(pme.pmPyPartStart);
|
/src/sys/arch/macppc/stand/mkboothfs/ |
mkboothfs.c | 48 #define BSIZE 512 99 memset(buf, 0, BSIZE); 101 write(ofd, buf, BSIZE); 120 memset(buf, 0, BSIZE); 122 write(ofd, buf, BSIZE); 130 memset(buf, 0, BSIZE); 132 write(ofd, buf, BSIZE); 137 memset(buf, 0, BSIZE); 138 write(ofd, buf, BSIZE);
|
/src/sys/crypto/des/ |
des_locl.h | 67 #define BSIZE (MAXWRITE+4)
|
/src/tests/bin/df/ |
getmntinfo.c | 94 #define BSIZE 512 97 .f_bsize = BSIZE, 98 .f_frsize = BSIZE, 99 .f_blocks = TOTAL / BSIZE, 100 .f_bfree = (TOTAL - USED) / BSIZE, 101 .f_bavail = (TOTAL - USED) / BSIZE, 107 #undef BSIZE 125 #define BSIZE 4096 /* Guess */ 129 .f_bsize = BSIZE, 130 .f_frsize = BSIZE, [all...] |
/src/tests/lib/libc/stdio/ |
h_intr.c | 57 size_t bsize; /* block size to use */ member in struct:options 82 BSIZE = 16 * 1024, /* default RW buffer size */ 138 if ((buf = malloc(opts.bsize)) == NULL) { 163 while ((n = rd_fn(ifp, buf, opts.bsize)) > 0) { 437 fprintf(fp, " -b SIZE Program buffer size (%zu)\n", opts.bsize); 464 opts.asize = BSIZE; /* 16K */ 465 opts.bsize = BSIZE; /* 16K */ 491 opts.bsize = i;
|
/src/usr.bin/rs/ |
rs.c | 339 #define BSIZE 2048 340 char ibuf[BSIZE]; /* two screenfuls should do */ 346 static char *endblock = ibuf + BSIZE; 362 if (!(curline = (char *) malloc(BSIZE))) 364 endblock = curline + BSIZE;
|
/src/lib/libc/gen/ |
getcap.c | 83 #define BSIZE 1024 782 char *cp, *line, *rp, *np, buf[BSIZE], nbuf[BSIZE];
|
/src/lib/libc/db/hash/ |
hash.h | 71 int32_t bsize; /* Bucket/Page Size */ member in struct:hashhdr 130 #define HASH_BSIZE(hp) ((hp)->BSIZE == MAX_BSIZE ? MAX_BSIZE - 1 : (hp)->BSIZE) 281 #define BSIZE hdr.bsize
|