Home
last modified time | relevance | path

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

/Linux-v5.10/kernel/locking/
Dtest-ww_mutex.c42 ww_mutex_lock(&mtx->mutex, NULL); in test_mutex_work()
67 ww_mutex_lock(&mtx.mutex, (flags & TEST_MTX_CTX) ? &ctx : NULL); in __test_mutex()
121 ww_mutex_lock(&mutex, &ctx); in test_aa()
130 ret = ww_mutex_lock(&mutex, &ctx); in test_aa()
164 ww_mutex_lock(&abba->b_mutex, &ctx); in test_abba_work()
169 err = ww_mutex_lock(&abba->a_mutex, &ctx); in test_abba_work()
173 err = ww_mutex_lock(&abba->b_mutex, &ctx); in test_abba_work()
200 ww_mutex_lock(&abba.a_mutex, &ctx); in test_abba()
205 err = ww_mutex_lock(&abba.b_mutex, &ctx); in test_abba()
209 err = ww_mutex_lock(&abba.a_mutex, &ctx); in test_abba()
[all …]
Dmutex.c1185 ww_mutex_lock(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) in ww_mutex_lock() function
1198 EXPORT_SYMBOL_GPL(ww_mutex_lock);
1428 ww_mutex_lock(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) in ww_mutex_lock() function
1440 EXPORT_SYMBOL(ww_mutex_lock);
Dlocktorture.c388 err = ww_mutex_lock(ll->lock, &ctx); in torture_ww_mutex_lock()
/Linux-v5.10/tools/testing/selftests/rcutorture/configs/lock/
DLOCK07.boot1 locktorture.torture_type=ww_mutex_lock
/Linux-v5.10/include/linux/
Dww_mutex.h222 extern int /* __must_check */ ww_mutex_lock(struct ww_mutex *lock, struct ww_acquire_ctx *ctx);
287 ret = ww_mutex_lock(lock, ctx); in ww_mutex_lock_slow()
Ddma-resv.h113 return ww_mutex_lock(&obj->lock, ctx); in dma_resv_lock()
Dseqlock.h280 SEQCOUNT_LOCKNAME(ww_mutex, struct ww_mutex, true, &s->lock->base, ww_mutex, ww_mutex_lock(…
/Linux-v5.10/drivers/gpu/drm/
Ddrm_modeset_lock.c263 ret = ww_mutex_lock(&lock->mutex, &ctx->ww_ctx); in modeset_lock()
344 ww_mutex_lock(&lock->mutex, NULL); in drm_modeset_lock()
/Linux-v5.10/Documentation/locking/
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-v5.10/lib/
Dlocking-selftest.c250 #define WWL(x, c) ww_mutex_lock(x, c)
252 #define WWL1(x) ww_mutex_lock(x, NULL)
/Linux-v5.10/drivers/regulator/
Dcore.c166 ret = ww_mutex_lock(&rdev->mutex, ww_ctx); in regulator_lock_nested()