Home
last modified time | relevance | path

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

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