Home
last modified time | relevance | path

Searched refs:BO_LOCKPTR (Results 1 – 10 of 10) sorted by relevance

/freebsd/sys/sys/
H A Dbufobj.h121 #define BO_LOCKPTR(bo) (&(bo)->bo_lock) macro
122 #define BO_LOCK(bo) rw_wlock(BO_LOCKPTR((bo)))
123 #define BO_UNLOCK(bo) rw_wunlock(BO_LOCKPTR((bo)))
124 #define BO_RLOCK(bo) rw_rlock(BO_LOCKPTR((bo)))
125 #define BO_RUNLOCK(bo) rw_runlock(BO_LOCKPTR((bo)))
126 #define ASSERT_BO_WLOCKED(bo) rw_assert(BO_LOCKPTR((bo)), RA_WLOCKED)
127 #define ASSERT_BO_LOCKED(bo) rw_assert(BO_LOCKPTR((bo)), RA_LOCKED)
128 #define ASSERT_BO_UNLOCKED(bo) rw_assert(BO_LOCKPTR((bo)), RA_UNLOCKED)
/freebsd/sys/kern/
H A Dvfs_cluster.c834 LK_EXCLUSIVE | LK_NOWAIT | LK_INTERLOCK, BO_LOCKPTR(bo))) { in cluster_wbuild()
929 BO_LOCKPTR(bo))) in cluster_wbuild()
H A Dvfs_subr.c724 rw_destroy(BO_LOCKPTR(bo)); in vnode_fini()
2466 LK_EXCLUSIVE | LK_SLEEPFAIL | LK_INTERLOCK, BO_LOCKPTR(bo), in flushbuflist()
2519 LK_INTERLOCK, BO_LOCKPTR(bo), "brlsfl", 0, 0); in bnoreuselist()
2590 BO_LOCKPTR(bo)) == ENOLCK) in vtruncbuf()
2661 BO_LOCKPTR(bo)) == ENOLCK) { in v_inval_buf_range_locked()
H A Dvfs_bio.c4070 BO_LOCKPTR(bo), "getblk", slpflag, slptimeo); in getblkx()
5190 rw_init(BO_LOCKPTR(bo), "bufobj interlock"); in bufobj_init()
5241 error = msleep(&bo->bo_numoutput, BO_LOCKPTR(bo), in bufobj_wwait()
H A Dvfs_vnops.c3003 BO_LOCKPTR(bo)) != 0) { in vn_fsync_buf()
/freebsd/sys/ufs/ffs/
H A Dffs_vnops.c332 LK_INTERLOCK | wflag, BO_LOCKPTR(bo)) != 0) { in ffs_syncvnode()
H A Dffs_vfsops.c2390 msleep(&bp->b_xflags, BO_LOCKPTR(bp->b_bufobj), PRIBIO, in ffs_bufwrite()
H A Dffs_softdep.c7368 if ((bp = getdirtybuf(bp, BO_LOCKPTR(bo), MNT_WAIT)) == NULL) in trunc_dependencies()
7393 BO_LOCKPTR(bo)) == ENOLCK) { in trunc_dependencies()
13279 LK_INTERLOCK, BO_LOCKPTR(bo)); in flush_newblk_dep()
14509 if (lock != BO_LOCKPTR(bp->b_bufobj) && waitfor == MNT_WAIT) { in getdirtybuf()
14515 msleep(&bp->b_xflags, BO_LOCKPTR(bp->b_bufobj), in getdirtybuf()
/freebsd/sys/fs/nfsclient/
H A Dnfs_clvnops.c3114 BO_LOCKPTR(bo), "nfsfsync", slpflag, slptimeo); in ncl_flush()
/freebsd/sys/fs/nfsserver/
H A Dnfs_nfsdport.c1803 LK_INTERLOCK, BO_LOCKPTR(bo)) == ENOLCK) { in nfsvno_fsync()