Home
last modified time | relevance | path

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

/openbmc/linux/kernel/locking/
H A Dtest-ww_mutex.c51 ww_mutex_lock(&mtx->mutex, NULL); in test_mutex_work()
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()
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()
293 ww_mutex_lock(&cycle->a_mutex, &ctx); in test_cycle_work()
504 err = ww_mutex_lock(ll->lock, &ctx); in stress_reorder_work()
[all …]
H A Dww_rt_mutex.c79 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 Dmutex.c866 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 Dlocktorture.c550 err = ww_mutex_lock(ll->lock, ctx); in torture_ww_mutex_lock()
/openbmc/linux/tools/testing/selftests/rcutorture/configs/lock/
H A DLOCK07.boot1 locktorture.torture_type=ww_mutex_lock
/openbmc/linux/include/linux/
H A Dww_mutex.h234 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 Ddma-resv.h345 return ww_mutex_lock(&obj->lock, ctx); in dma_resv_lock()
/openbmc/linux/Documentation/locking/
H A 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);
/openbmc/linux/drivers/gpu/drm/
H A Ddrm_modeset_lock.c314 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 Dlocking-selftest.c266 #define WWL(x, c) ww_mutex_lock(x, c)
268 #define WWL1(x) ww_mutex_lock(x, NULL)
/openbmc/linux/drivers/regulator/
H A Dcore.c157 ret = ww_mutex_lock(&rdev->mutex, ww_ctx); in regulator_lock_nested()