Home
last modified time | relevance | path

Searched refs:bo_dirty (Results 1 – 17 of 17) sorted by relevance

/freebsd/sys/ufs/ffs/
H A Dffs_rawread.c105 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 Dffs_vnops.c250 (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 Dffs_inode.c661 (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 Dffs_snapshot.c2207 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 Dffs_vfsops.c1738 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 Dffs_softdep.c512 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 Dbufobj.h104 struct bufv bo_dirty; /* i Dirty buffers */ member
/freebsd/sys/kern/
H A Dvfs_subr.c2203 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 Dvfs_default.c1122 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 Dvfs_bio.c2406 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 Dvfs_vnops.c2985 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 Dnfs_clsubs.c360 TAILQ_FOREACH_SAFE(bp, &bo->bo_dirty.bv_hd, b_bobufs, nbp) { in ncl_clearcommit()
H A Dnfs_clvnops.c2952 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 Dnfs_clbio.c984 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 Dnfs_clvfsops.c2032 if (NFSVOPISLOCKED(vp) || vp->v_bufobj.bo_dirty.bv_cnt == 0) { in nfs_sync()
/freebsd/sys/fs/msdosfs/
H A Dmsdosfs_vfsops.c952 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 Dext2_inode.c446 if (length == 0 && (bo->bo_dirty.bv_cnt != 0 || in ext2_ind_truncate()