Home
last modified time | relevance | path

Searched refs:ww_class (Results 1 – 6 of 6) sorted by relevance

/linux/include/linux/
A Dww_mutex.h38 struct ww_class { struct
51 struct ww_class *ww_class; argument
63 struct ww_class *ww_class; member
77 , .acquire_name = #ww_class "_acquire" \
78 , .mutex_name = #ww_class "_mutex" \
99 struct ww_class *ww_class) in ww_mutex_init() argument
101 ww_mutex_base_init(&lock->base, ww_class->mutex_name, &ww_class->mutex_key); in ww_mutex_init()
104 lock->ww_class = ww_class; in ww_mutex_init()
133 struct ww_class *ww_class) in ww_acquire_init() argument
141 ctx->ww_class = ww_class; in ww_acquire_init()
[all …]
A Ddma-resv.h48 extern struct ww_class reservation_ww_class;
/linux/kernel/locking/
A Dtest-ww_mutex.c16 static DEFINE_WD_CLASS(ww_class);
64 ww_mutex_init(&mtx.mutex, &ww_class); in __test_mutex()
65 ww_acquire_init(&ctx, &ww_class); in __test_mutex()
128 ww_mutex_init(&mutex, &ww_class); in test_aa()
129 ww_acquire_init(&ctx, &ww_class); in test_aa()
192 ww_acquire_init_noinject(&ctx, &ww_class); in test_abba_work()
224 ww_mutex_init(&abba.a_mutex, &ww_class); in test_abba()
225 ww_mutex_init(&abba.b_mutex, &ww_class); in test_abba()
434 ww_acquire_init(&ctx, &ww_class); in stress_inorder_work()
502 ww_acquire_init(&ctx, &ww_class); in stress_reorder_work()
[all …]
A Dww_mutex.h215 DEBUG_LOCKS_WARN_ON(ww_ctx->ww_class != ww->ww_class); in ww_mutex_lock_acquired()
/linux/Documentation/locking/
A Dww-mutex-design.rst122 static DEFINE_WW_CLASS(ww_class);
147 ww_acquire_init(ctx, &ww_class);
191 ww_acquire_init(ctx, &ww_class);
274 static DEFINE_WW_CLASS(ww_class);
292 ww_acquire_init(ctx, &ww_class);
383 - Using a different ww_class for the mutex than for the ww_acquire_ctx.
/linux/lib/
A Dlocking-selftest.c1725 t.ww_class = NULL; in ww_test_diff_class()

Completed in 15 milliseconds