Home
last modified time | relevance | path

Searched refs:ww_mutex_trylock (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/kernel/locking/
H A Dww_rt_mutex.c12 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 Dtest-ww_mutex.c48 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 Dmutex.c770 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 Dww_mutex.h340 extern int __must_check ww_mutex_trylock(struct ww_mutex *lock,
H A Ddma-resv.h424 return ww_mutex_trylock(&obj->lock, NULL); in dma_resv_trylock()
/openbmc/linux/drivers/gpu/drm/
H A Ddrm_modeset_lock.c302 if (!ww_mutex_trylock(&lock->mutex, NULL)) in modeset_lock()
/openbmc/linux/drivers/gpu/drm/i915/gem/
H A Di915_gem_object.h209 return ww_mutex_trylock(&obj->base.resv->lock, &ww->ctx); in i915_gem_object_trylock()
/openbmc/linux/lib/
H A Dlocking-selftest.c267 #define WWT(x) ww_mutex_trylock(x, NULL)
/openbmc/linux/drivers/regulator/
H A Dcore.c149 if (!ww_mutex_trylock(&rdev->mutex, ww_ctx)) { in regulator_lock_nested()