Lines Matching refs:req32

438 	drm_buf_info32_t req32;  in compat_drm_infobufs()  local
447 if (copy_from_user(&req32, argp, sizeof(req32))) in compat_drm_infobufs()
450 count = req32.count; in compat_drm_infobufs()
451 to = (drm_buf_desc32_t __user *) (unsigned long)req32.list; in compat_drm_infobufs()
503 drm_buf_map32_t req32; in compat_drm_mapbufs() local
512 if (copy_from_user(&req32, argp, sizeof(req32))) in compat_drm_mapbufs()
514 count = req32.count; in compat_drm_mapbufs()
515 list32 = (void __user *)(unsigned long)req32.list; in compat_drm_mapbufs()
560 drm_buf_free32_t req32; in compat_drm_freebufs() local
564 if (copy_from_user(&req32, argp, sizeof(req32))) in compat_drm_freebufs()
570 if (__put_user(req32.count, &request->count) in compat_drm_freebufs()
571 || __put_user((int __user *)(unsigned long)req32.list, in compat_drm_freebufs()
586 drm_ctx_priv_map32_t req32; in compat_drm_setsareactx() local
590 if (copy_from_user(&req32, argp, sizeof(req32))) in compat_drm_setsareactx()
596 if (__put_user(req32.ctx_id, &request->ctx_id) in compat_drm_setsareactx()
597 || __put_user((void *)(unsigned long)req32.handle, in compat_drm_setsareactx()
804 drm_agp_buffer32_t req32; in compat_drm_agp_alloc() local
808 if (copy_from_user(&req32, argp, sizeof(req32))) in compat_drm_agp_alloc()
813 || __put_user(req32.size, &request->size) in compat_drm_agp_alloc()
814 || __put_user(req32.type, &request->type)) in compat_drm_agp_alloc()
821 if (__get_user(req32.handle, &request->handle) in compat_drm_agp_alloc()
822 || __get_user(req32.physical, &request->physical) in compat_drm_agp_alloc()
823 || copy_to_user(argp, &req32, sizeof(req32))) { in compat_drm_agp_alloc()
856 drm_agp_binding32_t req32; in compat_drm_agp_bind() local
859 if (copy_from_user(&req32, argp, sizeof(req32))) in compat_drm_agp_bind()
864 || __put_user(req32.handle, &request->handle) in compat_drm_agp_bind()
865 || __put_user(req32.offset, &request->offset)) in compat_drm_agp_bind()
991 drm_wait_vblank32_t req32; in compat_drm_wait_vblank() local
995 if (copy_from_user(&req32, argp, sizeof(req32))) in compat_drm_wait_vblank()
1000 || __put_user(req32.request.type, &request->request.type) in compat_drm_wait_vblank()
1001 || __put_user(req32.request.sequence, &request->request.sequence) in compat_drm_wait_vblank()
1002 || __put_user(req32.request.signal, &request->request.signal)) in compat_drm_wait_vblank()
1009 if (__get_user(req32.reply.type, &request->reply.type) in compat_drm_wait_vblank()
1010 || __get_user(req32.reply.sequence, &request->reply.sequence) in compat_drm_wait_vblank()
1011 || __get_user(req32.reply.tval_sec, &request->reply.tval_sec) in compat_drm_wait_vblank()
1012 || __get_user(req32.reply.tval_usec, &request->reply.tval_usec)) in compat_drm_wait_vblank()
1015 if (copy_to_user(argp, &req32, sizeof(req32))) in compat_drm_wait_vblank()
1037 struct drm_mode_fb_cmd232 req32; in compat_drm_mode_addfb2() local
1042 if (copy_from_user(&req32, argp, sizeof(req32))) in compat_drm_mode_addfb2()
1048 || __put_user(req32.width, &req64->width) in compat_drm_mode_addfb2()
1049 || __put_user(req32.height, &req64->height) in compat_drm_mode_addfb2()
1050 || __put_user(req32.pixel_format, &req64->pixel_format) in compat_drm_mode_addfb2()
1051 || __put_user(req32.flags, &req64->flags)) in compat_drm_mode_addfb2()
1055 if (__put_user(req32.handles[i], &req64->handles[i])) in compat_drm_mode_addfb2()
1057 if (__put_user(req32.pitches[i], &req64->pitches[i])) in compat_drm_mode_addfb2()
1059 if (__put_user(req32.offsets[i], &req64->offsets[i])) in compat_drm_mode_addfb2()
1061 if (__put_user(req32.modifier[i], &req64->modifier[i])) in compat_drm_mode_addfb2()
1069 if (__get_user(req32.fb_id, &req64->fb_id)) in compat_drm_mode_addfb2()
1072 if (copy_to_user(argp, &req32, sizeof(req32))) in compat_drm_mode_addfb2()