Searched refs:ww_mutex_trylock (Results 1 – 9 of 9) sorted by relevance
/linux-6.1.9/kernel/locking/ |
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);
|
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()
|
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);
|
/linux-6.1.9/include/linux/ |
D | ww_mutex.h | 340 extern int __must_check ww_mutex_trylock(struct ww_mutex *lock,
|
D | dma-resv.h | 424 return ww_mutex_trylock(&obj->lock, NULL); in dma_resv_trylock()
|
/linux-6.1.9/drivers/gpu/drm/ |
D | drm_modeset_lock.c | 302 if (!ww_mutex_trylock(&lock->mutex, NULL)) in modeset_lock()
|
/linux-6.1.9/drivers/gpu/drm/i915/gem/ |
D | i915_gem_object.h | 219 return ww_mutex_trylock(&obj->base.resv->lock, &ww->ctx); in i915_gem_object_trylock()
|
/linux-6.1.9/lib/ |
D | locking-selftest.c | 267 #define WWT(x) ww_mutex_trylock(x, NULL)
|
/linux-6.1.9/drivers/regulator/ |
D | core.c | 149 if (!ww_mutex_trylock(&rdev->mutex, ww_ctx)) { in regulator_lock_nested()
|