Searched refs:nbp (Results 1 - 25 of 32) sorted by relevance

12

/freebsd-current/sys/netsmb/
H A Dsmb_trantcp.c74 static int nbssn_recv(struct nbpcb *nbp, struct mbuf **mpp, int *lenp,
96 nb_intr(struct nbpcb *nbp, struct proc *p) argument
104 struct nbpcb *nbp = arg; local
106 if (arg == NULL || nbp->nbp_selectid == NULL)
108 wakeup(nbp->nbp_selectid);
144 nb_connect_in(struct nbpcb *nbp, struct sockaddr_in *to, struct thread *td) argument
153 nbp->nbp_tso = so;
155 soupcall_set(so, SO_RCV, nb_upcall, nbp);
159 error = soreserve(so, nbp->nbp_sndbuf, nbp
197 nbssn_rq_request(struct nbpcb *nbp, struct thread *td) argument
288 nbssn_recvhdr(struct nbpcb *nbp, int *lenp, u_int8_t *rpcodep, int flags, struct thread *td) argument
328 nbssn_recv(struct nbpcb *nbp, struct mbuf **mpp, int *lenp, u_int8_t *rpcodep, struct thread *td) argument
453 struct nbpcb *nbp; local
469 struct nbpcb *nbp = vcp->vc_tdata; local
485 struct nbpcb *nbp = vcp->vc_tdata; local
518 struct nbpcb *nbp = vcp->vc_tdata; local
563 struct nbpcb *nbp = vcp->vc_tdata; local
583 struct nbpcb *nbp = vcp->vc_tdata; local
603 struct nbpcb *nbp = vcp->vc_tdata; local
622 struct nbpcb *nbp = vcp->vc_tdata; local
633 struct nbpcb *nbp = vcp->vc_tdata; local
654 struct nbpcb *nbp = vcp->vc_tdata; local
[all...]
/freebsd-current/sys/ufs/ffs/
H A Dffs_rawread.c256 struct buf *bp, *nbp, *tbp; local
277 nbp = NULL;
291 nbp = uma_zalloc(ffsraw_pbuf_zone,
294 nbp = NULL;
295 if (nbp != NULL) {
296 pbgetvp(vp, nbp);
306 nbp);
308 pbrelvp(nbp);
310 nbp);
311 nbp
[all...]
H A Dffs_balloc.c97 struct buf *bp, *nbp; local
353 nbp = getblk(vp, indirs[i].in_lbn, fs->fs_bsize, 0, 0, 0);
354 nbp->b_blkno = fsbtodb(fs, nb);
355 vfs_bio_clrbuf(nbp);
357 softdep_setup_allocindir_meta(nbp, ip, bp,
359 bdwrite(nbp);
361 if (nbp->b_bufsize == fs->fs_bsize)
362 nbp->b_flags |= B_CLUSTEROK;
363 bdwrite(nbp);
365 if ((error = bwrite(nbp)) !
601 struct buf *bp, *nbp; local
[all...]
H A Dffs_snapshot.c209 struct buf *bp, *nbp, *ibp; local
338 0, &nbp);
341 bawrite(nbp);
346 fs->fs_bsize, KERNCRED, 0, &nbp);
349 bawrite(nbp);
356 fs->fs_bsize, KERNCRED, 0, &nbp);
359 bawrite(nbp);
391 fs->fs_bsize, KERNCRED, 0, &nbp);
394 error = cgaccount(cg, vp, nbp, 1);
395 bawrite(nbp);
908 cgaccount(int cg, struct vnode *vp, struct buf *nbp, int passno) argument
2195 struct buf *nbp; local
[all...]
H A Dffs_softdep.c197 struct buf *nbp)
204 softdep_setup_allocindir_meta(struct buf *nbp, argument
6069 struct buf *nbp) /* buffer holding allocated page */
6082 KASSERT(lbn == nbp->b_lblkno,
6097 pagedep_lookup(mp, nbp, ip->i_number, lbn, DEPALLOC, &pagedep);
6098 WORKLIST_INSERT(&nbp->b_dep, &aip->ai_block.nb_list);
6111 struct buf *nbp, /* newly allocated indirect block */
6128 lbn = nbp->b_lblkno;
6132 WORKLIST_INSERT(&nbp->b_dep, &aip->ai_block.nb_list);
12812 struct buf *bp, *nbp; local
191 softdep_setup_allocindir_page(struct inode *ip, ufs_lbn_t lbn, struct buf *bp, int ptrno, ufs2_daddr_t newblkno, ufs2_daddr_t oldblkno, struct buf *nbp) argument
6062 softdep_setup_allocindir_page( struct inode *ip, ufs_lbn_t lbn, struct buf *bp, int ptrno, ufs2_daddr_t newblkno, ufs2_daddr_t oldblkno, struct buf *nbp) argument
6110 softdep_setup_allocindir_meta( struct buf *nbp, struct inode *ip, struct buf *bp, int ptrno, ufs2_daddr_t newblkno) argument
12958 struct buf *nbp; local
14829 newblk_print(struct newblk *nbp) argument
[all...]
/freebsd-current/usr.sbin/makefs/ffs/
H A Dffs_balloc.c81 struct m_buf *bp, *nbp; local
272 nbp = getblk((void *)ip->i_devvp, indirs[i].in_lbn,
274 nbp->b_blkno = fsbtodb(fs, nb);
275 clrbuf(nbp);
281 if ((error = bwrite(nbp)) != 0) {
304 nbp = getblk((void *)ip->i_devvp, lbn, fs->fs_bsize,
306 nbp->b_blkno = fsbtodb(fs, nb);
307 clrbuf(nbp);
308 *bpp = nbp;
322 NULL, &nbp);
338 struct m_buf *bp, *nbp; local
[all...]
/freebsd-current/sys/fs/ext2fs/
H A Dext2_balloc.c103 struct buf *bp, *nbp; local
240 nbp = getblk(vp, indirs[i].in_lbn, fs->e2fs_bsize, 0, 0, 0);
241 nbp->b_blkno = fsbtodb(fs, nb);
242 vfs_bio_clrbuf(nbp);
247 if ((error = bwrite(nbp)) != 0) {
280 nbp = getblk(vp, lbn, fs->e2fs_bsize, 0, 0, 0);
281 nbp->b_blkno = fsbtodb(fs, nb);
283 vfs_bio_clrbuf(nbp);
296 *bpp = nbp;
306 MAXBSIZE, seqcount, 0, &nbp);
[all...]
/freebsd-current/sys/fs/msdosfs/
H A Ddirentry.h147 char *mbnambuf_flush(struct mbnambuf *nbp, struct dirent *dp);
148 void mbnambuf_init(struct mbnambuf *nbp);
149 int mbnambuf_write(struct mbnambuf *nbp, char *name, int id);
156 int winChkName(struct mbnambuf *nbp, const u_char *un, size_t unlen,
158 int win2unixfn(struct mbnambuf *nbp, struct winentry *wep, int chksum,
H A Dmsdosfs_conv.c582 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-current/usr.sbin/ppp/
H A Dasync.c192 struct mbuf *nbp, **last; local
202 last = &nbp;
215 return nbp;
H A Dmbuf.c168 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-current/sbin/fsck_ffs/
H A Ddir.c781 struct bufarea *bp, *nbp; local
787 nbp = NULL;
816 nbp = getdatablk(newblk, sblock.fs_bsize, BT_DIRDATA);
817 if (nbp->b_errs)
824 memmove(nbp->b_un.b_buf, bp->b_un.b_buf, lastlbnsize);
825 memset(&nbp->b_un.b_buf[lastlbnsize], 0,
827 for (cp = &nbp->b_un.b_buf[lastlbnsize];
828 cp < &nbp->b_un.b_buf[sblock.fs_bsize];
831 dirty(nbp);
832 brelse(nbp);
[all...]
H A Dfsutil.c608 struct bufarea *bp, *nbp; local
674 TAILQ_FOREACH_REVERSE_SAFE(bp, &bufqueuehd, bufqueue, b_list, nbp) {
711 TAILQ_FOREACH_REVERSE_SAFE(bp, &bufqueuehd, bufqueue, b_list, nbp) {
/freebsd-current/sys/geom/journal/
H A Dg_journal.c810 struct bio *nbp, *cbp, *pbp; local
846 nbp = g_journal_new_bio(nstart, nend, joffset, data,
849 *head = nbp;
851 pbp->bio_next = nbp;
852 nbp->bio_next = cbp;
854 GJ_DEBUG(3, "INSERT(%p): 2 (nbp=%p pbp=%p)", *head, nbp,
909 nbp = g_journal_new_bio(nstart, cend, joffset, data,
911 nbp->bio_next = cbp->bio_next;
912 cbp->bio_next = nbp;
1537 struct bio *bp, *nbp, *head; local
[all...]
/freebsd-current/sys/amd64/amd64/
H A Dexec_machdep.c917 int nbp; /* number of breakpoints that triggered */ local
940 nbp = 0;
948 addr[nbp++] = (caddr_t)rdr0();
951 addr[nbp++] = (caddr_t)rdr1();
954 addr[nbp++] = (caddr_t)rdr2();
957 addr[nbp++] = (caddr_t)rdr3();
960 for (i = 0; i < nbp; i++) {
965 return (nbp);
/freebsd-current/sys/ufs/ufs/
H A Dufs_bmap.c158 struct buf *nbp,
200 if (nbp == NULL) {
204 nbp->b_xflags |= BX_ALTDATA;
155 ufs_bmaparray(struct vnode *vp, ufs2_daddr_t bn, ufs2_daddr_t *bnp, struct buf *nbp, int *runp, int *runb) argument
/freebsd-current/sys/fs/nfsclient/
H A Dnfs_clsubs.c352 struct buf *bp, *nbp; local
360 TAILQ_FOREACH_SAFE(bp, &bo->bo_dirty.bv_hd, b_bobufs, nbp) {
H A Dnfs_clvnops.c2905 struct buf *nbp; local
2946 TAILQ_FOREACH_SAFE(bp, &bo->bo_dirty.bv_hd, b_bobufs, nbp) {
2977 TAILQ_FOREACH_SAFE(bp, &bo->bo_dirty.bv_hd, b_bobufs, nbp) {
2981 nbp = TAILQ_NEXT(bp, b_bobufs);
2987 nbp = TAILQ_NEXT(bp, b_bobufs);
3011 * bp is protected by being locked, but nbp is not
3013 * recalculate nbp.
3015 nbp = TAILQ_NEXT(bp, b_bobufs);
3101 TAILQ_FOREACH_SAFE(bp, &bo->bo_dirty.bv_hd, b_bobufs, nbp) {
/freebsd-current/sys/i386/i386/
H A Dexec_machdep.c1390 int nbp; /* number of breakpoints that triggered */ local
1413 nbp = 0;
1421 addr[nbp++] = (caddr_t)rdr0();
1424 addr[nbp++] = (caddr_t)rdr1();
1427 addr[nbp++] = (caddr_t)rdr2();
1430 addr[nbp++] = (caddr_t)rdr3();
1433 for (i = 0; i < nbp; i++) {
1438 return (nbp);
/freebsd-current/sys/kern/
H A Dvfs_bio.c1793 struct buf *bp, *nbp; local
1797 nbp = NULL;
1802 nbp = TAILQ_FIRST(&bq->bq_queue);
1808 while ((bp = nbp) != NULL) {
1813 nbp = TAILQ_NEXT(bp, b_freelist);
1852 * NOTE: nbp is now entirely invalid. We can only restart
1865 nbp = TAILQ_FIRST(&bq->bq_queue);
2397 struct buf *nbp; local
2409 TAILQ_FOREACH(nbp, &bo->bo_dirty.bv_hd, b_bobufs) {
2410 if ((nbp
[all...]
H A Dvfs_subr.c2414 struct buf *bp, *nbp; local
2422 TAILQ_FOREACH_SAFE(bp, &bufv->bv_hd, b_bobufs, nbp) {
2435 if (nbp != NULL) {
2436 lblkno = nbp->b_lblkno;
2437 xflags = nbp->b_xflags & (BX_VNDIRTY | BX_VNCLEAN);
2469 if (nbp == NULL)
2471 nbp = gbincore(bo, lblkno);
2472 if (nbp == NULL || (nbp->b_xflags & (BX_VNDIRTY | BX_VNCLEAN))
2474 break; /* nbp invali
2531 struct buf *bp, *nbp; local
2617 struct buf *bp, *nbp; local
[all...]
H A Dvfs_cluster.c555 struct buf *nbp, *tbp; local
573 tbp; tbp = nbp) {
574 nbp = TAILQ_NEXT(&tbp->b_cluster, cluster_entry);
/freebsd-current/contrib/sendmail/src/
H A Dutil.c1576 char *nbp; local
1584 nbp = sm_malloc_x(nn);
1585 memmove(nbp, bp, p - bp);
1586 p = &nbp[p - bp];
1589 bp = nbp;
2485 char *nbp = sm_pmalloc_x(l); local
2489 bp = nbp;
/freebsd-current/sys/cam/
H A Dcam_iosched.c1650 struct bio *nbp; local
1655 nbp = bioq_takefirst(&isc->trim_queue);
1656 len += nbp->bio_length;
1657 nbp->bio_error = 0;
1658 biodone(nbp);
/freebsd-current/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_proc.c125 dt_bkpt_t *dbp, *nbp; local
129 for (dbp = dt_list_next(&dpr->dpr_bps); dbp != NULL; dbp = nbp) {
135 nbp = dt_list_next(dbp);

Completed in 385 milliseconds

12