Lines Matching defs:line
278 __mtx_lock_flags(volatile uintptr_t *c, int opts, const char *file, int line)
288 curthread, m->lock_object.lo_name, file, line));
290 ("mtx_lock() of destroyed mutex @ %s:%d", file, line));
293 file, line));
295 LOP_NEWORDER | LOP_EXCLUSIVE, file, line, NULL);
300 _mtx_lock_sleep(m, v, opts, file, line);
303 m, 0, 0, file, line);
305 line);
307 file, line);
312 __mtx_unlock_flags(volatile uintptr_t *c, int opts, const char *file, int line)
319 ("mtx_unlock() of destroyed mutex @ %s:%d", file, line));
322 file, line));
323 WITNESS_UNLOCK(&m->lock_object, opts | LOP_EXCLUSIVE, file, line);
325 line);
329 __mtx_unlock_sleep(c, (uintptr_t)curthread, opts, file, line);
331 __mtx_unlock(m, curthread, opts, file, line);
338 int line)
348 ("mtx_lock_spin() of destroyed mutex @ %s:%d", file, line));
351 m->lock_object.lo_name, file, line));
356 m->lock_object.lo_name, file, line));
359 file, line, NULL);
365 _mtx_lock_spin(m, v, opts, file, line);
368 m, 0, 0, file, line);
370 __mtx_lock_spin(m, curthread, opts, file, line);
373 line);
374 WITNESS_LOCK(&m->lock_object, opts | LOP_EXCLUSIVE, file, line);
379 int line)
389 ("mtx_trylock_spin() of destroyed mutex @ %s:%d", file, line));
392 m->lock_object.lo_name, file, line));
395 m->lock_object.lo_name, file, line));
396 if (__mtx_trylock_spin(m, curthread, opts, file, line)) {
397 LOCK_LOG_TRY("LOCK", &m->lock_object, opts, 1, file, line);
398 WITNESS_LOCK(&m->lock_object, opts | LOP_EXCLUSIVE, file, line);
401 LOCK_LOG_TRY("LOCK", &m->lock_object, opts, 0, file, line);
407 int line)
414 ("mtx_unlock_spin() of destroyed mutex @ %s:%d", file, line));
417 m->lock_object.lo_name, file, line));
418 WITNESS_UNLOCK(&m->lock_object, opts | LOP_EXCLUSIVE, file, line);
420 line);
450 curthread, m->lock_object.lo_name, file, line));
452 ("mtx_trylock() of destroyed mutex @ %s:%d", file, line));
455 file, line));
479 LOCK_LOG_TRY("LOCK", &m->lock_object, opts, rval, file, line);
482 file, line);
486 m, contested, waittime, file, line);
493 _mtx_trylock_flags_(volatile uintptr_t *c, int opts, const char *file, int line)
510 int line)
565 m->lock_object.lo_name, file, line));
593 m->lock_object.lo_name, (void *)m->mtx_lock, file, line);
711 waittime, file, line);
724 const char *file, int line)
819 contested, waittime, file, line);
825 thread_lock_validate(struct mtx *m, int opts, const char *file, int line)
829 ("thread_lock() of destroyed mutex @ %s:%d", file, line));
832 m->lock_object.lo_name, file, line));
835 m->lock_object.lo_name, file, line));
837 opts | LOP_NEWORDER | LOP_EXCLUSIVE, file, line, NULL);
840 #define thread_lock_validate(m, opts, file, line) do { } while (0)
846 _thread_lock(struct thread *td, int opts, const char *file, int line)
861 thread_lock_validate(m, 0, file, line);
867 WITNESS_LOCK(&m->lock_object, LOP_EXCLUSIVE, file, line);
875 thread_lock_flags_(td, opts, file, line);
883 thread_lock_flags_(struct thread *td, int opts, const char *file, int line)
931 thread_lock_validate(m, opts, file, line);
963 line);
964 WITNESS_LOCK(&m->lock_object, opts | LOP_EXCLUSIVE, file, line);
974 waittime, file, line);
1036 const char *file, int line)
1099 __mtx_assert(const volatile uintptr_t *c, int what, const char *file, int line)
1114 m->lock_object.lo_name, file, line);
1118 m->lock_object.lo_name, file, line);
1121 m->lock_object.lo_name, file, line);
1127 m->lock_object.lo_name, file, line);
1130 panic("unknown mtx_assert at %s:%d", file, line);