Home
last modified time | relevance | path

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

/Linux-v5.15/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 …]
Dww_rt_mutex.c54 ww_mutex_lock(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) in ww_mutex_lock() function
58 EXPORT_SYMBOL(ww_mutex_lock);
Dmutex.c810 ww_mutex_lock(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) in ww_mutex_lock() function
822 EXPORT_SYMBOL_GPL(ww_mutex_lock);
1041 ww_mutex_lock(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) in ww_mutex_lock() function
1053 EXPORT_SYMBOL(ww_mutex_lock);
Dlocktorture.c423 err = ww_mutex_lock(ll->lock, ctx); in torture_ww_mutex_lock()
/Linux-v5.15/tools/testing/selftests/rcutorture/configs/lock/
DLOCK07.boot1 locktorture.torture_type=ww_mutex_lock
/Linux-v5.15/include/linux/
Dww_mutex.h236 extern int /* __must_check */ ww_mutex_lock(struct ww_mutex *lock, struct ww_acquire_ctx *ctx);
301 ret = ww_mutex_lock(lock, ctx); in ww_mutex_lock_slow()
Ddma-resv.h105 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.15/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.15/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.15/lib/
Dlocking-selftest.c260 #define WWL(x, c) ww_mutex_lock(x, c)
262 #define WWL1(x) ww_mutex_lock(x, NULL)
/Linux-v5.15/drivers/regulator/
Dcore.c156 ret = ww_mutex_lock(&rdev->mutex, ww_ctx); in regulator_lock_nested()