Lines Matching refs:drm_buf_desc32_t
50 #define DRM_IOCTL_ADD_BUFS32 DRM_IOWR(0x16, drm_buf_desc32_t)
51 #define DRM_IOCTL_MARK_BUFS32 DRM_IOW( 0x17, drm_buf_desc32_t)
317 } drm_buf_desc32_t; typedef
322 drm_buf_desc32_t __user *argp = (void __user *)arg; in compat_drm_addbufs()
323 drm_buf_desc32_t desc32; in compat_drm_addbufs()
327 if (copy_from_user(&desc32, argp, sizeof(drm_buf_desc32_t))) in compat_drm_addbufs()
340 desc32 = (drm_buf_desc32_t){ in compat_drm_addbufs()
344 if (copy_to_user(argp, &desc32, sizeof(drm_buf_desc32_t))) in compat_drm_addbufs()
353 drm_buf_desc32_t b32; in compat_drm_markbufs()
354 drm_buf_desc32_t __user *argp = (void __user *)arg; in compat_drm_markbufs()
376 drm_buf_desc32_t __user *to = compat_ptr(request->list); in copy_one_buf32()
377 drm_buf_desc32_t v = {.count = from->buf_count, in copy_one_buf32()
382 if (copy_to_user(to + count, &v, offsetof(drm_buf_desc32_t, flags))) in copy_one_buf32()