Searched refs:b_buf (Results 1 – 10 of 10) sorted by relevance
/original-bsd/old/as.vax/ |
H A D | asio.c | 45 bp->b_ptr = bp->b_buf = Calloc(1, biobufsize); 81 if (bp->b_ptr != bp->b_buf) 113 register int cnt = bp->b_ptr - bp->b_buf; 119 if (write(biofd, bp->b_buf, cnt) != cnt) { 125 bp->b_ptr = bp->b_buf;
|
H A D | as.h | 472 char *b_buf; /* Pointer to the buffer */ member
|
/original-bsd/old/as.tahoe/ |
H A D | asio.c | 44 bp->b_ptr = bp->b_buf; 80 if (bp->b_ptr != bp->b_buf) 112 register int cnt = bp->b_ptr - bp->b_buf; 118 if (write(biofd, bp->b_buf, cnt) != cnt) { 124 bp->b_ptr = bp->b_buf;
|
H A D | as.h | 450 char b_buf[BUFSIZ]; /* The buffer itself */ member
|
/original-bsd/usr.bin/tsort/ |
H A D | tsort.c | 70 char *b_buf; member 125 b->b_buf = grow_buf(NULL, b->b_bsize = 1024); 138 b->b_buf[nused++] = c; 140 b->b_buf = grow_buf(b->b_buf, bsize *= 2); 144 b->b_buf[nused] = '\0'; 147 add_arc(bufs[0].b_buf, bufs[1].b_buf);
|
/original-bsd/sbin/fsck/ |
H A D | dir.c | 122 memmove(bp->b_un.b_buf + idesc->id_loc - dsize, dbuf, 148 dp = (struct direct *)(bp->b_un.b_buf + idesc->id_loc); 171 dp = (struct direct *)(bp->b_un.b_buf + dploc); 186 dp = (struct direct *)(bp->b_un.b_buf + dploc); 554 memmove(firstblk, bp->b_un.b_buf, DIRBLKSIZ); 558 memmove(bp->b_un.b_buf, firstblk, DIRBLKSIZ); 559 for (cp = &bp->b_un.b_buf[DIRBLKSIZ]; 560 cp < &bp->b_un.b_buf[sblock.fs_bsize]; 568 memmove(bp->b_un.b_buf, &emptydir, sizeof emptydir); 614 for (cp = &bp->b_un.b_buf[DIRBLKSIZ]; [all …]
|
H A D | utilities.c | 98 cgblk.b_un.b_buf = bufp; in bufinit() 112 bp->b_un.b_buf = bufp; in bufinit() 166 bp->b_errs = bread(fsreadfd, bp->b_un.b_buf, dblk, size); 187 bwrite(fd, bp->b_un.b_buf, bp->b_bno, (long)bp->b_size); 230 free(cgblk.b_un.b_buf); 235 free(bp->b_un.b_buf);
|
H A D | setup.c | 85 sblk.b_un.b_buf = malloc(SBSIZE); 86 asblk.b_un.b_buf = malloc(SBSIZE); 87 if (sblk.b_un.b_buf == NULL || asblk.b_un.b_buf == NULL)
|
H A D | fsck.h | 41 char *b_buf; /* buffer space */ member
|
/original-bsd/old/ld/ |
H A D | ld.c | 304 char *b_buf; /* Pointer to the buffer */ member 2032 bp->b_ptr = bp->b_buf = malloc(bufsize); 2068 if (bp->b_ptr != bp->b_buf) 2100 register int cnt = bp->b_ptr - bp->b_buf; 2106 if (write(biofd, bp->b_buf, cnt) != cnt) { 2112 bp->b_ptr = bp->b_buf;
|