Blame view
kernel/locking/mutex-debug.h
1.07 KB
b24413180 License cleanup: ... |
1 |
/* SPDX-License-Identifier: GPL-2.0 */ |
408894ee4 [PATCH] mutex sub... |
2 3 4 5 6 7 8 9 10 11 12 |
/* * Mutexes: blocking mutual exclusion locks * * started by Ingo Molnar: * * Copyright (C) 2004, 2005, 2006 Red Hat, Inc., Ingo Molnar <mingo@redhat.com> * * This file contains mutex debugging related internal declarations, * prototypes and inline functions, for the CONFIG_DEBUG_MUTEXES case. * More details are in kernel/mutex-debug.c. */ |
408894ee4 [PATCH] mutex sub... |
13 14 15 |
/* * This must be called with lock->wait_lock held. */ |
9a11b49a8 [PATCH] lockdep: ... |
16 17 |
extern void debug_mutex_lock_common(struct mutex *lock, struct mutex_waiter *waiter); |
408894ee4 [PATCH] mutex sub... |
18 19 20 21 22 |
extern void debug_mutex_wake_waiter(struct mutex *lock, struct mutex_waiter *waiter); extern void debug_mutex_free_waiter(struct mutex_waiter *waiter); extern void debug_mutex_add_waiter(struct mutex *lock, struct mutex_waiter *waiter, |
6720a305d locking: avoid pa... |
23 |
struct task_struct *task); |
408894ee4 [PATCH] mutex sub... |
24 |
extern void mutex_remove_waiter(struct mutex *lock, struct mutex_waiter *waiter, |
6720a305d locking: avoid pa... |
25 |
struct task_struct *task); |
408894ee4 [PATCH] mutex sub... |
26 |
extern void debug_mutex_unlock(struct mutex *lock); |
9a11b49a8 [PATCH] lockdep: ... |
27 28 |
extern void debug_mutex_init(struct mutex *lock, const char *name, struct lock_class_key *key); |