Lines Matching refs:shared_handle
229 uint32_t *shared_handle) in amdgpu_bo_export() argument
239 *shared_handle = bo->flink_name; in amdgpu_bo_export()
244 *shared_handle = bo->handle; in amdgpu_bo_export()
251 (int*)shared_handle); in amdgpu_bo_export()
258 uint32_t shared_handle, in amdgpu_bo_import() argument
277 r = drmPrimeFDToHandle(dev->fd, shared_handle, &handle); in amdgpu_bo_import()
284 size = lseek(shared_handle, 0, SEEK_END); in amdgpu_bo_import()
290 lseek(shared_handle, 0, SEEK_SET); in amdgpu_bo_import()
293 shared_handle = handle; in amdgpu_bo_import()
300 (void*)(uintptr_t)shared_handle); in amdgpu_bo_import()
305 (void*)(uintptr_t)shared_handle); in amdgpu_bo_import()
332 amdgpu_close_kms_handle(dev, shared_handle); in amdgpu_bo_import()
340 open_arg.name = shared_handle; in amdgpu_bo_import()
366 bo->flink_name = shared_handle; in amdgpu_bo_import()
373 bo->handle = shared_handle; in amdgpu_bo_import()