Lines Matching full:mutex
13 #include <linux/mutex.h>
24 #include "mutex.h"
29 void debug_mutex_lock_common(struct mutex *lock, struct mutex_waiter *waiter) in debug_mutex_lock_common()
37 void debug_mutex_wake_waiter(struct mutex *lock, struct mutex_waiter *waiter) in debug_mutex_wake_waiter()
51 void debug_mutex_add_waiter(struct mutex *lock, struct mutex_waiter *waiter, in debug_mutex_add_waiter()
60 void debug_mutex_remove_waiter(struct mutex *lock, struct mutex_waiter *waiter, in debug_mutex_remove_waiter()
63 struct mutex *blocked_on = __get_task_blocked_on(task); in debug_mutex_remove_waiter()
73 void debug_mutex_unlock(struct mutex *lock) in debug_mutex_unlock()
81 void debug_mutex_init(struct mutex *lock, const char *name, in debug_mutex_init()
99 int __devm_mutex_init(struct device *dev, struct mutex *lock) in __devm_mutex_init()
106 * mutex_destroy - mark a mutex unusable
107 * @lock: the mutex to be destroyed
109 * This function marks the mutex uninitialized, and any subsequent
110 * use of the mutex is forbidden. The mutex must not be locked when
113 void mutex_destroy(struct mutex *lock) in mutex_destroy()