Searched refs:DRM_COPY_TO_USER (Results 1 - 18 of 18) sorted by relevance

/solaris-x11-s11/open-src/kernel/drm/src/
H A Ddrm_bufs.c1127 if (DRM_COPY_TO_USER(&list32[i].idx,
1133 if (DRM_COPY_TO_USER(&list32[i].total,
1139 if (DRM_COPY_TO_USER(&list32[i].used,
1145 if (DRM_COPY_TO_USER(&list32[i].address,
1154 if (DRM_COPY_TO_USER(&request->list[i].idx,
1160 if (DRM_COPY_TO_USER(&request->list[i].total,
1166 if (DRM_COPY_TO_USER(&request->list[i].used, &zero,
1173 if (DRM_COPY_TO_USER(&request->list[i].address,
H A Ddrm_ioctl.c73 if (DRM_COPY_TO_USER(u->unique, master->unique, master->unique_len))
H A Ddrm_crtc.c1606 if (DRM_COPY_TO_USER(mode_ptr + copied,
1791 if (DRM_COPY_TO_USER(format_ptr,
2954 if (DRM_COPY_TO_USER(values_ptr + i, &property->values[i], sizeof(uint64_t))) {
2968 if (DRM_COPY_TO_USER(&enum_ptr[copied].value, &prop_enum->value, sizeof(uint64_t))) {
2973 if (DRM_COPY_TO_USER(&enum_ptr[copied].name,
3068 if (DRM_COPY_TO_USER(blob_ptr, blob->data, blob->length)){
3442 if (DRM_COPY_TO_USER((void __user *)(unsigned long)crtc_lut->red, r_base, size)) {
3448 if (DRM_COPY_TO_USER((void __user *)(unsigned long)crtc_lut->green, g_base, size)) {
3454 if (DRM_COPY_TO_USER((void __user *)(unsigned long)crtc_lut->blue, b_base, size)) {
H A Ddrm_drv.c446 if (DRM_COPY_TO_USER((void __user *)arg, kdata,
/solaris-x11-s11/open-src/kernel/efb/src/
H A Ddrm_bufs.c850 if (DRM_COPY_TO_USER(&list32[i].idx,
854 if (DRM_COPY_TO_USER(&list32[i].total,
859 if (DRM_COPY_TO_USER(&list32[i].used,
864 ret_tmp = DRM_COPY_TO_USER(&list32[i].address,
875 if (DRM_COPY_TO_USER(&request.list[i].idx,
879 if (DRM_COPY_TO_USER(&request.list[i].total,
883 if (DRM_COPY_TO_USER(&request.list[i].used, &zero,
889 ret_tmp = DRM_COPY_TO_USER(&request.list[i].address,
H A Ddrm_linux.h107 #define put_user(val,ptr) DRM_COPY_TO_USER(ptr,(&val),sizeof(val))
109 #define copy_to_user DRM_COPY_TO_USER
H A Ddrm_ioctl.c71 if (DRM_COPY_TO_USER(u1.unique, dev->unique, dev->unique_len))
388 if (DRM_COPY_TO_USER(name, value, len)) \
H A Dradeon_irq.c244 if (DRM_COPY_TO_USER(emit.irq_seq, &result, sizeof (int))) {
H A Dradeon_mem.c284 if (DRM_COPY_TO_USER(alloc.region_offset, &block->start,
H A Dr300_cmdbuf.c773 if (DRM_COPY_TO_USER(ref_age_base + buf_idx,
790 if (DRM_COPY_TO_USER(ref_age_base + buf_idx + 1,
H A DdrmP.h174 #define DRM_COPY_TO_USER(dest, src, size) \ macro
H A Dradeon_cp.c2213 if (DRM_COPY_TO_USER(&d->request_indices[i], &buf->idx,
2216 if (DRM_COPY_TO_USER(&d->request_sizes[i], &buf->total,
H A Dradeon_state.c3346 if (DRM_COPY_TO_USER(param.value, &value, sizeof (int))) {
/solaris-x11-s11/open-src/kernel/sys/drm/
H A Ddrm_linux.h126 #define put_user(val,ptr) DRM_COPY_TO_USER(ptr,(&val),sizeof(val))
128 #define copy_to_user DRM_COPY_TO_USER
H A DdrmP.h260 #define DRM_COPY_TO_USER(dest, src, size) \ macro
381 if (DRM_COPY_TO_USER(name, value, len)) \
/solaris-x11-s11/open-src/kernel/i915/src/
H A Di915_dma.c828 if (DRM_COPY_TO_USER(emit->irq_seq, &result, sizeof(int))) {
1015 if (DRM_COPY_TO_USER(param->value, &value, sizeof(int))) {
1016 DRM_ERROR("DRM_COPY_TO_USER failed\n");
H A Di915_gem_execbuffer.c224 DRM_COPY_TO_USER(&user_relocs->presumed_offset,
H A Di915_gem.c268 ret = DRM_COPY_TO_USER(cpu_page + cpu_offset,
287 ret = DRM_COPY_TO_USER(cpu_page + cpu_offset,
386 ret = DRM_COPY_TO_USER((caddr_t)user_data,

Completed in 92 milliseconds