Home
last modified time | relevance | path

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

/freebsd/usr.bin/tsort/
H A Dtsort.c84 char *b_buf; member
142 b->b_buf = grow_buf(NULL, b->b_bsize = 1024); in main()
155 b->b_buf[nused++] = c; in main()
157 b->b_buf = grow_buf(b->b_buf, bsize *= 2); in main()
161 b->b_buf[nused] = '\0'; in main()
164 add_arc(bufs[0].b_buf, bufs[1].b_buf); in main()
/freebsd/sbin/fsck_ffs/
H A Ddir.c222 memmove(bp->b_un.b_buf + idesc->id_loc - dsize, dbuf, in dirscan()
252 dp = (struct direct *)(bp->b_un.b_buf + idesc->id_loc); in fsck_readdir()
273 ndp = (struct direct *)(bp->b_un.b_buf + idesc->id_loc); in fsck_readdir()
824 memmove(nbp->b_un.b_buf, bp->b_un.b_buf, lastlbnsize); in expanddir()
825 memset(&nbp->b_un.b_buf[lastlbnsize], 0, in expanddir()
827 for (cp = &nbp->b_un.b_buf[lastlbnsize]; in expanddir()
828 cp < &nbp->b_un.b_buf[sblock.fs_bsize]; in expanddir()
846 memset(bp->b_un.b_buf, 0, sblock.fs_bsize); in expanddir()
847 for (cp = bp->b_un.b_buf; in expanddir()
[all...]
H A Dfsutil.c184 failedbuf.b_un.b_buf = NULL; in bufinit()
185 if ((cgblk.b_un.b_buf = Balloc((unsigned int)sblock.fs_bsize)) == NULL) in bufinit()
213 bp->b_un.b_buf = bufp; in allocbuf()
293 free(cgbp->b_un.b_buf); in flushentry()
294 cgbp->b_un.b_buf = NULL; in flushentry()
408 bp->b_errs = blread(fsreadfd, bp->b_un.b_buf, dblk, size); in getblk()
504 blwrite(fd, bp->b_un.b_buf, bp->b_bno, bp->b_size); in flush()
663 free(cgblk.b_un.b_buf); in ckfini()
664 cgblk.b_un.b_buf = NULL; in ckfini()
701 free(bp->b_un.b_buf); in ckfini()
[all …]
H A Dea.c77 cp = (u_char *)bp->b_un.b_buf; in eascan()
H A Dsetup.c297 snapblklist = (daddr_t *)bp->b_un.b_buf; in checksnapinfo()
497 sblk.b_un.b_buf = Balloc(SBLOCKSIZE); in sblock_init()
498 if (sblk.b_un.b_buf == NULL) in sblock_init()
H A Dinode.c558 nextinop = inobuf.b_un.b_buf; in getnextinode()
588 if (rebuiltcg && (char *)dp == inobuf.b_un.b_buf) { in getnextinode()
662 if (inobuf.b_un.b_buf == NULL) { in setinodebuf()
666 if ((inobuf.b_un.b_buf = Balloc((unsigned)inobufsize)) == NULL) in setinodebuf()
1121 if (inobuf.b_un.b_buf != NULL) in freeinodebuf()
1122 free((char *)inobuf.b_un.b_buf); in freeinodebuf()
1123 inobuf.b_un.b_buf = NULL; in freeinodebuf()
1130 bp->b_errs = blread(fsreadfd, bp->b_un.b_buf, bp->b_bno, in freeinodebuf()
H A Dsuj.c578 dp = (struct direct *)&bp->b_un.b_buf[doff]; in ino_clrat()
658 dp = (struct direct *)&bp->b_un.b_buf[dpoff]; in ino_isat()
1008 dp = (struct direct *)&bp->b_un.b_buf[0]; in ino_free_children()
1010 dp = (struct direct *)&bp->b_un.b_buf[dpoff]; in ino_free_children()
1404 bzero(&bp->b_un.b_buf[off], clrsize); in ino_trunc()
H A Dfsck.h159 char *b_buf; /* buffer space */
163 char *b_buf; /* buffer space */ global() member
/freebsd/contrib/netbsd-tests/net/if/
H A Dt_compat.c36 void *b_buf; member
/freebsd/sys/contrib/openzfs/module/zfs/
H A Darc.c1425 for (arc_buf_t *b = hdr->b_l1hdr.b_buf; b != NULL; b = b->b_next) { in arc_hdr_has_uncompressed_buf()
1697 for (arc_buf_t *from = hdr->b_l1hdr.b_buf; from != NULL; in arc_buf_try_copy_decompressed_data()
2225 ASSERT3P(hdr->b_l1hdr.b_buf, ==, NULL); in arc_evictable_space_increment()
2242 for (arc_buf_t *buf = hdr->b_l1hdr.b_buf; buf != NULL; in arc_evictable_space_increment()
2264 ASSERT3P(hdr->b_l1hdr.b_buf, ==, NULL); in arc_evictable_space_decrement()
2281 for (arc_buf_t *buf = hdr->b_l1hdr.b_buf; buf != NULL; in arc_evictable_space_decrement()
2305 ASSERT3P(hdr->b_l1hdr.b_buf, ==, NULL); in add_reference()
2380 for (arc_buf_t *buf = l1hdr->b_buf; buf; buf = buf->b_next) in arc_buf_info()
2422 update_old = (hdr->b_l1hdr.b_buf != NULL || in arc_change_state()
2425 IMPLY(GHOST_STATE(old_state), hdr->b_l1hdr.b_buf == NULL); in arc_change_state()
[all …]
/freebsd/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/tools/diag/prtblknos/
H A Dprtblknos.c171 memcpy(indir, bp->b_un.b_buf, fs->fs_bsize);
/freebsd/sys/contrib/openzfs/include/sys/
H A Darc_impl.h173 arc_buf_t *b_buf; member