Home
last modified time | relevance | path

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

/linux-4.4.14/include/linux/
Dww_mutex.h223 static inline int ww_mutex_lock(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) in ww_mutex_lock() function
301 ret = ww_mutex_lock(lock, ctx); in ww_mutex_lock_slow()
/linux-4.4.14/Documentation/locking/
Dww-mutex-design.txt57 * Normal lock acquisition with a context, using ww_mutex_lock.
64 required, since simply calling the normal ww_mutex_lock functions on the
67 no deadlock potential and hence the ww_mutex_lock call will block and not
70 - ww_mutex_lock has a __must_check int return type, whereas ww_mutex_lock_slow
80 semantics as a normal mutex. This is done by calling ww_mutex_lock with a NULL
129 ret = ww_mutex_lock(&entry->obj->lock, ctx);
168 ret = ww_mutex_lock(&entry->obj->lock, ctx);
272 ret = ww_mutex_lock(obj->ww_mutex, ctx);
/linux-4.4.14/drivers/gpu/drm/
Ddrm_modeset_lock.c324 ret = ww_mutex_lock(&lock->mutex, &ctx->ww_ctx); in modeset_lock()
401 ww_mutex_lock(&lock->mutex, NULL); in drm_modeset_lock()
/linux-4.4.14/drivers/gpu/drm/nouveau/
Dnouveau_prime.c70 ww_mutex_lock(&robj->lock, NULL); in nouveau_gem_prime_import_sg_table()
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
Damdgpu_prime.c69 ww_mutex_lock(&resv->lock, NULL); in amdgpu_gem_prime_import_sg_table()
/linux-4.4.14/drivers/gpu/drm/radeon/
Dradeon_prime.c69 ww_mutex_lock(&resv->lock, NULL); in radeon_gem_prime_import_sg_table()
/linux-4.4.14/include/drm/ttm/
Dttm_bo_driver.h797 ret = ww_mutex_lock(&bo->resv->lock, ticket); in __ttm_bo_reserve()
/linux-4.4.14/lib/
Dlocking-selftest.c211 #define WWL(x, c) ww_mutex_lock(x, c)
213 #define WWL1(x) ww_mutex_lock(x, NULL)