Home
last modified time | relevance | path

Searched refs:madv_lock (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.1/drivers/gpu/drm/vc4/
Dvc4_bo.c301 WARN_ON(!mutex_is_locked(&bo->madv_lock)); in vc4_bo_purge()
330 mutex_lock(&bo->madv_lock); in vc4_bo_userspace_cache_purge()
347 mutex_unlock(&bo->madv_lock); in vc4_bo_userspace_cache_purge()
409 ret = drmm_mutex_init(dev, &bo->madv_lock); in vc4_create_object()
553 mutex_lock(&bo->madv_lock); in vc4_free_object()
556 mutex_unlock(&bo->madv_lock); in vc4_free_object()
636 mutex_lock(&bo->madv_lock); in vc4_bo_inc_usecnt()
657 mutex_unlock(&bo->madv_lock); in vc4_bo_inc_usecnt()
675 mutex_lock(&bo->madv_lock); in vc4_bo_dec_usecnt()
679 mutex_unlock(&bo->madv_lock); in vc4_bo_dec_usecnt()
[all …]
Dvc4_gem.c271 mutex_lock(&bo->madv_lock); in vc4_save_hang_state()
275 mutex_unlock(&bo->madv_lock); in vc4_save_hang_state()
1410 mutex_lock(&bo->madv_lock); in vc4_gem_madvise_ioctl()
1435 mutex_unlock(&bo->madv_lock); in vc4_gem_madvise_ioctl()
Dvc4_drv.h285 struct mutex madv_lock; member