Searched refs:ww_mutex_lock (Results 1 – 9 of 9) sorted by relevance
/linux/kernel/locking/ |
H A D | test-ww_mutex.c | 51 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 D | ww_rt_mutex.c | 79 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 D | locktorture.c | 597 err = ww_mutex_lock(ll->lock, ctx); in torture_ww_mutex_lock()
|
/linux/include/linux/ |
H A D | ww_mutex.h | 248 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 D | LOCK07.boot | 1 locktorture.torture_type=ww_mutex_lock
|
/linux/Documentation/locking/ |
H A 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/drivers/gpu/drm/ |
H A D | drm_modeset_lock.c | 314 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 D | locking-selftest.c | 266 #define WWL(x, c) ww_mutex_lock(x, c) 268 #define WWL1(x) ww_mutex_lock(x, NULL)
|
/linux/drivers/regulator/ |
H A D | core.c | 161 ret = ww_mutex_lock(&rdev->mutex, ww_ctx); in regulator_lock_nested()
|