Lines Matching refs:lineno
25 static void __mutex_lock(struct mutex *m, const char *fname, int lineno) in __mutex_lock() argument
63 wq_wait_final(&m->wq, &wqe, m, fname, lineno); in __mutex_lock()
70 int lineno) in __mutex_lock_recursive() argument
83 __mutex_lock(&m->m, fname, lineno); in __mutex_lock_recursive()
90 static void __mutex_unlock(struct mutex *m, const char *fname, int lineno) in __mutex_unlock() argument
108 wq_wake_next(&m->wq, m, fname, lineno); in __mutex_unlock()
112 const char *fname, int lineno) in __mutex_unlock_recursive() argument
123 __mutex_unlock(&m->m, fname, lineno); in __mutex_unlock_recursive()
128 int lineno __unused) in __mutex_trylock()
150 static void __mutex_read_unlock(struct mutex *m, const char *fname, int lineno) in __mutex_read_unlock() argument
169 wq_wake_next(&m->wq, m, fname, lineno); in __mutex_read_unlock()
172 static void __mutex_read_lock(struct mutex *m, const char *fname, int lineno) in __mutex_read_lock() argument
208 wq_wait_final(&m->wq, &wqe, m, fname, lineno); in __mutex_read_lock()
215 int lineno __unused) in __mutex_read_trylock()
236 void mutex_unlock_debug(struct mutex *m, const char *fname, int lineno) in mutex_unlock_debug() argument
238 __mutex_unlock(m, fname, lineno); in mutex_unlock_debug()
241 void mutex_lock_debug(struct mutex *m, const char *fname, int lineno) in mutex_lock_debug() argument
243 __mutex_lock(m, fname, lineno); in mutex_lock_debug()
246 bool mutex_trylock_debug(struct mutex *m, const char *fname, int lineno) in mutex_trylock_debug() argument
248 return __mutex_trylock(m, fname, lineno); in mutex_trylock_debug()
251 void mutex_read_unlock_debug(struct mutex *m, const char *fname, int lineno) in mutex_read_unlock_debug() argument
253 __mutex_read_unlock(m, fname, lineno); in mutex_read_unlock_debug()
256 void mutex_read_lock_debug(struct mutex *m, const char *fname, int lineno) in mutex_read_lock_debug() argument
258 __mutex_read_lock(m, fname, lineno); in mutex_read_lock_debug()
261 bool mutex_read_trylock_debug(struct mutex *m, const char *fname, int lineno) in mutex_read_trylock_debug() argument
263 return __mutex_read_trylock(m, fname, lineno); in mutex_read_trylock_debug()
267 int lineno) in mutex_unlock_recursive_debug() argument
269 __mutex_unlock_recursive(m, fname, lineno); in mutex_unlock_recursive_debug()
273 int lineno) in mutex_lock_recursive_debug() argument
275 __mutex_lock_recursive(m, fname, lineno); in mutex_lock_recursive_debug()
359 int lineno) in cv_signal() argument
369 wq_promote_condvar(&m->wq, cv, only_one, m, fname, lineno); in cv_signal()
374 void condvar_signal_debug(struct condvar *cv, const char *fname, int lineno) in condvar_signal_debug() argument
376 cv_signal(cv, true /* only one */, fname, lineno); in condvar_signal_debug()
379 void condvar_broadcast_debug(struct condvar *cv, const char *fname, int lineno) in condvar_broadcast_debug() argument
381 cv_signal(cv, false /* all */, fname, lineno); in condvar_broadcast_debug()
397 const char *fname, int lineno) in __condvar_wait() argument
435 wq_wake_next(&m->wq, m, fname, lineno); in __condvar_wait()
437 wq_wait_final(&m->wq, &wqe, m, fname, lineno); in __condvar_wait()
447 const char *fname, int lineno) in condvar_wait_debug() argument
449 __condvar_wait(cv, m, fname, lineno); in condvar_wait_debug()