Go to the documentation of this file.
12 #define spin_lock_mutex(lock, flags) \
13 do { spin_lock(lock); (void)(flags); } while (0)
14 #define spin_unlock_mutex(lock, flags) \
15 do { spin_unlock(lock); (void)(flags); } while (0)
16 #define mutex_remove_waiter(lock, waiter, ti) \
17 __list_del((waiter)->list.prev, (waiter)->list.next)
20 static inline void mutex_set_owner(
struct mutex *lock)
25 static inline void mutex_clear_owner(
struct mutex *lock)
30 static inline void mutex_set_owner(
struct mutex *lock)
34 static inline void mutex_clear_owner(
struct mutex *lock)
39 #define debug_mutex_wake_waiter(lock, waiter) do { } while (0)
40 #define debug_mutex_free_waiter(waiter) do { } while (0)
41 #define debug_mutex_add_waiter(lock, waiter, ti) do { } while (0)
42 #define debug_mutex_unlock(lock) do { } while (0)
43 #define debug_mutex_init(lock, name, key) do { } while (0)