Searched refs:ww_mutex_trylock (Results 1 – 9 of 9) sorted by relevance
/openbmc/linux/kernel/locking/ |
H A D | ww_rt_mutex.c | 12 int ww_mutex_trylock(struct ww_mutex *lock, struct ww_acquire_ctx *ww_ctx) in ww_mutex_trylock() function 35 EXPORT_SYMBOL(ww_mutex_trylock);
|
H A D | test-ww_mutex.c | 48 while (!ww_mutex_trylock(&mtx->mutex, NULL)) in test_mutex_work() 138 ret = !ww_mutex_trylock(&mutex, &ctx); in test_aa() 145 if (ww_mutex_trylock(&mutex, NULL)) { in test_aa() 152 if (ww_mutex_trylock(&mutex, &ctx)) { in test_aa() 196 WARN_ON(!ww_mutex_trylock(&abba->b_mutex, &ctx)); in test_abba_work() 238 WARN_ON(!ww_mutex_trylock(&abba.a_mutex, &ctx)); in test_abba()
|
H A D | mutex.c | 770 int ww_mutex_trylock(struct ww_mutex *ww, struct ww_acquire_ctx *ww_ctx) in ww_mutex_trylock() function 793 EXPORT_SYMBOL(ww_mutex_trylock);
|
/openbmc/linux/include/linux/ |
H A D | ww_mutex.h | 340 extern int __must_check ww_mutex_trylock(struct ww_mutex *lock,
|
H A D | dma-resv.h | 424 return ww_mutex_trylock(&obj->lock, NULL); in dma_resv_trylock()
|
/openbmc/linux/drivers/gpu/drm/ |
H A D | drm_modeset_lock.c | 302 if (!ww_mutex_trylock(&lock->mutex, NULL)) in modeset_lock()
|
/openbmc/linux/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_object.h | 209 return ww_mutex_trylock(&obj->base.resv->lock, &ww->ctx); in i915_gem_object_trylock()
|
/openbmc/linux/lib/ |
H A D | locking-selftest.c | 267 #define WWT(x) ww_mutex_trylock(x, NULL)
|
/openbmc/linux/drivers/regulator/ |
H A D | core.c | 149 if (!ww_mutex_trylock(&rdev->mutex, ww_ctx)) { in regulator_lock_nested()
|