Home
last modified time | relevance | path

Searched refs:ww_mutex_lock (Results 1 – 9 of 9) sorted by relevance

/linux/kernel/locking/
H A Dtest-ww_mutex.c51 ww_mutex_lock(&mtx->mutex, NULL); in test_mutex_work()
77 ww_mutex_lock(&mtx.mutex, (flags & TEST_MTX_CTX) ? &ctx : NULL); in __test_mutex()
134 ret = ww_mutex_lock(&mutex, &ctx); in test_aa()
161 ret = ww_mutex_lock(&mutex, &ctx); in test_aa()
196 ww_mutex_lock(&abba->b_mutex, &ctx); in test_abba_work()
205 err = ww_mutex_lock(&abba->a_mutex, &ctx); in test_abba_work()
209 err = ww_mutex_lock(&abba->b_mutex, &ctx); in test_abba_work()
238 ww_mutex_lock(&abba.a_mutex, &ctx); in test_abba()
247 err = ww_mutex_lock(&abba.b_mutex, &ctx); in test_abba()
251 err = ww_mutex_lock(&abba.a_mutex, &ctx); in test_abba()
[all …]
H A Dww_rt_mutex.c79 ww_mutex_lock(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) in ww_mutex_lock() function
83 EXPORT_SYMBOL(ww_mutex_lock);
H A Dlocktorture.c597 err = ww_mutex_lock(ll->lock, ctx); in torture_ww_mutex_lock()
/linux/include/linux/
H A Dww_mutex.h248 extern int /* __must_check */ ww_mutex_lock(struct ww_mutex *lock, struct ww_acquire_ctx *ctx);
313 ret = ww_mutex_lock(lock, ctx); in ww_mutex_lock_slow()
/linux/tools/testing/selftests/rcutorture/configs/lock/
H A DLOCK07.boot1 locktorture.torture_type=ww_mutex_lock
/linux/Documentation/locking/
H A Dww-mutex-design.rst76 * Normal lock acquisition with a context, using ww_mutex_lock.
83 required, since simply calling the normal ww_mutex_lock functions on the
86 no deadlock potential and hence the ww_mutex_lock call will block and not
90 - ww_mutex_lock has a __must_check int return type, whereas ww_mutex_lock_slow
100 semantics as a normal mutex. This is done by calling ww_mutex_lock with a NULL
155 ret = ww_mutex_lock(&entry->obj->lock, ctx);
194 ret = ww_mutex_lock(&entry->obj->lock, ctx);
300 ret = ww_mutex_lock(obj->ww_mutex, ctx);
/linux/drivers/gpu/drm/
H A Ddrm_modeset_lock.c314 ret = ww_mutex_lock(&lock->mutex, &ctx->ww_ctx); in modeset_lock()
398 ww_mutex_lock(&lock->mutex, NULL); in drm_modeset_lock()
/linux/lib/
H A Dlocking-selftest.c266 #define WWL(x, c) ww_mutex_lock(x, c)
268 #define WWL1(x) ww_mutex_lock(x, NULL)
/linux/drivers/regulator/
H A Dcore.c161 ret = ww_mutex_lock(&rdev->mutex, ww_ctx); in regulator_lock_nested()