/third_party/libdrm/tests/radeon/ |
D | rbo.c | 54 struct drm_gem_open open_arg; in rbo() local 56 memset(&open_arg, 0, sizeof(open_arg)); in rbo() 57 open_arg.name = handle; in rbo() 58 r = drmIoctl(fd, DRM_IOCTL_GEM_OPEN, &open_arg); in rbo() 63 bo->handle = open_arg.handle; in rbo()
|
/third_party/libdrm/radeon/ |
D | radeon_bo_gem.c | 85 struct drm_gem_open open_arg; in bo_open() local 87 memset(&open_arg, 0, sizeof(open_arg)); in bo_open() 88 open_arg.name = handle; in bo_open() 89 r = drmIoctl(bom->fd, DRM_IOCTL_GEM_OPEN, &open_arg); in bo_open() 94 bo->base.handle = open_arg.handle; in bo_open() 95 bo->base.size = open_arg.size; in bo_open()
|
/third_party/libdrm/amdgpu/ |
D | amdgpu_bo.c | 261 struct drm_gem_open open_arg = {}; in amdgpu_bo_import() local 328 open_arg.name = shared_handle; in amdgpu_bo_import() 329 r = drmIoctl(dev->flink_fd, DRM_IOCTL_GEM_OPEN, &open_arg); in amdgpu_bo_import() 334 handle = open_arg.handle; in amdgpu_bo_import() 335 alloc_size = open_arg.size; in amdgpu_bo_import() 346 open_arg.handle); in amdgpu_bo_import() 350 open_arg.handle = 0; in amdgpu_bo_import() 383 if (flink_name && open_arg.handle) in amdgpu_bo_import() 384 amdgpu_close_kms_handle(dev->flink_fd, open_arg.handle); in amdgpu_bo_import()
|
/third_party/mesa3d/src/gallium/winsys/virgl/drm/ |
D | virgl_drm_winsys.c | 472 struct drm_gem_open open_arg = {}; in virgl_drm_winsys_resource_create_handle() local 531 memset(&open_arg, 0, sizeof(open_arg)); in virgl_drm_winsys_resource_create_handle() 532 open_arg.name = whandle->handle; in virgl_drm_winsys_resource_create_handle() 533 if (drmIoctl(qdws->fd, DRM_IOCTL_GEM_OPEN, &open_arg)) { in virgl_drm_winsys_resource_create_handle() 538 res->bo_handle = open_arg.handle; in virgl_drm_winsys_resource_create_handle()
|
/third_party/mesa3d/src/gallium/winsys/radeon/drm/ |
D | radeon_drm_bo.c | 1232 struct drm_gem_open open_arg = {}; in radeon_winsys_bo_from_handle() local 1233 memset(&open_arg, 0, sizeof(open_arg)); in radeon_winsys_bo_from_handle() 1235 open_arg.name = whandle->handle; in radeon_winsys_bo_from_handle() 1236 if (drmIoctl(ws->fd, DRM_IOCTL_GEM_OPEN, &open_arg)) { in radeon_winsys_bo_from_handle() 1240 handle = open_arg.handle; in radeon_winsys_bo_from_handle() 1241 size = open_arg.size; in radeon_winsys_bo_from_handle()
|
/third_party/mesa3d/src/gallium/drivers/crocus/ |
D | crocus_bufmgr.c | 543 struct drm_gem_open open_arg = { .name = handle }; in crocus_bo_gem_create_from_name() local 544 int ret = intel_ioctl(bufmgr->fd, DRM_IOCTL_GEM_OPEN, &open_arg); in crocus_bo_gem_create_from_name() 555 bo = find_and_ref_external_bo(bufmgr->handle_table, open_arg.handle); in crocus_bo_gem_create_from_name() 565 bo->size = open_arg.size; in crocus_bo_gem_create_from_name() 568 bo->gem_handle = open_arg.handle; in crocus_bo_gem_create_from_name()
|
/third_party/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_bufmgr.c | 789 struct drm_gem_open open_arg = { .name = handle }; in brw_bo_gem_create_from_name() local 790 int ret = drmIoctl(bufmgr->fd, DRM_IOCTL_GEM_OPEN, &open_arg); in brw_bo_gem_create_from_name() 801 bo = hash_find_bo(bufmgr->handle_table, open_arg.handle); in brw_bo_gem_create_from_name() 813 bo->size = open_arg.size; in brw_bo_gem_create_from_name() 816 bo->gem_handle = open_arg.handle; in brw_bo_gem_create_from_name()
|
/third_party/libdrm/intel/ |
D | intel_bufmgr_gem.c | 1108 struct drm_gem_open open_arg; in drm_intel_bo_gem_create_from_name() local 1124 memclear(open_arg); in drm_intel_bo_gem_create_from_name() 1125 open_arg.name = handle; in drm_intel_bo_gem_create_from_name() 1128 &open_arg); in drm_intel_bo_gem_create_from_name() 1140 &open_arg.handle, sizeof(open_arg.handle), bo_gem); in drm_intel_bo_gem_create_from_name() 1153 bo_gem->bo.size = open_arg.size; in drm_intel_bo_gem_create_from_name() 1160 bo_gem->gem_handle = open_arg.handle; in drm_intel_bo_gem_create_from_name() 1161 bo_gem->bo.handle = open_arg.handle; in drm_intel_bo_gem_create_from_name()
|
/third_party/mesa3d/src/gallium/drivers/iris/ |
D | iris_bufmgr.c | 1174 struct drm_gem_open open_arg = { .name = handle }; in iris_bo_gem_create_from_name() local 1175 int ret = intel_ioctl(bufmgr->fd, DRM_IOCTL_GEM_OPEN, &open_arg); in iris_bo_gem_create_from_name() 1186 bo = find_and_ref_external_bo(bufmgr->handle_table, open_arg.handle); in iris_bo_gem_create_from_name() 1196 bo->size = open_arg.size; in iris_bo_gem_create_from_name() 1198 bo->gem_handle = open_arg.handle; in iris_bo_gem_create_from_name()
|
/third_party/gettext/build-aux/ |
D | texi2html | 17619 open_arg($macro, 0, $state); 17796 open_arg($format->{'command'},0, $state); 18192 open_arg ($macro, $stack->[-1]->{'arg_nr'}, $state); 18241 sub open_arg($$$) subroutine 18305 open_arg ('cmd_line', 0, $state);
|