Searched refs:DRM_COPY_FROM_USER (Results 1 - 12 of 12) sorted by relevance

/solaris-x11-s11/open-src/kernel/efb/src/
H A Ddrm_linux.h108 #define get_user(x,ptr) DRM_COPY_FROM_USER((&x),ptr,sizeof(x))
110 #define copy_from_user DRM_COPY_FROM_USER
H A Dradeon_state.c1851 if (DRM_COPY_FROM_USER(_buf, _data, (_width))) {\
2244 if (DRM_COPY_FROM_USER(&depth_boxes, clear.depth_boxes,
2545 if (DRM_COPY_FROM_USER(&image32,
2570 if (DRM_COPY_FROM_USER(&image,
2610 if (DRM_COPY_FROM_USER(&mask, stipple.mask, 32 * sizeof (u32)))
2771 if (DRM_COPY_FROM_USER(&prim, &vertex.prim[i], sizeof (prim)))
2777 if (DRM_COPY_FROM_USER(&state,
2993 if (DRM_COPY_FROM_USER(&box, &boxes[i], sizeof (box)))
3116 if (DRM_COPY_FROM_USER(kbuf, (void *)cmdbuf.buf,
H A DdrmP.h171 #define DRM_COPY_FROM_USER(dest, src, size) \ macro
H A Dr300_cmdbuf.c779 if (DRM_COPY_FROM_USER(&h_pending,
H A Ddrm_bufs.c753 if (DRM_COPY_FROM_USER(&idx, &request.list[i], sizeof (idx))) {
/solaris-x11-s11/open-src/kernel/sys/drm/
H A Ddrm_linux.h127 #define get_user(x,ptr) DRM_COPY_FROM_USER((&x),ptr,sizeof(x))
129 #define copy_from_user DRM_COPY_FROM_USER
H A DdrmP.h257 #define DRM_COPY_FROM_USER(dest, src, size) \ macro
/solaris-x11-s11/open-src/kernel/i915/src/
H A Di915_gem_execbuffer.c213 if (DRM_COPY_FROM_USER(r, user_relocs, count*sizeof(r[0])))
874 if (DRM_COPY_FROM_USER(cliprects,
H A Di915_gem.c271 ret = DRM_COPY_FROM_USER(gpu_page + gpu_offset,
291 ret = DRM_COPY_FROM_USER(gpu_page + swizzled_gpu_offset,
465 ret = DRM_COPY_FROM_USER(obj->base.kaddr + args->offset, user_data, args->size);
570 ret = DRM_COPY_FROM_USER(obj->base.kaddr + args->offset,
3956 ret = DRM_COPY_FROM_USER(obj_addr, user_data, args->size);
/solaris-x11-s11/open-src/kernel/drm/src/
H A Ddrm_drv.c426 if (DRM_COPY_FROM_USER(kdata, (void __user *)arg,
H A Ddrm_bufs.c1033 if (DRM_COPY_FROM_USER(&idx, &request->list[i], sizeof (idx)))
H A Ddrm_crtc.c3388 if (DRM_COPY_FROM_USER(r_base, (void __user *)(unsigned long)crtc_lut->red, size)) {
3394 if (DRM_COPY_FROM_USER(g_base, (void __user *)(unsigned long)crtc_lut->green, size)) {
3400 if (DRM_COPY_FROM_USER(b_base, (void __user *)(unsigned long)crtc_lut->blue, size)) {

Completed in 60 milliseconds