Lines Matching refs:drm_buf_desc32_t
49 #define DRM_IOCTL_ADD_BUFS32 DRM_IOWR(0x16, drm_buf_desc32_t)
50 #define DRM_IOCTL_MARK_BUFS32 DRM_IOW( 0x17, drm_buf_desc32_t)
319 } drm_buf_desc32_t; typedef
324 drm_buf_desc32_t __user *argp = (void __user *)arg; in compat_drm_addbufs()
325 drm_buf_desc32_t desc32; in compat_drm_addbufs()
329 if (copy_from_user(&desc32, argp, sizeof(drm_buf_desc32_t))) in compat_drm_addbufs()
342 desc32 = (drm_buf_desc32_t){ in compat_drm_addbufs()
346 if (copy_to_user(argp, &desc32, sizeof(drm_buf_desc32_t))) in compat_drm_addbufs()
355 drm_buf_desc32_t b32; in compat_drm_markbufs()
356 drm_buf_desc32_t __user *argp = (void __user *)arg; in compat_drm_markbufs()
378 drm_buf_desc32_t __user *to = compat_ptr(request->list); in copy_one_buf32()
379 drm_buf_desc32_t v = {.count = from->buf_count, in copy_one_buf32()
384 if (copy_to_user(to + count, &v, offsetof(drm_buf_desc32_t, flags))) in copy_one_buf32()