Lines Matching refs:mutex
2 * kernel/mutex-debug.c
15 #include <linux/mutex.h>
25 #include "mutex-debug.h"
30 void debug_mutex_lock_common(struct mutex *lock, struct mutex_waiter *waiter)
37 void debug_mutex_wake_waiter(struct mutex *lock, struct mutex_waiter *waiter)
51 void debug_mutex_add_waiter(struct mutex *lock, struct mutex_waiter *waiter,
60 void mutex_remove_waiter(struct mutex *lock, struct mutex_waiter *waiter,
72 void debug_mutex_unlock(struct mutex *lock)
83 void debug_mutex_init(struct mutex *lock, const char *name,
97 * mutex_destroy - mark a mutex unusable
98 * @lock: the mutex to be destroyed
100 * This function marks the mutex uninitialized, and any subsequent
101 * use of the mutex is forbidden. The mutex must not be locked when
104 void mutex_destroy(struct mutex *lock)