/freebsd-9.3-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 276 nbssn_recvhdr(struct nbpcb *nbp, int *lenp, u_int8_t *rpcodep, int flags, struct thread *td) argument 316 nbssn_recv(struct nbpcb *nbp, struct mbuf **mpp, int *lenp, u_int8_t *rpcodep, struct thread *td) argument 441 struct nbpcb *nbp; local 457 struct nbpcb *nbp = vcp->vc_tdata; local 473 struct nbpcb *nbp = vcp->vc_tdata; local 506 struct nbpcb *nbp = vcp->vc_tdata; local 550 struct nbpcb *nbp = vcp->vc_tdata; local 570 struct nbpcb *nbp = vcp->vc_tdata; local 591 struct nbpcb *nbp = vcp->vc_tdata; local 610 struct nbpcb *nbp = vcp->vc_tdata; local 621 struct nbpcb *nbp = vcp->vc_tdata; local 642 struct nbpcb *nbp = vcp->vc_tdata; local [all...] |
/freebsd-9.3-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, &nbp); [all...] |
/freebsd-9.3-release/sys/ufs/ffs/ |
H A D | ffs_rawread.c | 275 struct buf *bp, *nbp, *tbp; local 298 nbp = NULL; 317 nbp = trypbuf(&ffsrawbufcnt); 319 nbp = NULL; 320 if (nbp != NULL) { 321 nsa = nbp->b_data; 322 pbgetvp(vp, nbp); 332 nbp, 335 pbrelvp(nbp); 336 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 | 216 struct buf *bp, *nbp, *ibp; local 342 0, &nbp); 345 bawrite(nbp); 350 fs->fs_bsize, KERNCRED, 0, &nbp); 353 bawrite(nbp); 360 fs->fs_bsize, KERNCRED, 0, &nbp); 363 bawrite(nbp); 382 fs->fs_bsize, KERNCRED, 0, &nbp); 385 error = cgaccount(cg, vp, nbp, 1); 386 bawrite(nbp); 2161 struct buf *nbp; local [all...] |
/freebsd-9.3-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-9.3-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-9.3-release/sys/fs/hpfs/ |
H A D | hpfs_alsubr.c | 221 struct buf *nbp; local 226 error = hpfs_allocalsec(hpmp, asp->as_parent, &nbp); 230 nasp = (alsec_t *)nbp->b_data; 251 *nbpp = nbp; 317 struct buf *nbp; local 320 error = hpfs_allocalsec(hpmp, 0, &nbp); 324 nasp = (alsec_t *)nbp->b_data; 334 *nbpp = nbp; 487 struct buf *nbp; local 497 error = hpfs_alblk2alsec (hpmp, rabp, &nrasp, &nbp); 676 struct buf *nbp; local [all...] |
/freebsd-9.3-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-9.3-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-9.3-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-9.3-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-9.3-release/sys/kern/ |
H A D | vfs_bio.c | 1144 struct buf *nbp; local 1154 TAILQ_FOREACH(nbp, &bo->bo_dirty.bv_hd, b_bobufs) { 1155 if ((nbp->b_vflags & BV_BKGRDINPROG) || 1156 BUF_LOCK(nbp, 1159 if (bp == nbp) 1163 if (buf_countdeps(nbp, 0)) { 1165 BUF_UNLOCK(nbp); 1168 if (nbp->b_flags & B_CLUSTEROK) { 1169 vfs_bio_awrite(nbp); 1171 bremfree(nbp); 2220 struct buf *bp, *nbp; local [all...] |
H A D | vfs_subr.c | 1320 struct buf *bp, *nbp; local 1328 TAILQ_FOREACH_SAFE(bp, &bufv->bv_hd, b_bobufs, nbp) { 1335 if (nbp != NULL) { 1336 lblkno = nbp->b_lblkno; 1337 xflags = nbp->b_xflags & 1379 if (nbp != NULL && 1380 (nbp->b_bufobj != bo || 1381 nbp->b_lblkno != lblkno || 1382 (nbp->b_xflags & 1384 break; /* nbp invali 1398 struct buf *bp, *nbp; local [all...] |
H A D | vfs_cluster.c | 536 struct buf *nbp, *tbp; local 554 tbp; tbp = nbp) { 555 nbp = TAILQ_NEXT(&tbp->b_cluster, cluster_entry);
|
/freebsd-9.3-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-9.3-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-9.3-release/sys/gnu/fs/xfs/ |
H A D | xfs_alloc_btree.c | 1306 xfs_buf_t *nbp; /* new (root) buffer */ local 1330 nbp = xfs_btree_get_bufs(mp, cur->bc_tp, cur->bc_private.a.agno, nbno, 1332 new = XFS_BUF_TO_ALLOC_BLOCK(nbp); 1401 xfs_alloc_log_block(cur->bc_tp, nbp, XFS_BB_ALL_BITS); 1424 xfs_alloc_log_keys(cur, nbp, 1, 2); 1435 xfs_alloc_log_ptrs(cur, nbp, 1, 2); 1439 xfs_btree_setbuf(cur, cur->bc_nlevels, nbp);
|
H A D | xfs_ialloc_btree.c | 1198 xfs_buf_t *nbp; /* new (root) buffer */ local 1231 nbp = xfs_btree_get_bufs(args.mp, args.tp, args.agno, args.agbno, 0); 1232 new = XFS_BUF_TO_INOBT_BLOCK(nbp); 1295 xfs_inobt_log_block(args.tp, nbp, XFS_BB_ALL_BITS); 1310 xfs_inobt_log_keys(cur, nbp, 1, 2); 1317 xfs_inobt_log_ptrs(cur, nbp, 1, 2); 1321 xfs_btree_setbuf(cur, cur->bc_nlevels, nbp);
|
/freebsd-9.3-release/sys/pc98/pc98/ |
H A D | machdep.c | 2915 int nbp; /* number of breakpoints that triggered */ local 2929 nbp = 0; 2947 addr[nbp++] = (caddr_t)rdr0(); 2950 addr[nbp++] = (caddr_t)rdr1(); 2953 addr[nbp++] = (caddr_t)rdr2(); 2956 addr[nbp++] = (caddr_t)rdr3(); 2959 for (i = 0; i < nbp; i++) { 2964 return nbp;
|
/freebsd-9.3-release/sys/amd64/amd64/ |
H A D | machdep.c | 2469 int nbp; /* number of breakpoints that triggered */ local 2483 nbp = 0; 2501 addr[nbp++] = (caddr_t)rdr0(); 2504 addr[nbp++] = (caddr_t)rdr1(); 2507 addr[nbp++] = (caddr_t)rdr2(); 2510 addr[nbp++] = (caddr_t)rdr3(); 2513 for (i = 0; i < nbp; i++) { 2518 return nbp;
|
/freebsd-9.3-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-9.3-release/sbin/fsck_ffs/ |
H A D | fsutil.c | 369 struct bufarea *bp, *nbp; local 410 TAILQ_FOREACH_REVERSE_SAFE(bp, &bufhead, buflist, b_list, nbp) {
|