Searched refs:idr_handle (Results 1 – 2 of 2) sorted by relevance
1275 int idr_handle; in kfd_ioctl_alloc_memory_of_gpu() local1328 idr_handle = kfd_process_device_create_obj_handle(pdd, mem); in kfd_ioctl_alloc_memory_of_gpu()1329 if (idr_handle < 0) { in kfd_ioctl_alloc_memory_of_gpu()1340 args->handle = MAKE_HANDLE(args->gpu_id, idr_handle); in kfd_ioctl_alloc_memory_of_gpu()1704 int idr_handle; in kfd_ioctl_import_dmabuf() local1732 idr_handle = kfd_process_device_create_obj_handle(pdd, mem); in kfd_ioctl_import_dmabuf()1733 if (idr_handle < 0) { in kfd_ioctl_import_dmabuf()1741 args->handle = MAKE_HANDLE(args->gpu_id, idr_handle); in kfd_ioctl_import_dmabuf()
628 #define MAKE_HANDLE(gpu_id, idr_handle) \ argument629 (((uint64_t)(gpu_id) << 32) + idr_handle)