Home
last modified time | relevance | path

Searched refs:vm_lock (Results 1 – 4 of 4) sorted by relevance

/freebsd-13.1/sys/dev/drm2/ttm/
H A Dttm_bo_vm.c325 rw_wlock(&bdev->vm_lock); in ttm_bo_mmap_single()
329 rw_wunlock(&bdev->vm_lock); in ttm_bo_mmap_single()
418 read_lock(&bdev->vm_lock);
422 read_unlock(&bdev->vm_lock);
H A Dttm_bo.c763 rw_wlock(&bdev->vm_lock); in ttm_bo_release()
770 rw_wunlock(&bdev->vm_lock); in ttm_bo_release()
1573 rw_wlock(&bdev->vm_lock); in ttm_bo_device_release()
1575 rw_wunlock(&bdev->vm_lock); in ttm_bo_device_release()
1588 rw_init(&bdev->vm_lock, "ttmvml"); in ttm_bo_device_init()
1692 rw_wlock(&bdev->vm_lock); in ttm_bo_setup_vm()
1705 rw_wunlock(&bdev->vm_lock); in ttm_bo_setup_vm()
1710 rw_wunlock(&bdev->vm_lock); in ttm_bo_setup_vm()
1715 rw_wunlock(&bdev->vm_lock); in ttm_bo_setup_vm()
H A Dttm_bo_driver.h539 struct rwlock vm_lock; member
/freebsd-13.1/sys/kern/
H A Dsubr_vmem.c137 struct mtx_padalign vm_lock; member
201 #define VMEM_CONDVAR_WAIT(vm) cv_wait(&vm->vm_cv, &vm->vm_lock)
204 #define VMEM_LOCK(vm) mtx_lock(&vm->vm_lock)
205 #define VMEM_TRYLOCK(vm) mtx_trylock(&vm->vm_lock)
206 #define VMEM_UNLOCK(vm) mtx_unlock(&vm->vm_lock)
207 #define VMEM_LOCK_INIT(vm, name) mtx_init(&vm->vm_lock, (name), NULL, MTX_DEF)
208 #define VMEM_LOCK_DESTROY(vm) mtx_destroy(&vm->vm_lock)
209 #define VMEM_ASSERT_LOCKED(vm) mtx_assert(&vm->vm_lock, MA_OWNED);