1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 extern void debug_mutex_lock_common(struct mutex *lock,
18 struct mutex_waiter *waiter);
19 extern void debug_mutex_wake_waiter(struct mutex *lock,
20 struct mutex_waiter *waiter);
21 extern void debug_mutex_free_waiter(struct mutex_waiter *waiter);
22 extern void debug_mutex_add_waiter(struct mutex *lock,
23 struct mutex_waiter *waiter,
24 struct task_struct *task);
25 extern void mutex_remove_waiter(struct mutex *lock, struct mutex_waiter *waiter,
26 struct task_struct *task);
27 extern void debug_mutex_unlock(struct mutex *lock);
28 extern void debug_mutex_init(struct mutex *lock, const char *name,
29 struct lock_class_key *key);