Searched refs:BD_LOCKPTR (Results 1 – 1 of 1) sorted by relevance
146 #define BD_LOCKPTR(bd) (&(bd)->bd_cleanq->bq_lock) macro147 #define BD_LOCK(bd) mtx_lock(BD_LOCKPTR((bd)))148 #define BD_UNLOCK(bd) mtx_unlock(BD_LOCKPTR((bd)))149 #define BD_ASSERT_LOCKED(bd) mtx_assert(BD_LOCKPTR((bd)), MA_OWNED)761 error = msleep(&bd->bd_wanted, BD_LOCKPTR(bd), in bufspace_wait()848 msleep(&bd->bd_wanted, BD_LOCKPTR(bd), in bufspace_daemon()1813 KASSERT(BQ_LOCKPTR(bq) == BD_LOCKPTR(bd), in buf_recycle()