/freebsd/sys/ufs/ffs/ |
H A D | ffs_rawread.c | 105 bo->bo_dirty.bv_cnt > 0 || in ffs_rawread_sync() 153 if (bo->bo_dirty.bv_cnt > 0) { in ffs_rawread_sync() 162 if (bo->bo_numoutput > 0 || bo->bo_dirty.bv_cnt > 0) in ffs_rawread_sync()
|
H A D | ffs_vnops.c | 250 (bo->bo_numoutput > 0 || bo->bo_dirty.bv_cnt > 0)) { in ffs_fsync() 302 TAILQ_FOREACH(bp, &bo->bo_dirty.bv_hd, b_bobufs) in ffs_syncvnode() 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() 423 if (bo->bo_dirty.bv_cnt > 0) { in ffs_syncvnode() 432 TAILQ_FOREACH(bp, &bo->bo_dirty.bv_hd, b_bobufs) { in ffs_syncvnode()
|
H A D | ffs_inode.c | 661 (bo->bo_dirty.bv_cnt > 0 || bo->bo_clean.bv_cnt > 0)) in ffs_truncate() 663 vp, bo->bo_dirty.bv_cnt, bo->bo_clean.bv_cnt); in ffs_truncate()
|
H A D | ffs_snapshot.c | 2207 if (bo->bo_dirty.bv_cnt <= dirtybufthresh) in ffs_bdflush() 2220 if (bo->bo_dirty.bv_cnt > dirtybufthresh + 10 && !bp_bdskip) { in ffs_bdflush() 2228 TAILQ_FOREACH(nbp, &bo->bo_dirty.bv_hd, b_bobufs) { in ffs_bdflush()
|
H A D | ffs_vfsops.c | 1738 vp->v_bufobj.bo_dirty.bv_cnt == 0) { in ffs_sync() 1778 if (bo->bo_numoutput > 0 || bo->bo_dirty.bv_cnt > 0) { in ffs_sync()
|
H A D | ffs_softdep.c | 512 bo->bo_dirty.bv_cnt > 0 || in softdep_check_suspend() 7357 TAILQ_FOREACH(bp, &bo->bo_dirty.bv_hd, b_bobufs) in trunc_dependencies() 7360 TAILQ_FOREACH(bp, &bo->bo_dirty.bv_hd, b_bobufs) { in trunc_dependencies() 12832 TAILQ_FOREACH_SAFE(bp, &bo->bo_dirty.bv_hd, b_bobufs, nbp) { in softdep_fsync_mountdev() 13787 if (TAILQ_FIRST(&lvp->v_bufobj.bo_dirty.bv_hd) == 0) { in softdep_request_cleanup_flush() 14587 bo->bo_dirty.bv_cnt > 0 || in softdep_check_suspend() 14687 bo->bo_dirty.bv_cnt > 0 || in softdep_check_suspend()
|
/freebsd/sys/sys/ |
H A D | bufobj.h | 104 struct bufv bo_dirty; /* i Dirty buffers */ member
|
/freebsd/sys/kern/ |
H A D | vfs_subr.c | 2203 VNASSERT(bo->bo_dirty.bv_cnt == 0, vp, ("dirtybufcnt not 0")); in freevnode() 2204 VNASSERT(pctrie_is_empty(&bo->bo_dirty.bv_root), vp, in freevnode() 2345 if (bo->bo_dirty.bv_cnt > 0) { in bufobj_invalbuf() 2353 if (bo->bo_numoutput > 0 || bo->bo_dirty.bv_cnt > 0) { in bufobj_invalbuf() 2368 error = flushbuflist(&bo->bo_dirty, in bufobj_invalbuf() 2405 V_ALLOWCLEAN)) == 0 && (bo->bo_dirty.bv_cnt > 0 || in bufobj_invalbuf() 2409 bo->bo_dirty.bv_cnt > 0) in bufobj_invalbuf() 2581 TAILQ_FOREACH_SAFE(bp, &bo->bo_dirty.bv_hd, b_bobufs, nbp) { in vtruncbuf() 2652 bv = clean ? &bo->bo_clean : &bo->bo_dirty; in v_inval_buf_range_locked() 2699 bv = &bp->b_bufobj->bo_dirty; in buf_vlist_remove() [all …]
|
H A D | vfs_default.c | 1122 error = bnoreuselist(&bo->bo_dirty, bo, startn, endn); in vop_stdadvise() 1381 if (vp->v_bufobj.bo_dirty.bv_cnt == 0) { in vfs_stdsync()
|
H A D | vfs_bio.c | 2406 if (bo->bo_dirty.bv_cnt > bd->bd_dirtybufthresh + 10) { in bufbdflush() 2409 } else if (bo->bo_dirty.bv_cnt > bd->bd_dirtybufthresh) { in bufbdflush() 2414 TAILQ_FOREACH(nbp, &bo->bo_dirty.bv_hd, b_bobufs) { in bufbdflush() 5194 TAILQ_INIT(&bo->bo_dirty.bv_hd); in bufobj_init() 5195 pctrie_init(&bo->bo_dirty.bv_root); in bufobj_init() 5639 TAILQ_FOREACH(bp, &vp->v_bufobj.bo_dirty.bv_hd, b_bobufs) { in DB_SHOW_COMMAND()
|
H A D | vfs_vnops.c | 2985 TAILQ_FOREACH(bp, &bo->bo_dirty.bv_hd, b_bobufs) { in vn_fsync_buf() 2994 TAILQ_FOREACH_SAFE(bp, &bo->bo_dirty.bv_hd, b_bobufs, nbp) { in vn_fsync_buf() 3035 if (bo->bo_dirty.bv_cnt > 0) { in vn_fsync_buf() 3041 TAILQ_FOREACH(bp, &bo->bo_dirty.bv_hd, b_bobufs) in vn_fsync_buf()
|
/freebsd/sys/fs/nfsclient/ |
H A D | nfs_clsubs.c | 360 TAILQ_FOREACH_SAFE(bp, &bo->bo_dirty.bv_hd, b_bobufs, nbp) { in ncl_clearcommit()
|
H A D | nfs_clvnops.c | 2952 TAILQ_FOREACH_SAFE(bp, &bo->bo_dirty.bv_hd, b_bobufs, nbp) { in ncl_flush() 2983 TAILQ_FOREACH_SAFE(bp, &bo->bo_dirty.bv_hd, b_bobufs, nbp) { in ncl_flush() 3107 TAILQ_FOREACH_SAFE(bp, &bo->bo_dirty.bv_hd, b_bobufs, nbp) { in ncl_flush() 3185 if (bo->bo_dirty.bv_cnt != 0 && commit) { in ncl_flush() 3209 if (commit && bo->bo_dirty.bv_cnt == 0 && in ncl_flush() 3217 (bo->bo_dirty.bv_cnt != 0 || bo->bo_numoutput != 0)) { in ncl_flush()
|
H A D | nfs_clbio.c | 984 if (vp->v_bufobj.bo_dirty.bv_cnt != 0) { in ncl_write() 985 TAILQ_FOREACH(bp, &vp->v_bufobj.bo_dirty.bv_hd, in ncl_write()
|
H A D | nfs_clvfsops.c | 2032 if (NFSVOPISLOCKED(vp) || vp->v_bufobj.bo_dirty.bv_cnt == 0) { in nfs_sync()
|
/freebsd/sys/fs/msdosfs/ |
H A D | msdosfs_vfsops.c | 952 TAILQ_FIRST(&vp->v_bufobj.bo_dirty.bv_hd), in msdosfs_unmount() 1137 (vp->v_bufobj.bo_dirty.bv_cnt == 0 || in msdosfs_sync()
|
/freebsd/sys/fs/ext2fs/ |
H A D | ext2_inode.c | 446 if (length == 0 && (bo->bo_dirty.bv_cnt != 0 || in ext2_ind_truncate()
|