/freebsd/sys/kern/ |
H A D | vfs_vnops.c | 2966 struct buf *bp, *nbp; in vn_fsync_buf() local 2994 TAILQ_FOREACH_SAFE(bp, &bo->bo_dirty.bv_hd, b_bobufs, nbp) { in vn_fsync_buf()
|
H A D | vfs_bio.c | 1793 struct buf *bp, *nbp; in buf_recycle() local 1797 nbp = NULL; in buf_recycle() 1808 while ((bp = nbp) != NULL) { in buf_recycle() 2397 struct buf *nbp; in bufbdflush() local 2411 BUF_LOCK(nbp, in bufbdflush() 2414 if (bp == nbp) in bufbdflush() 2420 BUF_UNLOCK(nbp); in bufbdflush() 2424 vfs_bio_awrite(nbp); in bufbdflush() 2426 bremfree(nbp); in bufbdflush() 2427 bawrite(nbp); in bufbdflush() [all …]
|
H A D | vfs_subr.c | 2414 struct buf *bp, *nbp; in flushbuflist() local 2435 if (nbp != NULL) { in flushbuflist() 2436 lblkno = nbp->b_lblkno; in flushbuflist() 2469 if (nbp == NULL) in flushbuflist() 2472 if (nbp == NULL || (nbp->b_xflags & (BX_VNDIRTY | BX_VNCLEAN)) in flushbuflist() 2531 struct buf *bp, *nbp; in vtruncbuf() local 2617 struct buf *bp, *nbp; in v_inval_buf_range_locked() local 2642 if (nbp != NULL && in v_inval_buf_range_locked() 2644 nbp->b_vp != vp || in v_inval_buf_range_locked() 2665 if (nbp != NULL && in v_inval_buf_range_locked() [all …]
|
H A D | vfs_cluster.c | 555 struct buf *nbp, *tbp; in cluster_callback() local 573 tbp; tbp = nbp) { in cluster_callback() 574 nbp = TAILQ_NEXT(&tbp->b_cluster, cluster_entry); in cluster_callback()
|
/freebsd/usr.sbin/bhyve/ |
H A D | gdb.c | 1333 struct breakpoint *bp, *nbp; in remove_all_sw_breakpoints() local 1339 TAILQ_FOREACH_SAFE(bp, &breakpoints, link, nbp) { in remove_all_sw_breakpoints()
|
/freebsd/sys/cam/ |
H A D | cam_iosched.c | 1650 struct bio *nbp; in cam_iosched_queue_work() local 1655 nbp = bioq_takefirst(&isc->trim_queue); in cam_iosched_queue_work() 1656 len += nbp->bio_length; in cam_iosched_queue_work() 1657 nbp->bio_error = 0; in cam_iosched_queue_work() 1658 biodone(nbp); in cam_iosched_queue_work()
|
/freebsd/sys/fs/nfsclient/ |
H A D | nfs_clvnops.c | 2905 struct buf *nbp; in ncl_flush() local 2946 TAILQ_FOREACH_SAFE(bp, &bo->bo_dirty.bv_hd, b_bobufs, nbp) { in ncl_flush() 2977 TAILQ_FOREACH_SAFE(bp, &bo->bo_dirty.bv_hd, b_bobufs, nbp) { in ncl_flush() 2981 nbp = TAILQ_NEXT(bp, b_bobufs); in ncl_flush() 2987 nbp = TAILQ_NEXT(bp, b_bobufs); in ncl_flush() 3015 nbp = TAILQ_NEXT(bp, b_bobufs); in ncl_flush() 3101 TAILQ_FOREACH_SAFE(bp, &bo->bo_dirty.bv_hd, b_bobufs, nbp) { in ncl_flush()
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | zil.c | 243 blkptr_t *nbp, char **begin, char **end, arc_buf_t **abuf) in zil_read_log_block() argument 291 *nbp = zilc->zc_next_blk; in zil_read_log_block() 304 *nbp = zilc->zc_next_blk; in zil_read_log_block()
|
/freebsd/sbin/fsck_ffs/ |
H A D | dir.c | 781 struct bufarea *bp, *nbp; in expanddir() local 787 nbp = NULL; in expanddir() 817 if (nbp->b_errs) in expanddir() 825 memset(&nbp->b_un.b_buf[lastlbnsize], 0, in expanddir() 831 dirty(nbp); in expanddir() 832 brelse(nbp); in expanddir() 868 if (nbp->b_errs) in expanddir() 878 dirty(nbp); in expanddir() 879 brelse(nbp); in expanddir() 889 if (nbp != NULL) { in expanddir() [all …]
|
H A D | fsutil.c | 608 struct bufarea *bp, *nbp; in ckfini() local 674 TAILQ_FOREACH_REVERSE_SAFE(bp, &bufqueuehd, bufqueue, b_list, nbp) { in ckfini() 711 TAILQ_FOREACH_REVERSE_SAFE(bp, &bufqueuehd, bufqueue, b_list, nbp) { in ckfini()
|
/freebsd/contrib/sendmail/src/ |
H A D | util.c | 1576 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;
|
H A D | readcf.c | 219 char *nbp; local 229 nbp = translate_dollars(bp, bp, &bufsize); 230 if (nbp != bp && bp != buf) 232 bp = nbp;
|
/freebsd/sys/geom/journal/ |
H A D | g_journal.c | 849 *head = nbp; in g_journal_insert() 852 nbp->bio_next = cbp; in g_journal_insert() 912 cbp->bio_next = nbp; in g_journal_insert() 939 cbp->bio_next = nbp; in g_journal_insert() 971 *head = nbp; in g_journal_insert() 974 nbp->bio_next = cbp; in g_journal_insert() 998 *head = nbp; in g_journal_insert() 1000 pbp->bio_next = nbp; in g_journal_insert() 1001 nbp->bio_next = NULL; in g_journal_insert() 1588 nbp->bio_data = in g_journal_read() [all …]
|
/freebsd/sys/ufs/ffs/ |
H A D | ffs_softdep.c | 197 struct buf *nbp) in softdep_setup_allocindir_page() argument 6128 lbn = nbp->b_lblkno; in softdep_setup_allocindir_meta() 12812 struct buf *bp, *nbp; in softdep_fsync_mountdev() local 12958 struct buf *nbp; in softdep_sync_buf() local 12998 nbp = getdirtybuf(nbp, LOCK_PTR(ump), waitfor); in softdep_sync_buf() 12999 if (nbp == NULL) in softdep_sync_buf() 13029 nbp = getdirtybuf(nbp, LOCK_PTR(ump), waitfor); in softdep_sync_buf() 13030 if (nbp == NULL) in softdep_sync_buf() 14835 &nbp->nb_jnewblk, in newblk_print() 14836 &nbp->nb_bmsafemap, in newblk_print() [all …]
|
H A D | ffs_vnops.c | 267 struct buf *bp, *nbp; in ffs_syncvnode() local 304 TAILQ_FOREACH_SAFE(bp, &bo->bo_dirty.bv_hd, b_bobufs, nbp) { in ffs_syncvnode() 399 nbp = TAILQ_FIRST(&bo->bo_dirty.bv_hd); in ffs_syncvnode()
|
H A D | ffs_rawread.c | 277 nbp = NULL; in ffs_rawread_main() 294 nbp = NULL; in ffs_rawread_main() 310 nbp); in ffs_rawread_main() 311 nbp = NULL; in ffs_rawread_main() 346 bp = nbp; in ffs_rawread_main() 347 nbp = tbp; in ffs_rawread_main() 350 pbrelvp(nbp); in ffs_rawread_main() 352 nbp = NULL; in ffs_rawread_main() 366 nbp = NULL; in ffs_rawread_main() 385 vunmapbuf(nbp); in ffs_rawread_main() [all …]
|
H A D | ffs_snapshot.c | 338 0, &nbp); in ffs_snapshot() 341 bawrite(nbp); in ffs_snapshot() 349 bawrite(nbp); in ffs_snapshot() 359 bawrite(nbp); in ffs_snapshot() 395 bawrite(nbp); in ffs_snapshot() 461 bawrite(nbp); in ffs_snapshot() 821 bawrite(nbp); in ffs_snapshot() 826 brelse(nbp); in ffs_snapshot() 834 bawrite(nbp); in ffs_snapshot() 910 struct buf *nbp, in cgaccount() argument [all …]
|
H A D | ffs_balloc.c | 97 struct buf *bp, *nbp; in ffs_balloc_ufs1() local 359 bdwrite(nbp); in ffs_balloc_ufs1() 363 bdwrite(nbp); in ffs_balloc_ufs1() 457 *bpp = nbp; in ffs_balloc_ufs1() 475 brelse(nbp); in ffs_balloc_ufs1() 483 *bpp = nbp; in ffs_balloc_ufs1() 981 bdwrite(nbp); in ffs_balloc_ufs2() 985 bdwrite(nbp); in ffs_balloc_ufs2() 1079 *bpp = nbp; in ffs_balloc_ufs2() 1103 brelse(nbp); in ffs_balloc_ufs2() [all …]
|
/freebsd/sys/ufs/ufs/ |
H A D | ufs_bmap.c | 158 struct buf *nbp, in ufs_bmaparray() argument 200 if (nbp == NULL) { in ufs_bmaparray() 204 nbp->b_xflags |= BX_ALTDATA; in ufs_bmaparray()
|
/freebsd/usr.sbin/services_mkdb/ |
H A D | services | 393 at-nbp 202/tcp #AppleTalk Name Binding 394 at-nbp 202/udp #AppleTalk Name Binding
|
/freebsd/usr.sbin/ppp/ |
H A D | async.c | 192 struct mbuf *nbp, **last; in async_LayerPull() local 202 last = &nbp; in async_LayerPull() 215 return nbp; in async_LayerPull()
|
/freebsd/usr.sbin/makefs/ffs/ |
H A D | ffs_balloc.c | 275 clrbuf(nbp); in ffs_balloc_ufs1() 307 clrbuf(nbp); in ffs_balloc_ufs1() 308 *bpp = nbp; in ffs_balloc_ufs1() 322 NULL, &nbp); in ffs_balloc_ufs1() 324 brelse(nbp); in ffs_balloc_ufs1() 327 *bpp = nbp; in ffs_balloc_ufs1() 532 clrbuf(nbp); in ffs_balloc_ufs2() 564 clrbuf(nbp); in ffs_balloc_ufs2() 565 *bpp = nbp; in ffs_balloc_ufs2() 581 brelse(nbp); in ffs_balloc_ufs2() [all …]
|
/freebsd/sys/netsmb/ |
H A D | smb_trantcp.c | 153 nbp->nbp_tso = so; in nb_connect_in() 159 error = soreserve(so, nbp->nbp_sndbuf, nbp->nbp_rcvbuf); in nb_connect_in() 453 struct nbpcb *nbp; in smb_nbst_create() local 455 nbp = malloc(sizeof *nbp, M_NBDATA, M_WAITOK); in smb_nbst_create() 456 bzero(nbp, sizeof *nbp); in smb_nbst_create() 459 nbp->nbp_vc = vcp; in smb_nbst_create() 471 if (nbp == NULL) in smb_nbst_done() 552 timespecadd(&nbp->nbp_timo, &ts2, &nbp->nbp_timo); in smb_nbst_connect() 553 timespecadd(&nbp->nbp_timo, &ts2, &nbp->nbp_timo); /* * 4 */ in smb_nbst_connect() 566 if (nbp == NULL || nbp->nbp_tso == NULL) in smb_nbst_disconnect() [all …]
|
/freebsd/sys/i386/i386/ |
H A D | exec_machdep.c | 1390 int nbp; /* number of breakpoints that triggered */ in user_dbreg_trap() local 1413 nbp = 0; in user_dbreg_trap() 1421 addr[nbp++] = (caddr_t)rdr0(); in user_dbreg_trap() 1424 addr[nbp++] = (caddr_t)rdr1(); in user_dbreg_trap() 1427 addr[nbp++] = (caddr_t)rdr2(); in user_dbreg_trap() 1430 addr[nbp++] = (caddr_t)rdr3(); in user_dbreg_trap() 1433 for (i = 0; i < nbp; i++) { in user_dbreg_trap() 1438 return (nbp); in user_dbreg_trap()
|
/freebsd/sys/fs/ext2fs/ |
H A D | ext2_balloc.c | 103 struct buf *bp, *nbp; in ext2_balloc() local 241 nbp->b_blkno = fsbtodb(fs, nb); in ext2_balloc() 242 vfs_bio_clrbuf(nbp); in ext2_balloc() 247 if ((error = bwrite(nbp)) != 0) { in ext2_balloc() 281 nbp->b_blkno = fsbtodb(fs, nb); in ext2_balloc() 283 vfs_bio_clrbuf(nbp); in ext2_balloc() 296 *bpp = nbp; in ext2_balloc() 306 MAXBSIZE, seqcount, 0, &nbp); in ext2_balloc() 311 brelse(nbp); in ext2_balloc() 316 nbp->b_blkno = fsbtodb(fs, nb); in ext2_balloc() [all …]
|