Blame view
kernel/locking/rtmutex-debug.h
1.44 KB
b24413180 License cleanup: ... |
1 |
/* SPDX-License-Identifier: GPL-2.0 */ |
e7eebaf6a [PATCH] pi-futex:... |
2 3 4 5 6 7 8 9 10 11 |
/* * RT-Mutexes: blocking mutual exclusion locks with PI support * * started by Ingo Molnar and Thomas Gleixner: * * Copyright (C) 2004-2006 Red Hat, Inc., Ingo Molnar <mingo@redhat.com> * Copyright (C) 2006, Timesys Corp., Thomas Gleixner <tglx@timesys.com> * * This file contains macros used solely by rtmutex.c. Debug version. */ |
e7eebaf6a [PATCH] pi-futex:... |
12 13 |
extern void debug_rt_mutex_init_waiter(struct rt_mutex_waiter *waiter); extern void debug_rt_mutex_free_waiter(struct rt_mutex_waiter *waiter); |
f5694788a rt_mutex: Add loc... |
14 |
extern void debug_rt_mutex_init(struct rt_mutex *lock, const char *name, struct lock_class_key *key); |
9a11b49a8 [PATCH] lockdep: ... |
15 |
extern void debug_rt_mutex_lock(struct rt_mutex *lock); |
e7eebaf6a [PATCH] pi-futex:... |
16 17 |
extern void debug_rt_mutex_unlock(struct rt_mutex *lock); extern void debug_rt_mutex_proxy_lock(struct rt_mutex *lock, |
9a11b49a8 [PATCH] lockdep: ... |
18 |
struct task_struct *powner); |
e7eebaf6a [PATCH] pi-futex:... |
19 |
extern void debug_rt_mutex_proxy_unlock(struct rt_mutex *lock); |
8930ed80f rtmutex: Cleanup ... |
20 21 |
extern void debug_rt_mutex_deadlock(enum rtmutex_chainwalk chwalk, struct rt_mutex_waiter *waiter, |
e7eebaf6a [PATCH] pi-futex:... |
22 23 24 25 |
struct rt_mutex *lock); extern void debug_rt_mutex_print_deadlock(struct rt_mutex_waiter *waiter); # define debug_rt_mutex_reset_waiter(w) \ do { (w)->deadlock_lock = NULL; } while (0) |
8930ed80f rtmutex: Cleanup ... |
26 27 |
static inline bool debug_rt_mutex_detect_deadlock(struct rt_mutex_waiter *waiter, enum rtmutex_chainwalk walk) |
e7eebaf6a [PATCH] pi-futex:... |
28 29 30 |
{ return (waiter != NULL); } |
3d5c9340d rtmutex: Handle d... |
31 32 33 34 35 |
static inline void rt_mutex_print_deadlock(struct rt_mutex_waiter *w) { debug_rt_mutex_print_deadlock(w); } |