Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/imagination/
H A Dpvr_vm.c641 xa_lock(&pvr_file->vm_ctx_handles); in pvr_vm_context_lookup()
642 vm_ctx = xa_load(&pvr_file->vm_ctx_handles, handle); in pvr_vm_context_lookup()
646 xa_unlock(&pvr_file->vm_ctx_handles); in pvr_vm_context_lookup()
682 xa_for_each(&pvr_file->vm_ctx_handles, handle, vm_ctx) { in pvr_destroy_vm_contexts_for_file()
684 pvr_vm_context_put(xa_erase(&pvr_file->vm_ctx_handles, handle)); in pvr_destroy_vm_contexts_for_file()
H A Dpvr_drv.c933 err = xa_alloc(&pvr_file->vm_ctx_handles, in pvr_ioctl_create_vm_context()
978 vm_ctx = xa_erase(&pvr_file->vm_ctx_handles, args->handle); in pvr_ioctl_destroy_vm_context()
1332 xa_init_flags(&pvr_file->vm_ctx_handles, XA_FLAGS_ALLOC1); in pvr_drm_driver_open()
H A Dpvr_device.h346 struct xarray vm_ctx_handles; member