Lines Matching defs:m

16 void mutex_init(struct mutex *m)  in mutex_init()
21 void mutex_init_recursive(struct recursive_mutex *m) in mutex_init_recursive()
26 static void __mutex_lock(struct mutex *m, const char *fname, int lineno) in __mutex_lock()
70 static void __mutex_lock_recursive(struct recursive_mutex *m, const char *fname, in __mutex_lock_recursive()
91 static void __mutex_unlock(struct mutex *m, const char *fname, int lineno) in __mutex_unlock()
112 static void __mutex_unlock_recursive(struct recursive_mutex *m, in __mutex_unlock_recursive()
128 static bool __mutex_trylock(struct mutex *m, const char *fname __unused, in __mutex_trylock()
151 static void __mutex_read_unlock(struct mutex *m, const char *fname, int lineno) in __mutex_read_unlock()
173 static void __mutex_read_lock(struct mutex *m, const char *fname, int lineno) in __mutex_read_lock()
215 static bool __mutex_read_trylock(struct mutex *m, const char *fname __unused, in __mutex_read_trylock()
237 void mutex_unlock_debug(struct mutex *m, const char *fname, int lineno) in mutex_unlock_debug()
242 void mutex_lock_debug(struct mutex *m, const char *fname, int lineno) in mutex_lock_debug()
247 bool mutex_trylock_debug(struct mutex *m, const char *fname, int lineno) in mutex_trylock_debug()
252 void mutex_read_unlock_debug(struct mutex *m, const char *fname, int lineno) in mutex_read_unlock_debug()
257 void mutex_read_lock_debug(struct mutex *m, const char *fname, int lineno) in mutex_read_lock_debug()
262 bool mutex_read_trylock_debug(struct mutex *m, const char *fname, int lineno) in mutex_read_trylock_debug()
267 void mutex_unlock_recursive_debug(struct recursive_mutex *m, const char *fname, in mutex_unlock_recursive_debug()
273 void mutex_lock_recursive_debug(struct recursive_mutex *m, const char *fname, in mutex_lock_recursive_debug()
279 void mutex_unlock(struct mutex *m) in mutex_unlock()
284 void mutex_unlock_recursive(struct recursive_mutex *m) in mutex_unlock_recursive()
289 void mutex_lock(struct mutex *m) in mutex_lock()
294 void mutex_lock_recursive(struct recursive_mutex *m) in mutex_lock_recursive()
299 bool mutex_trylock(struct mutex *m) in mutex_trylock()
304 void mutex_read_unlock(struct mutex *m) in mutex_read_unlock()
309 void mutex_read_lock(struct mutex *m) in mutex_read_lock()
314 bool mutex_read_trylock(struct mutex *m) in mutex_read_trylock()
320 void mutex_destroy(struct mutex *m) in mutex_destroy()
333 void mutex_destroy_recursive(struct recursive_mutex *m) in mutex_destroy_recursive()
338 unsigned int mutex_get_recursive_lock_depth(struct recursive_mutex *m) in mutex_get_recursive_lock_depth()
346 void mutex_pm_aware_init(struct mutex_pm_aware *m) in mutex_pm_aware_init()
351 void mutex_pm_aware_destroy(struct mutex_pm_aware *m) in mutex_pm_aware_destroy()
356 void mutex_pm_aware_lock(struct mutex_pm_aware *m) in mutex_pm_aware_lock()
368 void mutex_pm_aware_unlock(struct mutex_pm_aware *m) in mutex_pm_aware_unlock()
396 struct mutex *m; in cv_signal() local
430 static TEE_Result __condvar_wait_timeout(struct condvar *cv, struct mutex *m, in __condvar_wait_timeout()
484 void condvar_wait_debug(struct condvar *cv, struct mutex *m, in condvar_wait_debug()
490 TEE_Result condvar_wait_timeout_debug(struct condvar *cv, struct mutex *m, in condvar_wait_timeout_debug()
497 void condvar_wait(struct condvar *cv, struct mutex *m) in condvar_wait()
502 TEE_Result condvar_wait_timeout(struct condvar *cv, struct mutex *m, in condvar_wait_timeout()