Searched refs:ww_mutex_lock (Results 1 – 11 of 11) sorted by relevance
/openbmc/linux/kernel/locking/ |
H A D | test-ww_mutex.c | 51 ww_mutex_lock(&mtx->mutex, NULL); in test_mutex_work() 76 ww_mutex_lock(&mtx.mutex, (flags & TEST_MTX_CTX) ? &ctx : NULL); in __test_mutex() 132 ret = ww_mutex_lock(&mutex, &ctx); in test_aa() 159 ret = ww_mutex_lock(&mutex, &ctx); in test_aa() 194 ww_mutex_lock(&abba->b_mutex, &ctx); in test_abba_work() 203 err = ww_mutex_lock(&abba->a_mutex, &ctx); in test_abba_work() 207 err = ww_mutex_lock(&abba->b_mutex, &ctx); in test_abba_work() 236 ww_mutex_lock(&abba.a_mutex, &ctx); in test_abba() 245 err = ww_mutex_lock(&abba.b_mutex, &ctx); in test_abba() 249 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 | mutex.c | 866 ww_mutex_lock(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) in ww_mutex_lock() function 878 EXPORT_SYMBOL_GPL(ww_mutex_lock); 1097 ww_mutex_lock(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) in ww_mutex_lock() function 1109 EXPORT_SYMBOL(ww_mutex_lock);
|
H A D | locktorture.c | 550 err = ww_mutex_lock(ll->lock, ctx); in torture_ww_mutex_lock()
|
/openbmc/linux/tools/testing/selftests/rcutorture/configs/lock/ |
H A D | LOCK07.boot | 1 locktorture.torture_type=ww_mutex_lock
|
/openbmc/linux/include/linux/ |
H A D | ww_mutex.h | 234 extern int /* __must_check */ ww_mutex_lock(struct ww_mutex *lock, struct ww_acquire_ctx *ctx); 299 ret = ww_mutex_lock(lock, ctx); in ww_mutex_lock_slow()
|
H A D | dma-resv.h | 345 return ww_mutex_lock(&obj->lock, ctx); in dma_resv_lock()
|
/openbmc/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);
|
/openbmc/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()
|
/openbmc/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)
|
/openbmc/linux/drivers/regulator/ |
H A D | core.c | 157 ret = ww_mutex_lock(&rdev->mutex, ww_ctx); in regulator_lock_nested()
|