Home
last modified time | relevance | path

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

/freebsd/sys/dev/drm2/ttm/
H A Dttm_bo_vm.c323 rw_wlock(&bdev->vm_lock); in ttm_bo_mmap_single()
327 rw_wunlock(&bdev->vm_lock); in ttm_bo_mmap_single()
402 read_lock(&bdev->vm_lock);
406 read_unlock(&bdev->vm_lock);
H A Dttm_bo.c761 rw_wlock(&bdev->vm_lock); in ttm_bo_release()
768 rw_wunlock(&bdev->vm_lock); in ttm_bo_release()
1571 rw_wlock(&bdev->vm_lock); in ttm_bo_device_release()
1573 rw_wunlock(&bdev->vm_lock); in ttm_bo_device_release()
1586 rw_init(&bdev->vm_lock, "ttmvml"); in ttm_bo_device_init()
1690 rw_wlock(&bdev->vm_lock); in ttm_bo_setup_vm()
1703 rw_wunlock(&bdev->vm_lock); in ttm_bo_setup_vm()
1708 rw_wunlock(&bdev->vm_lock); in ttm_bo_setup_vm()
1713 rw_wunlock(&bdev->vm_lock); in ttm_bo_setup_vm()
H A Dttm_bo_driver.h538 struct rwlock vm_lock; member
/freebsd/sys/kern/
H A Dsubr_vmem.c135 struct mtx_padalign vm_lock; member
199 #define VMEM_CONDVAR_WAIT(vm) cv_wait(&vm->vm_cv, &vm->vm_lock)
202 #define VMEM_LOCK(vm) mtx_lock(&vm->vm_lock)
203 #define VMEM_TRYLOCK(vm) mtx_trylock(&vm->vm_lock)
204 #define VMEM_UNLOCK(vm) mtx_unlock(&vm->vm_lock)
205 #define VMEM_LOCK_INIT(vm, name) mtx_init(&vm->vm_lock, (name), NULL, MTX_DEF)
206 #define VMEM_LOCK_DESTROY(vm) mtx_destroy(&vm->vm_lock)
207 #define VMEM_ASSERT_LOCKED(vm) mtx_assert(&vm->vm_lock, MA_OWNED);