Lines Matching refs:lock_object
131 _sleep(const void *ident, struct lock_object *lock, int priority,
154 KASSERT(lock != NULL && lock != &Giant.lock_object,
183 if (lock == &Giant.lock_object)
186 if (lock != NULL && lock != &Giant.lock_object &&
229 if (lock != NULL && lock != &Giant.lock_object && !(priority & PDROP)) {
259 WITNESS_SAVE(&mtx->lock_object, mtx);
265 sleepq_add(ident, &mtx->lock_object, wmesg, SLEEPQ_SLEEP, 0);
301 WITNESS_RESTORE(&mtx->lock_object, mtx);
394 _blockcount_sleep(blockcount_t *bc, struct lock_object *lock, const char *wmesg,
403 KASSERT(lock != &Giant.lock_object,