Lines Matching refs:user_vm86

110 	if (!vm86 || !vm86->user_vm86) {  in save_v86_state()
115 user = vm86->user_vm86; in save_v86_state()
208 static long do_sys_vm86(struct vm86plus_struct __user *user_vm86, bool plus);
210 SYSCALL_DEFINE1(vm86old, struct vm86_struct __user *, user_vm86) in SYSCALL_DEFINE1() argument
212 return do_sys_vm86((struct vm86plus_struct __user *) user_vm86, false); in SYSCALL_DEFINE1()
239 static long do_sys_vm86(struct vm86plus_struct __user *user_vm86, bool plus) in do_sys_vm86() argument
281 if (!access_ok(VERIFY_READ, user_vm86, plus ? in do_sys_vm86()
289 get_user_ex(vm86regs.pt.bx, &user_vm86->regs.ebx); in do_sys_vm86()
290 get_user_ex(vm86regs.pt.cx, &user_vm86->regs.ecx); in do_sys_vm86()
291 get_user_ex(vm86regs.pt.dx, &user_vm86->regs.edx); in do_sys_vm86()
292 get_user_ex(vm86regs.pt.si, &user_vm86->regs.esi); in do_sys_vm86()
293 get_user_ex(vm86regs.pt.di, &user_vm86->regs.edi); in do_sys_vm86()
294 get_user_ex(vm86regs.pt.bp, &user_vm86->regs.ebp); in do_sys_vm86()
295 get_user_ex(vm86regs.pt.ax, &user_vm86->regs.eax); in do_sys_vm86()
296 get_user_ex(vm86regs.pt.ip, &user_vm86->regs.eip); in do_sys_vm86()
297 get_user_ex(seg, &user_vm86->regs.cs); in do_sys_vm86()
299 get_user_ex(vm86regs.pt.flags, &user_vm86->regs.eflags); in do_sys_vm86()
300 get_user_ex(vm86regs.pt.sp, &user_vm86->regs.esp); in do_sys_vm86()
301 get_user_ex(seg, &user_vm86->regs.ss); in do_sys_vm86()
303 get_user_ex(vm86regs.es, &user_vm86->regs.es); in do_sys_vm86()
304 get_user_ex(vm86regs.ds, &user_vm86->regs.ds); in do_sys_vm86()
305 get_user_ex(vm86regs.fs, &user_vm86->regs.fs); in do_sys_vm86()
306 get_user_ex(vm86regs.gs, &user_vm86->regs.gs); in do_sys_vm86()
308 get_user_ex(vm86->flags, &user_vm86->flags); in do_sys_vm86()
309 get_user_ex(vm86->screen_bitmap, &user_vm86->screen_bitmap); in do_sys_vm86()
310 get_user_ex(vm86->cpu_type, &user_vm86->cpu_type); in do_sys_vm86()
316 &user_vm86->int_revectored, in do_sys_vm86()
320 &user_vm86->int21_revectored, in do_sys_vm86()
324 if (copy_from_user(&vm86->vm86plus, &user_vm86->vm86plus, in do_sys_vm86()
333 vm86->user_vm86 = user_vm86; in do_sys_vm86()