• Home
  • Raw
  • Download

Lines Matching refs:req32

437 	drm_buf_info32_t req32;  in compat_drm_infobufs()  local
446 if (copy_from_user(&req32, argp, sizeof(req32))) in compat_drm_infobufs()
449 count = req32.count; in compat_drm_infobufs()
450 to = (drm_buf_desc32_t __user *) (unsigned long)req32.list; in compat_drm_infobufs()
502 drm_buf_map32_t req32; in compat_drm_mapbufs() local
511 if (copy_from_user(&req32, argp, sizeof(req32))) in compat_drm_mapbufs()
513 count = req32.count; in compat_drm_mapbufs()
514 list32 = (void __user *)(unsigned long)req32.list; in compat_drm_mapbufs()
559 drm_buf_free32_t req32; in compat_drm_freebufs() local
563 if (copy_from_user(&req32, argp, sizeof(req32))) in compat_drm_freebufs()
569 if (__put_user(req32.count, &request->count) in compat_drm_freebufs()
570 || __put_user((int __user *)(unsigned long)req32.list, in compat_drm_freebufs()
585 drm_ctx_priv_map32_t req32; in compat_drm_setsareactx() local
589 if (copy_from_user(&req32, argp, sizeof(req32))) in compat_drm_setsareactx()
595 if (__put_user(req32.ctx_id, &request->ctx_id) in compat_drm_setsareactx()
596 || __put_user((void *)(unsigned long)req32.handle, in compat_drm_setsareactx()
803 drm_agp_buffer32_t req32; in compat_drm_agp_alloc() local
807 if (copy_from_user(&req32, argp, sizeof(req32))) in compat_drm_agp_alloc()
812 || __put_user(req32.size, &request->size) in compat_drm_agp_alloc()
813 || __put_user(req32.type, &request->type)) in compat_drm_agp_alloc()
820 if (__get_user(req32.handle, &request->handle) in compat_drm_agp_alloc()
821 || __get_user(req32.physical, &request->physical) in compat_drm_agp_alloc()
822 || copy_to_user(argp, &req32, sizeof(req32))) { in compat_drm_agp_alloc()
855 drm_agp_binding32_t req32; in compat_drm_agp_bind() local
858 if (copy_from_user(&req32, argp, sizeof(req32))) in compat_drm_agp_bind()
863 || __put_user(req32.handle, &request->handle) in compat_drm_agp_bind()
864 || __put_user(req32.offset, &request->offset)) in compat_drm_agp_bind()
988 drm_wait_vblank32_t req32; in compat_drm_wait_vblank() local
992 if (copy_from_user(&req32, argp, sizeof(req32))) in compat_drm_wait_vblank()
997 || __put_user(req32.request.type, &request->request.type) in compat_drm_wait_vblank()
998 || __put_user(req32.request.sequence, &request->request.sequence) in compat_drm_wait_vblank()
999 || __put_user(req32.request.signal, &request->request.signal)) in compat_drm_wait_vblank()
1006 if (__get_user(req32.reply.type, &request->reply.type) in compat_drm_wait_vblank()
1007 || __get_user(req32.reply.sequence, &request->reply.sequence) in compat_drm_wait_vblank()
1008 || __get_user(req32.reply.tval_sec, &request->reply.tval_sec) in compat_drm_wait_vblank()
1009 || __get_user(req32.reply.tval_usec, &request->reply.tval_usec)) in compat_drm_wait_vblank()
1012 if (copy_to_user(argp, &req32, sizeof(req32))) in compat_drm_wait_vblank()
1035 struct drm_mode_fb_cmd232 req32; in compat_drm_mode_addfb2() local
1040 if (copy_from_user(&req32, argp, sizeof(req32))) in compat_drm_mode_addfb2()
1046 || __put_user(req32.width, &req64->width) in compat_drm_mode_addfb2()
1047 || __put_user(req32.height, &req64->height) in compat_drm_mode_addfb2()
1048 || __put_user(req32.pixel_format, &req64->pixel_format) in compat_drm_mode_addfb2()
1049 || __put_user(req32.flags, &req64->flags)) in compat_drm_mode_addfb2()
1053 if (__put_user(req32.handles[i], &req64->handles[i])) in compat_drm_mode_addfb2()
1055 if (__put_user(req32.pitches[i], &req64->pitches[i])) in compat_drm_mode_addfb2()
1057 if (__put_user(req32.offsets[i], &req64->offsets[i])) in compat_drm_mode_addfb2()
1059 if (__put_user(req32.modifier[i], &req64->modifier[i])) in compat_drm_mode_addfb2()
1067 if (__get_user(req32.fb_id, &req64->fb_id)) in compat_drm_mode_addfb2()
1070 if (copy_to_user(argp, &req32, sizeof(req32))) in compat_drm_mode_addfb2()