Searched refs:BD_LOCKPTR (Results 1 – 1 of 1) sorted by relevance
144 #define BD_LOCKPTR(bd) (&(bd)->bd_cleanq->bq_lock) macro145 #define BD_LOCK(bd) mtx_lock(BD_LOCKPTR((bd)))146 #define BD_UNLOCK(bd) mtx_unlock(BD_LOCKPTR((bd)))147 #define BD_ASSERT_LOCKED(bd) mtx_assert(BD_LOCKPTR((bd)), MA_OWNED)758 error = msleep(&bd->bd_wanted, BD_LOCKPTR(bd), in bufspace_wait()845 msleep(&bd->bd_wanted, BD_LOCKPTR(bd), in bufspace_daemon()1801 KASSERT(BQ_LOCKPTR(bq) == BD_LOCKPTR(bd), in buf_recycle()