HomeSort by: relevance | last modified time | path
    Searched defs:BUFSIZE (Results 1 - 25 of 32) sorted by relevancy

1 2

  /src/sys/arch/i386/stand/lib/
pread.c 36 #define BUFSIZE (1*1024)
38 #define BUFSIZE (4*1024)
49 buf = alloc(BUFSIZE);
56 count = (rsize < BUFSIZE ? rsize : BUFSIZE);
  /src/tests/lib/libc/gen/posix_spawn/
h_fileactions.c 42 #define BUFSIZE 16
54 char buf[BUFSIZE];
59 if (read(3, buf, BUFSIZE) != -1 || errno != EBADF) {
65 if (read(4, buf, BUFSIZE) != -1 || errno != EBADF) {
71 if (write(5, buf, BUFSIZE) <= 0) {
77 if (write(6, buf, BUFSIZE) <= 0) {
  /src/usr.bin/sort/
fsort.h 66 #define BUFSIZE (1<<20)
  /src/tests/kernel/arch/vax/
h_execregs.S 38 #define BUFSIZE (NEXECREGS * REGSIZE)
43 subl2 $BUFSIZE,%sp /* space for NEXECREGS registers */
61 pushl $BUFSIZE /* arg2 := sizeof(regs) */
69 cmpl $BUFSIZE,%r0 /* bail if wrote wrong # of bytes */
  /src/tests/lib/libc/stdio/
t_popen.c 55 #define BUFSIZE (640*1024)
79 if ((buffer = malloc(BUFSIZE)) == NULL)
84 for (idx = 0; idx < BUFSIZE; idx++)
93 if (fwrite(buffer, sizeof(char), BUFSIZE, my_pipe) != BUFSIZE)
106 if (idx == BUFSIZE) {
115 if (idx < BUFSIZE) {
  /src/sys/rump/fs/lib/libsyspuffs/
puffs_rumpglue.c 58 #define BUFSIZE (64*1024)
77 buf = kmem_alloc(BUFSIZE, KM_SLEEP);
91 error = dofileread(pap->fpfd, fp, buf, BUFSIZE,
134 buf = kmem_alloc(BUFSIZE, KM_SLEEP);
  /src/usr.sbin/eeprom/
defs.h 40 #undef BUFSIZE
41 #define BUFSIZE 1024
  /src/sys/arch/macppc/stand/mkboothfs/
mkboothfs.c 46 #define BUFSIZE (64 * 1024)
79 buf = malloc(BUFSIZE);
  /src/tests/dev/audio/
h_pad.c 48 #define BUFSIZE 1024
137 outlen = BUFSIZE;
  /src/tests/lib/libc/sys/
t_recvmmsg.c 56 #define BUFSIZE 65536
92 buf = malloc(BUFSIZE);
95 mmsgcnt = BUFSIZE / sizeof(DGRAM);
t_sendmmsg.c 50 #define BUFSIZE 65536
72 int buflen = BUFSIZE;
97 buf = malloc(BUFSIZE);
103 mmsgcnt = BUFSIZE / sizeof(DGRAM);
t_mmap.c 85 #define BUFSIZE (32 * 1024) /* enough size to trigger sosend_loan */
103 char buf[BUFSIZE];
104 char backup[BUFSIZE];
110 val = BUFSIZE;
113 (void)memcpy(backup, vp, BUFSIZE);
118 val = BUFSIZE;
123 val = BUFSIZE;
131 nwritten = write(fds[0], (char *)vp + page, BUFSIZE - page);
137 (void)memset(vp2, pat, BUFSIZE);
139 nread = read(fds[1], buf + page, BUFSIZE - page)
    [all...]
  /src/usr.bin/shmif_pcapin/
shmif_pcapin.c 69 * The BUFSIZE come from shmif_dumpbus.c because there're not any experiences to
72 #define BUFSIZE 64*1024
145 buf = malloc(BUFSIZE);
  /src/sys/arch/landisk/stand/boot/
biosdisk.c 81 #define BUFSIZE (1 * BIOSDISK_SECSIZE)
86 char buf[BUFSIZE];
  /src/sys/dev/ppbus/
lptvar.h 43 #define BUFSIZE PAGE_SIZE
  /src/usr.bin/shmif_dumpbus/
shmif_dumpbus.c 72 #define BUFSIZE 64*1024
152 buf = malloc(BUFSIZE);
277 assert(curlen <= BUFSIZE);
  /src/lib/libc/citrus/modules/
citrus_mapper_zone.c 99 #define BUFSIZE 20
108 char buf[BUFSIZE+1], *p;
110 for (i=0; i<BUFSIZE; i++) {
  /src/sys/arch/vax/boot/boot/
if_le.c 60 #define BUFSIZE 1518
187 rdesc[i].bd_adrflg = QW_ALLOC(BUFSIZE) | BR_OWN;
190 rdesc[i].bd_bcnt = -BUFSIZE;
198 tdesc[i].bd_adrflg = QW_ALLOC(BUFSIZE);
  /src/usr.sbin/mopd/common/
common.h 35 #define BUFSIZE 1600 /* main receive buffer size */
  /src/tests/fs/common/
fstest_puffs.c 54 #define BUFSIZE (128*1024)
107 char buf[BUFSIZE];
126 assert(phdr->pth_framelen < BUFSIZE);
161 char buf[BUFSIZE];
183 assert(toread < BUFSIZE);
  /src/usr.sbin/sysinst/
run.c 79 #define BUFSIZE 4096
222 abytes = BUFSIZE;
235 if (fbytes > 0 || abytes >= 512*BUFSIZE) {
  /src/sys/arch/hp300/stand/common/
if_lereg.h 40 #define BUFSIZE 1518
  /src/usr.bin/gzip/
zuncompress.c 51 #define BUFSIZE (64 * 1024)
137 buf = malloc(BUFSIZE);
  /src/sys/arch/mac68k/obio/
ascaudio.c 66 #define BUFSIZE 32768
207 sc->sc_playbuf = kmem_alloc(BUFSIZE, KM_SLEEP);
208 sc->sc_recbuf = kmem_alloc(BUFSIZE, KM_SLEEP);
449 if (sc->sc_putptr + blksize >= sc->sc_playbuf + BUFSIZE)
450 total = sc->sc_playbuf + BUFSIZE - sc->sc_putptr;
466 if (sc->sc_avail > BUFSIZE)
467 sc->sc_avail = BUFSIZE;
556 if (sc->sc_getptr + blksize >= sc->sc_recbuf + BUFSIZE)
557 total = sc->sc_recbuf + BUFSIZE - sc->sc_getptr;
826 if (sc->sc_rptr + count >= sc->sc_recbuf + BUFSIZE)
    [all...]
  /src/usr.bin/m4/
mdef.h 120 #define BUFSIZE 4096 /* starting size of pushback buffer */

Completed in 29 milliseconds

1 2