Home
last modified time | relevance | path

Searched refs:DRM_COPY_TO_USER (Results 1 – 14 of 14) sorted by relevance

/titanic_44/usr/src/uts/common/io/drm/
H A Ddrm_bufs.c835 if (DRM_COPY_TO_USER(&list32[i].idx, in drm_mapbufs()
839 if (DRM_COPY_TO_USER(&list32[i].total, in drm_mapbufs()
844 if (DRM_COPY_TO_USER(&list32[i].used, in drm_mapbufs()
849 ret_tmp = DRM_COPY_TO_USER(&list32[i].address, in drm_mapbufs()
860 if (DRM_COPY_TO_USER(&request.list[i].idx, in drm_mapbufs()
864 if (DRM_COPY_TO_USER(&request.list[i].total, in drm_mapbufs()
868 if (DRM_COPY_TO_USER(&request.list[i].used, &zero, in drm_mapbufs()
874 ret_tmp = DRM_COPY_TO_USER(&request.list[i].address, in drm_mapbufs()
H A Ddrm_ioctl.c74 if (DRM_COPY_TO_USER(u1.unique, dev->unique, dev->unique_len)) in drm_getunique()
391 if (DRM_COPY_TO_USER(name, value, len)) \ in drm_version()
H A Ddrm_gem.c541 ret = DRM_COPY_TO_USER((void *) data, &args, sizeof (args)); in drm_gem_flink_ioctl()
595 ret = DRM_COPY_TO_USER((void *) data, &args, sizeof (args)); in drm_gem_open_ioctl()
H A DdrmP.h187 #define DRM_COPY_TO_USER(dest, src, size) \ macro
/titanic_44/usr/src/uts/intel/io/drm/
H A Di915_gem_tiling.c328 ret = DRM_COPY_TO_USER((struct drm_i915_gem_set_tiling __user *) data, &args, sizeof(args)); in i915_gem_set_tiling()
382 ret = DRM_COPY_TO_USER((struct drm_i915_gem_get_tiling __user *) data, &args, sizeof(args)); in i915_gem_get_tiling()
H A Di915_gem.c131 … ret = DRM_COPY_TO_USER((struct drm_i915_gem_get_aperture __user *) data, &args, sizeof(args)); in i915_gem_get_aperture_ioctl()
183 ret = DRM_COPY_TO_USER((struct drm_i915_gem_create *) data, &args, sizeof(args)); in i915_gem_create_ioctl()
242 unwritten = DRM_COPY_TO_USER(user_data, obj->kaddr + args.offset, args.size); in i915_gem_pread_ioctl()
1883 ret = DRM_COPY_TO_USER(relocs + i, &reloc, sizeof(reloc)); in i915_gem_object_pin_and_relocate()
2206 ret = DRM_COPY_TO_USER((struct drm_i915_relocation_entry __user *) in i915_gem_execbuffer()
2334 ret = DRM_COPY_TO_USER((struct drm_i915_gem_pin __user *) data, &args, sizeof(args)); in i915_gem_pin_ioctl()
2423 ret = DRM_COPY_TO_USER((struct drm_i915_gem_busy __user *) data, &args, sizeof(args)); in i915_gem_busy_ioctl()
H A Dradeon_irq.c245 if (DRM_COPY_TO_USER(emit.irq_seq, &result, sizeof (int))) { in radeon_irq_emit()
H A Dr300_cmdbuf.c770 if (DRM_COPY_TO_USER(ref_age_base + buf_idx, in r300_scratch()
787 if (DRM_COPY_TO_USER(ref_age_base + buf_idx + 1, in r300_scratch()
H A Dradeon_mem.c287 if (DRM_COPY_TO_USER(alloc.region_offset, &block->start, in radeon_mem_alloc()
H A Di915_mem.c331 if (DRM_COPY_TO_USER(alloc.region_offset, &block->start, sizeof(int))) { in i915_mem_alloc()
H A Dradeon_cp.c2216 if (DRM_COPY_TO_USER(&d->request_indices[i], &buf->idx, in radeon_cp_get_buffers()
2219 if (DRM_COPY_TO_USER(&d->request_sizes[i], &buf->total, in radeon_cp_get_buffers()
H A Di915_irq.c727 if (DRM_COPY_TO_USER(emit.irq_seq, &result, sizeof(int))) { in i915_irq_emit()
H A Di915_dma.c818 if (DRM_COPY_TO_USER(param.value, &value, sizeof(int))) { in i915_getparam()
H A Dradeon_state.c3346 if (DRM_COPY_TO_USER(param.value, &value, sizeof (int))) { in radeon_cp_getparam()