Searched refs:DRM_COPY_TO_USER (Results 1 – 14 of 14) sorted by relevance
/titanic_44/usr/src/uts/common/io/drm/ |
H A D | drm_bufs.c | 835 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 D | drm_ioctl.c | 74 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 D | drm_gem.c | 541 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 D | drmP.h | 187 #define DRM_COPY_TO_USER(dest, src, size) \ macro
|
/titanic_44/usr/src/uts/intel/io/drm/ |
H A D | i915_gem_tiling.c | 328 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 D | i915_gem.c | 131 … 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 D | radeon_irq.c | 245 if (DRM_COPY_TO_USER(emit.irq_seq, &result, sizeof (int))) { in radeon_irq_emit()
|
H A D | r300_cmdbuf.c | 770 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 D | radeon_mem.c | 287 if (DRM_COPY_TO_USER(alloc.region_offset, &block->start, in radeon_mem_alloc()
|
H A D | i915_mem.c | 331 if (DRM_COPY_TO_USER(alloc.region_offset, &block->start, sizeof(int))) { in i915_mem_alloc()
|
H A D | radeon_cp.c | 2216 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 D | i915_irq.c | 727 if (DRM_COPY_TO_USER(emit.irq_seq, &result, sizeof(int))) { in i915_irq_emit()
|
H A D | i915_dma.c | 818 if (DRM_COPY_TO_USER(param.value, &value, sizeof(int))) { in i915_getparam()
|
H A D | radeon_state.c | 3346 if (DRM_COPY_TO_USER(param.value, &value, sizeof (int))) { in radeon_cp_getparam()
|