Searched refs:ww_mutex_lock (Results 1 – 11 of 11) sorted by relevance
/Linux-v5.10/kernel/locking/ |
D | test-ww_mutex.c | 42 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 …]
|
D | mutex.c | 1185 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);
|
D | locktorture.c | 388 err = ww_mutex_lock(ll->lock, &ctx); in torture_ww_mutex_lock()
|
/Linux-v5.10/tools/testing/selftests/rcutorture/configs/lock/ |
D | LOCK07.boot | 1 locktorture.torture_type=ww_mutex_lock
|
/Linux-v5.10/include/linux/ |
D | ww_mutex.h | 222 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()
|
D | dma-resv.h | 113 return ww_mutex_lock(&obj->lock, ctx); in dma_resv_lock()
|
D | seqlock.h | 280 SEQCOUNT_LOCKNAME(ww_mutex, struct ww_mutex, true, &s->lock->base, ww_mutex, ww_mutex_lock(…
|
/Linux-v5.10/drivers/gpu/drm/ |
D | drm_modeset_lock.c | 263 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/ |
D | ww-mutex-design.rst | 76 * 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/ |
D | locking-selftest.c | 250 #define WWL(x, c) ww_mutex_lock(x, c) 252 #define WWL1(x) ww_mutex_lock(x, NULL)
|
/Linux-v5.10/drivers/regulator/ |
D | core.c | 166 ret = ww_mutex_lock(&rdev->mutex, ww_ctx); in regulator_lock_nested()
|