/freebsd-11-stable/sys/netsmb/ |
H A D | smb_trantcp.c | 75 static int nbssn_recv(struct nbpcb *nbp, struct mbuf **mpp, int *lenp, 97 nb_intr(struct nbpcb *nbp, struct proc *p) argument 105 struct nbpcb *nbp = arg; local 107 if (arg == NULL || nbp->nbp_selectid == NULL) 109 wakeup(nbp->nbp_selectid); 145 nb_connect_in(struct nbpcb *nbp, struct sockaddr_in *to, struct thread *td) argument 154 nbp->nbp_tso = so; 156 soupcall_set(so, SO_RCV, nb_upcall, nbp); 160 error = soreserve(so, nbp->nbp_sndbuf, nbp 198 nbssn_rq_request(struct nbpcb *nbp, struct thread *td) argument 289 nbssn_recvhdr(struct nbpcb *nbp, int *lenp, u_int8_t *rpcodep, int flags, struct thread *td) argument 329 nbssn_recv(struct nbpcb *nbp, struct mbuf **mpp, int *lenp, u_int8_t *rpcodep, struct thread *td) argument 454 struct nbpcb *nbp; local 470 struct nbpcb *nbp = vcp->vc_tdata; local 486 struct nbpcb *nbp = vcp->vc_tdata; local 519 struct nbpcb *nbp = vcp->vc_tdata; local 565 struct nbpcb *nbp = vcp->vc_tdata; local 585 struct nbpcb *nbp = vcp->vc_tdata; local 606 struct nbpcb *nbp = vcp->vc_tdata; local 625 struct nbpcb *nbp = vcp->vc_tdata; local 636 struct nbpcb *nbp = vcp->vc_tdata; local 657 struct nbpcb *nbp = vcp->vc_tdata; local [all...] |
/freebsd-11-stable/sys/fs/ext2fs/ |
H A D | ext2_balloc.c | 65 struct buf *bp, *nbp; local 190 nbp = getblk(vp, indirs[i].in_lbn, fs->e2fs_bsize, 0, 0, 0); 191 nbp->b_blkno = fsbtodb(fs, nb); 192 vfs_bio_clrbuf(nbp); 197 if ((error = bwrite(nbp)) != 0) { 228 nbp = getblk(vp, lbn, fs->e2fs_bsize, 0, 0, 0); 229 nbp->b_blkno = fsbtodb(fs, nb); 231 vfs_bio_clrbuf(nbp); 244 *bpp = nbp; 254 MAXBSIZE, seqcount, 0, &nbp); [all...] |
/freebsd-11-stable/sys/ufs/ffs/ |
H A D | ffs_rawread.c | 268 struct buf *bp, *nbp, *tbp; local 289 nbp = NULL; 305 nbp = trypbuf(&ffsrawbufcnt); 307 nbp = NULL; 308 if (nbp != NULL) { 309 pbgetvp(vp, nbp); 319 nbp); 321 pbrelvp(nbp); 322 relpbuf(nbp, &ffsrawbufcnt); 323 nbp [all...] |
H A D | ffs_balloc.c | 99 struct buf *bp, *nbp; local 336 nbp = getblk(vp, indirs[i].in_lbn, fs->fs_bsize, 0, 0, 0); 337 nbp->b_blkno = fsbtodb(fs, nb); 338 vfs_bio_clrbuf(nbp); 340 softdep_setup_allocindir_meta(nbp, ip, bp, 342 bdwrite(nbp); 348 if ((error = bwrite(nbp)) != 0) { 414 nbp = getblk(vp, lbn, fs->fs_bsize, 0, 0, gbflags); 415 nbp->b_blkno = fsbtodb(fs, nb); 417 vfs_bio_clrbuf(nbp); 574 struct buf *bp, *nbp; local [all...] |
H A D | ffs_snapshot.c | 217 struct buf *bp, *nbp, *ibp; local 345 0, &nbp); 348 bawrite(nbp); 353 fs->fs_bsize, KERNCRED, 0, &nbp); 356 bawrite(nbp); 363 fs->fs_bsize, KERNCRED, 0, &nbp); 366 bawrite(nbp); 385 fs->fs_bsize, KERNCRED, 0, &nbp); 388 error = cgaccount(cg, vp, nbp, 1); 389 bawrite(nbp); 2174 struct buf *nbp; local [all...] |
/freebsd-11-stable/usr.sbin/makefs/ffs/ |
H A D | ffs_balloc.c | 83 struct buf *bp, *nbp; local 271 nbp = getblk(&vp, indirs[i].in_lbn, fs->fs_bsize, 0, 0, 0); 272 nbp->b_blkno = fsbtodb(fs, nb); 273 clrbuf(nbp); 279 if ((error = bwrite(nbp)) != 0) { 302 nbp = getblk(&vp, lbn, fs->fs_bsize, 0, 0, 0); 303 nbp->b_blkno = fsbtodb(fs, nb); 304 clrbuf(nbp); 305 *bpp = nbp; 318 error = bread(&vp, lbn, (int)fs->fs_bsize, NULL, &nbp); 333 struct buf *bp, *nbp; local [all...] |
/freebsd-11-stable/sys/fs/msdosfs/ |
H A D | direntry.h | 146 char *mbnambuf_flush(struct mbnambuf *nbp, struct dirent *dp); 147 void mbnambuf_init(struct mbnambuf *nbp); 148 int mbnambuf_write(struct mbnambuf *nbp, char *name, int id); 155 int winChkName(struct mbnambuf *nbp, const u_char *un, size_t unlen, 157 int win2unixfn(struct mbnambuf *nbp, struct winentry *wep, int chksum,
|
H A D | msdosfs_conv.c | 582 winChkName(struct mbnambuf *nbp, const u_char *un, size_t unlen, int chksum, argument 591 * We already have winentry in *nbp. 593 if (!mbnambuf_flush(nbp, &dirbuf) || dirbuf.d_namlen == 0) 629 win2unixfn(struct mbnambuf *nbp, struct winentry *wep, int chksum, argument 661 if (mbnambuf_write(nbp, name, 681 if (mbnambuf_write(nbp, name, 701 if (mbnambuf_write(nbp, name, 717 if (mbnambuf_write(nbp, name, (wep->weCnt & WIN_CNT) - 1) != 0) 998 mbnambuf_init(struct mbnambuf *nbp) argument 1001 nbp 1016 mbnambuf_write(struct mbnambuf *nbp, char *name, int id) argument 1065 mbnambuf_flush(struct mbnambuf *nbp, struct dirent *dp) argument [all...] |
/freebsd-11-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-11-stable/sys/geom/journal/ |
H A D | g_journal.c | 802 struct bio *nbp, *cbp, *pbp; local 838 nbp = g_journal_new_bio(nstart, nend, joffset, data, 841 *head = nbp; 843 pbp->bio_next = nbp; 844 nbp->bio_next = cbp; 846 GJ_DEBUG(3, "INSERT(%p): 2 (nbp=%p pbp=%p)", *head, nbp, 901 nbp = g_journal_new_bio(nstart, cend, joffset, data, 903 nbp->bio_next = cbp->bio_next; 904 cbp->bio_next = nbp; 1529 struct bio *bp, *nbp, *head; local [all...] |
/freebsd-11-stable/sys/ufs/ufs/ |
H A D | ufs_bmap.c | 106 ufs_bmaparray(vp, bn, bnp, nbp, runp, runb) 110 struct buf *nbp; 153 if (nbp == NULL) 155 nbp->b_xflags |= BX_ALTDATA;
|
/freebsd-11-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-11-stable/sys/fs/nfsclient/ |
H A D | nfs_clsubs.c | 347 struct buf *bp, *nbp; local 355 TAILQ_FOREACH_SAFE(bp, &bo->bo_dirty.bv_hd, b_bobufs, nbp) {
|
H A D | nfs_clvnops.c | 2657 struct buf *nbp; local 2697 TAILQ_FOREACH_SAFE(bp, &bo->bo_dirty.bv_hd, b_bobufs, nbp) { 2728 TAILQ_FOREACH_SAFE(bp, &bo->bo_dirty.bv_hd, b_bobufs, nbp) { 2732 nbp = TAILQ_NEXT(bp, b_bobufs); 2738 nbp = TAILQ_NEXT(bp, b_bobufs); 2762 * bp is protected by being locked, but nbp is not 2764 * recalculate nbp. 2766 nbp = TAILQ_NEXT(bp, b_bobufs); 2852 TAILQ_FOREACH_SAFE(bp, &bo->bo_dirty.bv_hd, b_bobufs, nbp) {
|
/freebsd-11-stable/sys/kern/ |
H A D | vfs_subr.c | 1777 struct buf *bp, *nbp; local 1785 TAILQ_FOREACH_SAFE(bp, &bufv->bv_hd, b_bobufs, nbp) { 1790 if (nbp != NULL) { 1791 lblkno = nbp->b_lblkno; 1792 xflags = nbp->b_xflags & (BX_VNDIRTY | BX_VNCLEAN); 1824 if (nbp == NULL) 1826 nbp = gbincore(bo, lblkno); 1827 if (nbp == NULL || (nbp->b_xflags & (BX_VNDIRTY | BX_VNCLEAN)) 1829 break; /* nbp invali 1886 struct buf *bp, *nbp; local [all...] |
H A D | vfs_bio.c | 1533 struct buf *bp, *nbp; local 1537 nbp = NULL; 1539 nbp = TAILQ_FIRST(&bufqueues[qindex]); 1545 while ((bp = nbp) != NULL) { 1550 nbp = TAILQ_NEXT(bp, b_freelist); 1573 * NOTE: nbp is now entirely invalid. We can only restart 1586 nbp = TAILQ_FIRST(&bufqueues[qindex]); 2014 struct buf *nbp; local 2024 TAILQ_FOREACH(nbp, &bo->bo_dirty.bv_hd, b_bobufs) { 2025 if ((nbp [all...] |
H A D | vfs_cluster.c | 562 struct buf *nbp, *tbp; local 580 tbp; tbp = nbp) { 581 nbp = TAILQ_NEXT(&tbp->b_cluster, cluster_entry);
|
H A D | vfs_default.c | 646 struct buf *bp, *nbp; local 675 TAILQ_FOREACH_SAFE(bp, &bo->bo_dirty.bv_hd, b_bobufs, nbp) {
|
/freebsd-11-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-11-stable/sys/fs/nandfs/ |
H A D | nandfs_vnops.c | 531 struct buf *bp, *nbp; local 540 TAILQ_FOREACH_SAFE(bp, &bo->bo_clean.bv_hd, b_bobufs, nbp) { 554 TAILQ_FOREACH_SAFE(bp, &bo->bo_dirty.bv_hd, b_bobufs, nbp) { 1075 struct buf *nbp; local 1126 nbp = bp; 1127 nbp->b_blkno = pblk * blk2dev; 1128 bp->b_iooffset = dbtob(nbp->b_blkno); 1130 BO_STRATEGY(&nandfsdev->nd_devvp->v_bufobj, nbp); 1135 (uintmax_t)pblk, nbp));
|
/freebsd-11-stable/sys/amd64/amd64/ |
H A D | machdep.c | 2535 int nbp; /* number of breakpoints that triggered */ local 2558 nbp = 0; 2566 addr[nbp++] = (caddr_t)rdr0(); 2569 addr[nbp++] = (caddr_t)rdr1(); 2572 addr[nbp++] = (caddr_t)rdr2(); 2575 addr[nbp++] = (caddr_t)rdr3(); 2578 for (i = 0; i < nbp; i++) { 2583 return nbp;
|
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_proc.c | 127 dt_bkpt_t *dbp, *nbp; local 131 for (dbp = dt_list_next(&dpr->dpr_bps); dbp != NULL; dbp = nbp) { 137 nbp = dt_list_next(dbp);
|
/freebsd-11-stable/sbin/fsck_ffs/ |
H A D | fsutil.c | 388 struct bufarea *bp, *nbp; local 429 TAILQ_FOREACH_REVERSE_SAFE(bp, &bufhead, buflist, b_list, nbp) {
|
/freebsd-11-stable/sys/i386/i386/ |
H A D | machdep.c | 3343 int nbp; /* number of breakpoints that triggered */ local 3366 nbp = 0; 3374 addr[nbp++] = (caddr_t)rdr0(); 3377 addr[nbp++] = (caddr_t)rdr1(); 3380 addr[nbp++] = (caddr_t)rdr2(); 3383 addr[nbp++] = (caddr_t)rdr3(); 3386 for (i = 0; i < nbp; i++) { 3391 return nbp;
|