/freebsd-10.0-release/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-10.0-release/sys/fs/ext2fs/ |
H A D | ext2_balloc.c | 65 struct buf *bp, *nbp; local 217 nbp = getblk(vp, indirs[i].in_lbn, fs->e2fs_bsize, 0, 0, 0); 218 nbp->b_blkno = fsbtodb(fs, nb); 219 vfs_bio_clrbuf(nbp); 224 if ((error = bwrite(nbp)) != 0) { 256 nbp = getblk(vp, lbn, fs->e2fs_bsize, 0, 0, 0); 257 nbp->b_blkno = fsbtodb(fs, nb); 259 vfs_bio_clrbuf(nbp); 272 *bpp = nbp; 281 MAXBSIZE, seqcount, 0, &nbp); [all...] |
/freebsd-10.0-release/sys/ufs/ffs/ |
H A D | ffs_rawread.c | 276 struct buf *bp, *nbp, *tbp; local 299 nbp = NULL; 318 nbp = trypbuf(&ffsrawbufcnt); 320 nbp = NULL; 321 if (nbp != NULL) { 322 nsa = nbp->b_data; 323 pbgetvp(vp, nbp); 333 nbp, 336 pbrelvp(nbp); 337 relpbuf(nbp, [all...] |
H A D | ffs_balloc.c | 98 struct buf *bp, *nbp; local 330 nbp = getblk(vp, indirs[i].in_lbn, fs->fs_bsize, 0, 0, 0); 331 nbp->b_blkno = fsbtodb(fs, nb); 332 vfs_bio_clrbuf(nbp); 334 softdep_setup_allocindir_meta(nbp, ip, bp, 336 bdwrite(nbp); 342 if ((error = bwrite(nbp)) != 0) { 406 nbp = getblk(vp, lbn, fs->fs_bsize, 0, 0, gbflags); 407 nbp->b_blkno = fsbtodb(fs, nb); 409 vfs_bio_clrbuf(nbp); 546 struct buf *bp, *nbp; local [all...] |
H A D | ffs_snapshot.c | 217 struct buf *bp, *nbp, *ibp; local 343 0, &nbp); 346 bawrite(nbp); 351 fs->fs_bsize, KERNCRED, 0, &nbp); 354 bawrite(nbp); 361 fs->fs_bsize, KERNCRED, 0, &nbp); 364 bawrite(nbp); 383 fs->fs_bsize, KERNCRED, 0, &nbp); 386 error = cgaccount(cg, vp, nbp, 1); 387 bawrite(nbp); 2164 struct buf *nbp; local [all...] |
/freebsd-10.0-release/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 void 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 | 595 winChkName(nbp, un, unlen, chksum, pmp) 596 struct mbnambuf *nbp; 608 * We already have winentry in *nbp. 610 if (!mbnambuf_flush(nbp, &dirbuf) || dirbuf.d_namlen == 0) 645 win2unixfn(nbp, wep, chksum, pmp) 646 struct mbnambuf *nbp; 680 mbnambuf_write(nbp, name, (wep->weCnt & WIN_CNT) - 1); 698 mbnambuf_write(nbp, name, (wep->weCnt & WIN_CNT) - 1); 716 mbnambuf_write(nbp, name, (wep->weCnt & WIN_CNT) - 1); 730 mbnambuf_write(nbp, nam 1015 mbnambuf_init(struct mbnambuf *nbp) argument 1033 mbnambuf_write(struct mbnambuf *nbp, char *name, int id) argument 1075 mbnambuf_flush(struct mbnambuf *nbp, struct dirent *dp) argument [all...] |
/freebsd-10.0-release/usr.sbin/makefs/ffs/ |
H A D | ffs_balloc.c | 83 struct buf *bp, *nbp; local 271 nbp = getblk(ip->i_fd, ip->i_fs, indirs[i].in_lbn, 273 nbp->b_blkno = fsbtodb(fs, nb); 274 clrbuf(nbp); 280 if ((error = bwrite(nbp)) != 0) { 303 nbp = getblk(ip->i_fd, ip->i_fs, lbn, fs->fs_bsize); 304 nbp->b_blkno = fsbtodb(fs, nb); 305 clrbuf(nbp); 306 *bpp = nbp; 319 error = bread(ip->i_fd, ip->i_fs, lbn, (int)fs->fs_bsize, &nbp); 334 struct buf *bp, *nbp; local [all...] |
/freebsd-10.0-release/usr.sbin/ppp/ |
H A D | async.c | 193 struct mbuf *nbp, **last; local 203 last = &nbp; 216 return nbp;
|
H A D | mbuf.c | 168 struct mbuf *nbp; local 174 nbp = bp->m_next; 181 bp = nbp; 387 struct mbuf *nbp; local 390 nbp = m_get(m_length(bp), bp->m_type); 392 for (cp = MBUF_CTOP(nbp); bp; bp = m_free(bp)) { 396 bp = nbp;
|
/freebsd-10.0-release/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; 1570 struct bio *bp, *nbp, *head; local [all...] |
/freebsd-10.0-release/contrib/amd/libamu/ |
H A D | mount_fs.c | 884 struct netbuf *nbp; local 904 nbp = nap->addr; 906 nbp->maxlen, nbp->len, 907 get_hex_string(nbp->len, nbp->buf)); 908 nbp = nap->syncaddr; 909 plog(XLOG_DEBUG, "NA->syncaddr {netbuf} %p", nbp);
|
/freebsd-10.0-release/sys/ufs/ufs/ |
H A D | ufs_bmap.c | 105 ufs_bmaparray(vp, bn, bnp, nbp, runp, runb) 109 struct buf *nbp; 154 if (nbp == NULL) 156 nbp->b_xflags |= BX_ALTDATA;
|
/freebsd-10.0-release/sys/kern/ |
H A D | vfs_bio.c | 1237 struct buf *nbp; local 1247 TAILQ_FOREACH(nbp, &bo->bo_dirty.bv_hd, b_bobufs) { 1248 if ((nbp->b_vflags & BV_BKGRDINPROG) || 1249 BUF_LOCK(nbp, 1252 if (bp == nbp) 1256 if (buf_countdeps(nbp, 0)) { 1258 BUF_UNLOCK(nbp); 1261 if (nbp->b_flags & B_CLUSTEROK) { 1262 vfs_bio_awrite(nbp); 1264 bremfree(nbp); 2194 struct buf *bp, *nbp; local [all...] |
H A D | vfs_subr.c | 1331 struct buf *bp, *nbp; local 1339 TAILQ_FOREACH_SAFE(bp, &bufv->bv_hd, b_bobufs, nbp) { 1346 if (nbp != NULL) { 1347 lblkno = nbp->b_lblkno; 1348 xflags = nbp->b_xflags & (BX_VNDIRTY | BX_VNCLEAN); 1385 if (nbp != NULL && 1386 (nbp->b_bufobj != bo || 1387 nbp->b_lblkno != lblkno || 1388 (nbp->b_xflags & (BX_VNDIRTY | BX_VNCLEAN)) != xflags)) 1389 break; /* nbp invali 1402 struct buf *bp, *nbp; local [all...] |
H A D | vfs_cluster.c | 541 struct buf *nbp, *tbp; local 559 tbp; tbp = nbp) { 560 nbp = TAILQ_NEXT(&tbp->b_cluster, cluster_entry);
|
H A D | vfs_default.c | 637 struct buf *nbp; local 656 TAILQ_FOREACH_SAFE(bp, &bo->bo_dirty.bv_hd, b_bobufs, nbp) {
|
/freebsd-10.0-release/sys/fs/nfsclient/ |
H A D | nfs_clsubs.c | 367 struct buf *bp, *nbp; local 375 TAILQ_FOREACH_SAFE(bp, &bo->bo_dirty.bv_hd, b_bobufs, nbp) {
|
/freebsd-10.0-release/contrib/sendmail/src/ |
H A D | util.c | 1430 char *nbp; local 1438 nbp = sm_malloc_x(nn); 1439 memmove(nbp, bp, p - bp); 1440 p = &nbp[p - bp]; 1443 bp = nbp; 2337 char *nbp = sm_pmalloc_x(l); local 2341 bp = nbp;
|
/freebsd-10.0-release/sys/fs/nandfs/ |
H A D | nandfs_vnops.c | 532 struct buf *bp, *nbp; local 541 TAILQ_FOREACH_SAFE(bp, &bo->bo_clean.bv_hd, b_bobufs, nbp) { 555 TAILQ_FOREACH_SAFE(bp, &bo->bo_dirty.bv_hd, b_bobufs, nbp) { 1078 struct buf *nbp; local 1129 nbp = bp; 1130 nbp->b_blkno = pblk * blk2dev; 1131 bp->b_iooffset = dbtob(nbp->b_blkno); 1133 BO_STRATEGY(&nandfsdev->nd_devvp->v_bufobj, nbp); 1138 (uintmax_t)pblk, nbp));
|
/freebsd-10.0-release/sys/amd64/amd64/ |
H A D | machdep.c | 2500 int nbp; /* number of breakpoints that triggered */ local 2514 nbp = 0; 2532 addr[nbp++] = (caddr_t)rdr0(); 2535 addr[nbp++] = (caddr_t)rdr1(); 2538 addr[nbp++] = (caddr_t)rdr2(); 2541 addr[nbp++] = (caddr_t)rdr3(); 2544 for (i = 0; i < nbp; i++) { 2549 return nbp;
|
/freebsd-10.0-release/sys/pc98/pc98/ |
H A D | machdep.c | 2920 int nbp; /* number of breakpoints that triggered */ local 2934 nbp = 0; 2952 addr[nbp++] = (caddr_t)rdr0(); 2955 addr[nbp++] = (caddr_t)rdr1(); 2958 addr[nbp++] = (caddr_t)rdr2(); 2961 addr[nbp++] = (caddr_t)rdr3(); 2964 for (i = 0; i < nbp; i++) { 2969 return nbp;
|
/freebsd-10.0-release/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-10.0-release/sbin/fsck_ffs/ |
H A D | fsutil.c | 368 struct bufarea *bp, *nbp; local 409 TAILQ_FOREACH_REVERSE_SAFE(bp, &bufhead, buflist, b_list, nbp) {
|
/freebsd-10.0-release/sys/i386/i386/ |
H A D | machdep.c | 3633 int nbp; /* number of breakpoints that triggered */ local 3647 nbp = 0; 3665 addr[nbp++] = (caddr_t)rdr0(); 3668 addr[nbp++] = (caddr_t)rdr1(); 3671 addr[nbp++] = (caddr_t)rdr2(); 3674 addr[nbp++] = (caddr_t)rdr3(); 3677 for (i = 0; i < nbp; i++) { 3682 return nbp;
|