Home
last modified time | relevance | path

Searched refs:b_buf (Results 1 – 13 of 13) sorted by relevance

/freebsd-14.2/usr.bin/tsort/
H A Dtsort.c95 char *b_buf; member
153 b->b_buf = grow_buf(NULL, b->b_bsize = 1024); in main()
166 b->b_buf[nused++] = c; in main()
168 b->b_buf = grow_buf(b->b_buf, bsize *= 2); in main()
172 b->b_buf[nused] = '\0'; in main()
175 add_arc(bufs[0].b_buf, bufs[1].b_buf); in main()
/freebsd-14.2/sbin/fsck_ffs/
H A Ddir.c228 memmove(bp->b_un.b_buf + idesc->id_loc - dsize, dbuf, in dirscan()
830 memmove(nbp->b_un.b_buf, bp->b_un.b_buf, lastlbnsize); in expanddir()
831 memset(&nbp->b_un.b_buf[lastlbnsize], 0, in expanddir()
833 for (cp = &nbp->b_un.b_buf[lastlbnsize]; in expanddir()
834 cp < &nbp->b_un.b_buf[sblock.fs_bsize]; in expanddir()
852 memset(bp->b_un.b_buf, 0, sblock.fs_bsize); in expanddir()
853 for (cp = bp->b_un.b_buf; in expanddir()
854 cp < &bp->b_un.b_buf[sblock.fs_bsize]; in expanddir()
877 memset(nbp->b_un.b_buf, 0, sblock.fs_bsize); in expanddir()
941 for (cp = &bp->b_un.b_buf[DIRBLKSIZ]; in allocdir()
[all …]
H A Dfsutil.c191 failedbuf.b_un.b_buf = NULL; in bufinit()
192 if ((cgblk.b_un.b_buf = Malloc((unsigned int)sblock.fs_bsize)) == NULL) in bufinit()
220 bp->b_un.b_buf = bufp; in allocbuf()
300 free(cgbp->b_un.b_buf); in flushentry()
301 cgbp->b_un.b_buf = NULL; in flushentry()
415 bp->b_errs = blread(fsreadfd, bp->b_un.b_buf, dblk, size); in getblk()
511 blwrite(fd, bp->b_un.b_buf, bp->b_bno, bp->b_size); in flush()
670 free(cgblk.b_un.b_buf); in ckfini()
671 cgblk.b_un.b_buf = NULL; in ckfini()
708 free(bp->b_un.b_buf); in ckfini()
[all …]
H A Dea.c78 cp = (u_char *)bp->b_un.b_buf; in eascan()
H A Dsetup.c304 snapblklist = (daddr_t *)bp->b_un.b_buf; in checksnapinfo()
504 sblk.b_un.b_buf = Malloc(SBLOCKSIZE); in sblock_init()
505 if (sblk.b_un.b_buf == NULL) in sblock_init()
H A Dinode.c557 nextinop = inobuf.b_un.b_buf; in getnextinode()
582 if (rebuiltcg && (char *)dp == inobuf.b_un.b_buf) { in getnextinode()
645 if (inobuf.b_un.b_buf == NULL) { in setinodebuf()
649 if ((inobuf.b_un.b_buf = Malloc((unsigned)inobufsize)) == NULL) in setinodebuf()
1104 if (inobuf.b_un.b_buf != NULL) in freeinodebuf()
1105 free((char *)inobuf.b_un.b_buf); in freeinodebuf()
1106 inobuf.b_un.b_buf = NULL; in freeinodebuf()
1113 bp->b_errs = blread(fsreadfd, bp->b_un.b_buf, bp->b_bno, in freeinodebuf()
H A Dsuj.c580 dp = (struct direct *)&bp->b_un.b_buf[doff]; in ino_clrat()
660 dp = (struct direct *)&bp->b_un.b_buf[dpoff]; in ino_isat()
1010 dp = (struct direct *)&bp->b_un.b_buf[0]; in ino_free_children()
1012 dp = (struct direct *)&bp->b_un.b_buf[dpoff]; in ino_free_children()
1406 bzero(&bp->b_un.b_buf[off], clrsize); in ino_trunc()
H A Dfsck.h164 char *b_buf; /* buffer space */ member
/freebsd-14.2/contrib/netbsd-tests/net/if/
H A Dt_compat.c36 void *b_buf; member
/freebsd-14.2/sys/contrib/openzfs/module/zfs/
H A Darc.c2207 ASSERT3P(hdr->b_l1hdr.b_buf, ==, NULL); in arc_evictable_space_increment()
2410 ARC_BUF_LAST(hdr->b_l1hdr.b_buf)); in arc_change_state()
2732 buf->b_next = hdr->b_l1hdr.b_buf; in arc_buf_alloc_impl()
2799 hdr->b_l1hdr.b_buf = buf; in arc_buf_alloc_impl()
3018 arc_buf_t **bufp = &hdr->b_l1hdr.b_buf; in arc_buf_remove()
3277 hdr->b_l1hdr.b_buf = NULL; in arc_hdr_alloc()
3654 while (hdr->b_l1hdr.b_buf != NULL) in arc_hdr_destroy()
3683 ASSERT3P(hdr->b_l1hdr.b_buf, ==, buf); in arc_buf_destroy()
3694 ASSERT3P(hdr->b_l1hdr.b_buf, !=, NULL); in arc_buf_destroy()
3737 ASSERT3P(hdr->b_l1hdr.b_buf, ==, NULL); in arc_evict_hdr()
[all …]
/freebsd-14.2/crypto/openssl/crypto/ec/
H A Dec_asn1.c313 unsigned char *a_buf = NULL, *b_buf = NULL; in ec_asn1_group2curve() local
337 || (b_buf = OPENSSL_malloc(len)) == NULL) { in ec_asn1_group2curve()
342 || BN_bn2binpad(tmp_2, b_buf, len) < 0) { in ec_asn1_group2curve()
349 || !ASN1_OCTET_STRING_set(curve->b, b_buf, len)) { in ec_asn1_group2curve()
377 OPENSSL_free(b_buf); in ec_asn1_group2curve()
/freebsd-14.2/tools/diag/prtblknos/
H A Dprtblknos.c171 memcpy(indir, bp->b_un.b_buf, fs->fs_bsize);
/freebsd-14.2/sys/contrib/openzfs/include/sys/
H A Darc_impl.h173 arc_buf_t *b_buf; member