Lines Matching refs:handle
1172 args->handle = MAKE_HANDLE(args->gpu_id, idr_handle); in kfd_ioctl_alloc_memory_of_gpu()
1208 if (p->signal_handle && (p->signal_handle == args->handle)) { in kfd_ioctl_free_memory_of_gpu()
1214 pdd = kfd_process_device_data_by_id(p, GET_GPU_ID(args->handle)); in kfd_ioctl_free_memory_of_gpu()
1222 pdd, GET_IDR_HANDLE(args->handle)); in kfd_ioctl_free_memory_of_gpu()
1236 pdd, GET_IDR_HANDLE(args->handle)); in kfd_ioctl_free_memory_of_gpu()
1280 pdd = kfd_process_device_data_by_id(p, GET_GPU_ID(args->handle)); in kfd_ioctl_map_memory_to_gpu()
1294 GET_IDR_HANDLE(args->handle)); in kfd_ioctl_map_memory_to_gpu()
1397 pdd = kfd_process_device_data_by_id(p, GET_GPU_ID(args->handle)); in kfd_ioctl_unmap_memory_from_gpu()
1404 GET_IDR_HANDLE(args->handle)); in kfd_ioctl_unmap_memory_from_gpu()
1608 args->handle = MAKE_HANDLE(args->gpu_id, idr_handle); in kfd_ioctl_import_dmabuf()
1631 dev = kfd_device_by_id(GET_GPU_ID(args->handle)); in kfd_ioctl_export_dmabuf()
1644 GET_IDR_HANDLE(args->handle)); in kfd_ioctl_export_dmabuf()