Searched refs:BD_LOCKPTR (Results 1 – 1 of 1) sorted by relevance
141 #define BD_LOCKPTR(bd) (&(bd)->bd_cleanq->bq_lock) macro142 #define BD_LOCK(bd) mtx_lock(BD_LOCKPTR((bd)))143 #define BD_UNLOCK(bd) mtx_unlock(BD_LOCKPTR((bd)))144 #define BD_ASSERT_LOCKED(bd) mtx_assert(BD_LOCKPTR((bd)), MA_OWNED)779 error = msleep(&bd->bd_wanted, BD_LOCKPTR(bd), in bufspace_wait()847 msleep(&bd->bd_wanted, BD_LOCKPTR(bd), in bufspace_daemon()1733 KASSERT(BQ_LOCKPTR(bq) == BD_LOCKPTR(bd), in buf_recycle()