Searched refs:BO_LOCKPTR (Results 1 – 10 of 10) sorted by relevance
/freebsd/sys/sys/ |
H A D | bufobj.h | 121 #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 D | vfs_cluster.c | 834 LK_EXCLUSIVE | LK_NOWAIT | LK_INTERLOCK, BO_LOCKPTR(bo))) { in cluster_wbuild() 929 BO_LOCKPTR(bo))) in cluster_wbuild()
|
H A D | vfs_subr.c | 724 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 D | vfs_bio.c | 4070 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 D | vfs_vnops.c | 3003 BO_LOCKPTR(bo)) != 0) { in vn_fsync_buf()
|
/freebsd/sys/ufs/ffs/ |
H A D | ffs_vnops.c | 332 LK_INTERLOCK | wflag, BO_LOCKPTR(bo)) != 0) { in ffs_syncvnode()
|
H A D | ffs_vfsops.c | 2390 msleep(&bp->b_xflags, BO_LOCKPTR(bp->b_bufobj), PRIBIO, in ffs_bufwrite()
|
H A D | ffs_softdep.c | 7368 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 D | nfs_clvnops.c | 3114 BO_LOCKPTR(bo), "nfsfsync", slpflag, slptimeo); in ncl_flush()
|
/freebsd/sys/fs/nfsserver/ |
H A D | nfs_nfsdport.c | 1803 LK_INTERLOCK, BO_LOCKPTR(bo)) == ENOLCK) { in nfsvno_fsync()
|