/freebsd-12-stable/sys/netsmb/ |
H A D | smb_trantcp.c | 77 static int nbssn_recv(struct nbpcb *nbp, struct mbuf **mpp, int *lenp, 99 nb_intr(struct nbpcb *nbp, struct proc *p) argument 107 struct nbpcb *nbp = arg; local 109 if (arg == NULL || nbp->nbp_selectid == NULL) 111 wakeup(nbp->nbp_selectid); 147 nb_connect_in(struct nbpcb *nbp, struct sockaddr_in *to, struct thread *td) argument 156 nbp->nbp_tso = so; 158 soupcall_set(so, SO_RCV, nb_upcall, nbp); 162 error = soreserve(so, nbp->nbp_sndbuf, nbp 200 nbssn_rq_request(struct nbpcb *nbp, struct thread *td) argument 291 nbssn_recvhdr(struct nbpcb *nbp, int *lenp, u_int8_t *rpcodep, int flags, struct thread *td) argument 331 nbssn_recv(struct nbpcb *nbp, struct mbuf **mpp, int *lenp, u_int8_t *rpcodep, struct thread *td) argument 456 struct nbpcb *nbp; local 472 struct nbpcb *nbp = vcp->vc_tdata; local 488 struct nbpcb *nbp = vcp->vc_tdata; local 521 struct nbpcb *nbp = vcp->vc_tdata; local 566 struct nbpcb *nbp = vcp->vc_tdata; local 586 struct nbpcb *nbp = vcp->vc_tdata; local 607 struct nbpcb *nbp = vcp->vc_tdata; local 626 struct nbpcb *nbp = vcp->vc_tdata; local 637 struct nbpcb *nbp = vcp->vc_tdata; local 658 struct nbpcb *nbp = vcp->vc_tdata; local [all...] |
/freebsd-12-stable/sys/ufs/ffs/ |
H A D | ffs_rawread.c | 270 struct buf *bp, *nbp, *tbp; local 291 nbp = NULL; 307 nbp = trypbuf(&ffsrawbufcnt); 309 nbp = NULL; 310 if (nbp != NULL) { 311 pbgetvp(vp, nbp); 321 nbp); 323 pbrelvp(nbp); 324 relpbuf(nbp, &ffsrawbufcnt); 325 nbp [all...] |
H A D | ffs_balloc.c | 101 struct buf *bp, *nbp; local 355 nbp = getblk(vp, indirs[i].in_lbn, fs->fs_bsize, 0, 0, 0); 356 nbp->b_blkno = fsbtodb(fs, nb); 357 vfs_bio_clrbuf(nbp); 359 softdep_setup_allocindir_meta(nbp, ip, bp, 361 bdwrite(nbp); 363 if (nbp->b_bufsize == fs->fs_bsize) 364 nbp->b_flags |= B_CLUSTEROK; 365 bdwrite(nbp); 367 if ((error = bwrite(nbp)) ! 597 struct buf *bp, *nbp; local [all...] |
H A D | ffs_snapshot.c | 222 struct buf *bp, *nbp, *ibp; local 350 0, &nbp); 353 bawrite(nbp); 358 fs->fs_bsize, KERNCRED, 0, &nbp); 361 bawrite(nbp); 368 fs->fs_bsize, KERNCRED, 0, &nbp); 371 bawrite(nbp); 393 fs->fs_bsize, KERNCRED, 0, &nbp); 396 error = cgaccount(cg, vp, nbp, 1); 397 bawrite(nbp); 2188 struct buf *nbp; local [all...] |
H A D | ffs_vnops.c | 232 struct buf *bp, *nbp; local 260 TAILQ_FOREACH_SAFE(bp, &bo->bo_dirty.bv_hd, b_bobufs, nbp) { 333 nbp = TAILQ_FIRST(&bo->bo_dirty.bv_hd);
|
/freebsd-12-stable/usr.sbin/makefs/ffs/ |
H A D | ffs_balloc.c | 85 struct buf *bp, *nbp; local 274 nbp = getblk(ip->i_devvp, indirs[i].in_lbn, fs->fs_bsize, 0, 0, 0); 275 nbp->b_blkno = fsbtodb(fs, nb); 276 clrbuf(nbp); 282 if ((error = bwrite(nbp)) != 0) { 305 nbp = getblk(ip->i_devvp, lbn, fs->fs_bsize, 0, 0, 0); 306 nbp->b_blkno = fsbtodb(fs, nb); 307 clrbuf(nbp); 308 *bpp = nbp; 321 error = bread(ip->i_devvp, lbn, (int)fs->fs_bsize, NULL, &nbp); 336 struct buf *bp, *nbp; local [all...] |
/freebsd-12-stable/sys/fs/ext2fs/ |
H A D | ext2_balloc.c | 107 struct buf *bp, *nbp; local 246 nbp = getblk(vp, indirs[i].in_lbn, fs->e2fs_bsize, 0, 0, 0); 247 nbp->b_blkno = fsbtodb(fs, nb); 248 vfs_bio_clrbuf(nbp); 253 if ((error = bwrite(nbp)) != 0) { 286 nbp = getblk(vp, lbn, fs->e2fs_bsize, 0, 0, 0); 287 nbp->b_blkno = fsbtodb(fs, nb); 289 vfs_bio_clrbuf(nbp); 302 *bpp = nbp; 312 MAXBSIZE, seqcount, 0, &nbp); [all...] |
/freebsd-12-stable/sys/fs/msdosfs/ |
H A D | direntry.h | 148 char *mbnambuf_flush(struct mbnambuf *nbp, struct dirent *dp); 149 void mbnambuf_init(struct mbnambuf *nbp); 150 int mbnambuf_write(struct mbnambuf *nbp, char *name, int id); 157 int winChkName(struct mbnambuf *nbp, const u_char *un, size_t unlen, 159 int win2unixfn(struct mbnambuf *nbp, struct winentry *wep, int chksum,
|
H A D | msdosfs_conv.c | 584 winChkName(struct mbnambuf *nbp, const u_char *un, size_t unlen, int chksum, argument 593 * We already have winentry in *nbp. 595 if (!mbnambuf_flush(nbp, &dirbuf) || dirbuf.d_namlen == 0) 631 win2unixfn(struct mbnambuf *nbp, struct winentry *wep, int chksum, argument 663 if (mbnambuf_write(nbp, name, 683 if (mbnambuf_write(nbp, name, 703 if (mbnambuf_write(nbp, name, 719 if (mbnambuf_write(nbp, name, (wep->weCnt & WIN_CNT) - 1) != 0) 1000 mbnambuf_init(struct mbnambuf *nbp) argument 1003 nbp 1018 mbnambuf_write(struct mbnambuf *nbp, char *name, int id) argument 1067 mbnambuf_flush(struct mbnambuf *nbp, struct dirent *dp) argument [all...] |
/freebsd-12-stable/usr.sbin/ppp/ |
H A D | async.c | 195 struct mbuf *nbp, **last; local 205 last = &nbp; 218 return nbp;
|
H A D | mbuf.c | 170 struct mbuf *nbp; local 176 nbp = bp->m_next; 183 bp = nbp; 389 struct mbuf *nbp; local 392 nbp = m_get(m_length(bp), bp->m_type); 394 for (cp = MBUF_CTOP(nbp); bp; bp = m_free(bp)) { 398 bp = nbp;
|
/freebsd-12-stable/sys/geom/journal/ |
H A D | g_journal.c | 804 struct bio *nbp, *cbp, *pbp; local 840 nbp = g_journal_new_bio(nstart, nend, joffset, data, 843 *head = nbp; 845 pbp->bio_next = nbp; 846 nbp->bio_next = cbp; 848 GJ_DEBUG(3, "INSERT(%p): 2 (nbp=%p pbp=%p)", *head, nbp, 903 nbp = g_journal_new_bio(nstart, cend, joffset, data, 905 nbp->bio_next = cbp->bio_next; 906 cbp->bio_next = nbp; 1531 struct bio *bp, *nbp, *head; local [all...] |
/freebsd-12-stable/sys/ufs/ufs/ |
H A D | ufs_bmap.c | 156 ufs_bmaparray(vp, bn, bnp, nbp, runp, runb) 160 struct buf *nbp; 203 if (nbp == NULL) { 207 nbp->b_xflags |= BX_ALTDATA;
|
/freebsd-12-stable/contrib/amd/libamu/ |
H A D | mount_fs.c | 729 struct netbuf *nbp; local 750 nbp = nap->addr; 752 nbp->maxlen, nbp->len, 753 get_hex_string(nbp->len, nbp->buf)); 754 nbp = nap->syncaddr; 755 plog(XLOG_DEBUG, "NA->syncaddr {netbuf} %p", nbp);
|
/freebsd-12-stable/sys/fs/nfsclient/ |
H A D | nfs_clsubs.c | 355 struct buf *bp, *nbp; local 363 TAILQ_FOREACH_SAFE(bp, &bo->bo_dirty.bv_hd, b_bobufs, nbp) {
|
H A D | nfs_clvnops.c | 2772 struct buf *nbp; local 2812 TAILQ_FOREACH_SAFE(bp, &bo->bo_dirty.bv_hd, b_bobufs, nbp) { 2843 TAILQ_FOREACH_SAFE(bp, &bo->bo_dirty.bv_hd, b_bobufs, nbp) { 2847 nbp = TAILQ_NEXT(bp, b_bobufs); 2853 nbp = TAILQ_NEXT(bp, b_bobufs); 2877 * bp is protected by being locked, but nbp is not 2879 * recalculate nbp. 2881 nbp = TAILQ_NEXT(bp, b_bobufs); 2967 TAILQ_FOREACH_SAFE(bp, &bo->bo_dirty.bv_hd, b_bobufs, nbp) {
|
/freebsd-12-stable/sys/kern/ |
H A D | vfs_subr.c | 1838 struct buf *bp, *nbp; local 1846 TAILQ_FOREACH_SAFE(bp, &bufv->bv_hd, b_bobufs, nbp) { 1851 if (nbp != NULL) { 1852 lblkno = nbp->b_lblkno; 1853 xflags = nbp->b_xflags & (BX_VNDIRTY | BX_VNCLEAN); 1885 if (nbp == NULL) 1887 nbp = gbincore(bo, lblkno); 1888 if (nbp == NULL || (nbp->b_xflags & (BX_VNDIRTY | BX_VNCLEAN)) 1890 break; /* nbp invali 1947 struct buf *bp, *nbp; local 2030 struct buf *bp, *nbp; local [all...] |
H A D | vfs_bio.c | 1719 struct buf *bp, *nbp; local 1723 nbp = NULL; 1728 nbp = TAILQ_FIRST(&bq->bq_queue); 1734 while ((bp = nbp) != NULL) { 1739 nbp = TAILQ_NEXT(bp, b_freelist); 1778 * NOTE: nbp is now entirely invalid. We can only restart 1791 nbp = TAILQ_FIRST(&bq->bq_queue); 2307 struct buf *nbp; local 2319 TAILQ_FOREACH(nbp, &bo->bo_dirty.bv_hd, b_bobufs) { 2320 if ((nbp [all...] |
H A D | vfs_cluster.c | 566 struct buf *nbp, *tbp; local 584 tbp; tbp = nbp) { 585 nbp = TAILQ_NEXT(&tbp->b_cluster, cluster_entry);
|
/freebsd-12-stable/contrib/sendmail/src/ |
H A D | util.c | 1431 char *nbp; local 1439 nbp = sm_malloc_x(nn); 1440 memmove(nbp, bp, p - bp); 1441 p = &nbp[p - bp]; 1444 bp = nbp; 2338 char *nbp = sm_pmalloc_x(l); local 2342 bp = nbp;
|
/freebsd-12-stable/sys/fs/nandfs/ |
H A D | nandfs_vnops.c | 533 struct buf *bp, *nbp; local 542 TAILQ_FOREACH_SAFE(bp, &bo->bo_clean.bv_hd, b_bobufs, nbp) { 556 TAILQ_FOREACH_SAFE(bp, &bo->bo_dirty.bv_hd, b_bobufs, nbp) { 1076 struct buf *nbp; local 1127 nbp = bp; 1128 nbp->b_blkno = pblk * blk2dev; 1129 bp->b_iooffset = dbtob(nbp->b_blkno); 1131 BO_STRATEGY(&nandfsdev->nd_devvp->v_bufobj, nbp); 1136 (uintmax_t)pblk, nbp));
|
/freebsd-12-stable/sys/amd64/amd64/ |
H A D | machdep.c | 2584 int nbp; /* number of breakpoints that triggered */ local 2607 nbp = 0; 2615 addr[nbp++] = (caddr_t)rdr0(); 2618 addr[nbp++] = (caddr_t)rdr1(); 2621 addr[nbp++] = (caddr_t)rdr2(); 2624 addr[nbp++] = (caddr_t)rdr3(); 2627 for (i = 0; i < nbp; i++) { 2632 return nbp;
|
/freebsd-12-stable/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_proc.c | 131 dt_bkpt_t *dbp, *nbp; local 135 for (dbp = dt_list_next(&dpr->dpr_bps); dbp != NULL; dbp = nbp) { 141 nbp = dt_list_next(dbp);
|
/freebsd-12-stable/sys/i386/i386/ |
H A D | machdep.c | 3197 int nbp; /* number of breakpoints that triggered */ local 3220 nbp = 0; 3228 addr[nbp++] = (caddr_t)rdr0(); 3231 addr[nbp++] = (caddr_t)rdr1(); 3234 addr[nbp++] = (caddr_t)rdr2(); 3237 addr[nbp++] = (caddr_t)rdr3(); 3240 for (i = 0; i < nbp; i++) { 3245 return nbp;
|
/freebsd-12-stable/sbin/fsck_ffs/ |
H A D | fsutil.c | 380 struct bufarea *bp, *nbp; local 423 TAILQ_FOREACH_REVERSE_SAFE(bp, &bufhead, buflist, b_list, nbp) {
|