Symbol: vm86
arch/x86/include/asm/processor.h
11
struct vm86;
arch/x86/include/asm/processor.h
488
struct vm86 *vm86;
arch/x86/include/asm/vm86.h
55
if (__t->vm86 != NULL) { \
arch/x86/include/asm/vm86.h
56
kfree(__t->vm86); \
arch/x86/include/asm/vm86.h
57
__t->vm86 = NULL; \
arch/x86/kernel/process.c
111
dst->thread.vm86 = NULL;
arch/x86/kernel/vm86_32.c
100
struct vm86 *vm86 = current->thread.vm86;
arch/x86/kernel/vm86_32.c
109
BUG_ON(!vm86);
arch/x86/kernel/vm86_32.c
111
set_flags(regs->pt.flags, VEFLAGS, X86_EFLAGS_VIF | vm86->veflags_mask);
arch/x86/kernel/vm86_32.c
112
user = vm86->user_vm86;
arch/x86/kernel/vm86_32.c
114
if (!user_access_begin(user, vm86->vm86plus.is_vm86pus ?
arch/x86/kernel/vm86_32.c
145
tsk->thread.sp0 = vm86->saved_sp0;
arch/x86/kernel/vm86_32.c
149
vm86->saved_sp0 = 0;
arch/x86/kernel/vm86_32.c
152
memcpy(&regs->pt, &vm86->regs32, sizeof(struct pt_regs));
arch/x86/kernel/vm86_32.c
154
loadsegment(gs, vm86->regs32.gs);
arch/x86/kernel/vm86_32.c
176
SYSCALL_DEFINE2(vm86, unsigned long, cmd, unsigned long, arg)
arch/x86/kernel/vm86_32.c
202
struct vm86 *vm86 = tsk->thread.vm86;
arch/x86/kernel/vm86_32.c
234
if (!vm86) {
arch/x86/kernel/vm86_32.c
235
if (!(vm86 = kzalloc_obj(*vm86)))
arch/x86/kernel/vm86_32.c
237
tsk->thread.vm86 = vm86;
arch/x86/kernel/vm86_32.c
239
if (vm86->saved_sp0)
arch/x86/kernel/vm86_32.c
273
vm86->flags = v.flags;
arch/x86/kernel/vm86_32.c
274
vm86->cpu_type = v.cpu_type;
arch/x86/kernel/vm86_32.c
276
if (copy_from_user(&vm86->int_revectored,
arch/x86/kernel/vm86_32.c
280
if (copy_from_user(&vm86->int21_revectored,
arch/x86/kernel/vm86_32.c
285
if (copy_from_user(&vm86->vm86plus, &user_vm86->vm86plus,
arch/x86/kernel/vm86_32.c
288
vm86->vm86plus.is_vm86pus = 1;
arch/x86/kernel/vm86_32.c
290
memset(&vm86->vm86plus, 0,
arch/x86/kernel/vm86_32.c
293
memcpy(&vm86->regs32, regs, sizeof(struct pt_regs));
arch/x86/kernel/vm86_32.c
294
vm86->user_vm86 = user_vm86;
arch/x86/kernel/vm86_32.c
308
switch (vm86->cpu_type) {
arch/x86/kernel/vm86_32.c
310
vm86->veflags_mask = 0;
arch/x86/kernel/vm86_32.c
313
vm86->veflags_mask = X86_EFLAGS_NT | X86_EFLAGS_IOPL;
arch/x86/kernel/vm86_32.c
316
vm86->veflags_mask = X86_EFLAGS_AC | X86_EFLAGS_NT | X86_EFLAGS_IOPL;
arch/x86/kernel/vm86_32.c
319
vm86->veflags_mask = X86_EFLAGS_ID | X86_EFLAGS_AC | X86_EFLAGS_NT | X86_EFLAGS_IOPL;
arch/x86/kernel/vm86_32.c
326
vm86->saved_sp0 = tsk->thread.sp0;
arch/x86/kernel/vm86_32.c
327
savesegment(gs, vm86->regs32.gs);
arch/x86/kernel/vm86_32.c
379
set_flags(VEFLAGS, flags, current->thread.vm86->veflags_mask);
arch/x86/kernel/vm86_32.c
389
set_flags(VFLAGS, flags, current->thread.vm86->veflags_mask);
arch/x86/kernel/vm86_32.c
404
return flags | (VEFLAGS & current->thread.vm86->veflags_mask);
arch/x86/kernel/vm86_32.c
499
struct vm86 *vm86 = current->thread.vm86;
arch/x86/kernel/vm86_32.c
503
if (is_revectored(i, &vm86->int_revectored))
arch/x86/kernel/vm86_32.c
505
if (i == 0x21 && is_revectored(AH(regs), &vm86->int21_revectored))
arch/x86/kernel/vm86_32.c
529
struct vm86 *vm86 = current->thread.vm86;
arch/x86/kernel/vm86_32.c
531
if (vm86->vm86plus.is_vm86pus) {
arch/x86/kernel/vm86_32.c
554
struct vm86plus_info_struct *vmpi = &current->thread.vm86->vm86plus;
arch/x86/kernel/vm86_32.c
87
#define VFLAGS (*(unsigned short *)&(current->thread.vm86->veflags))
arch/x86/kernel/vm86_32.c
88
#define VEFLAGS (current->thread.vm86->veflags)
kernel/sys_ni.c
292
COND_SYSCALL(vm86);
tools/testing/selftests/x86/entry_from_vm86.c
122
ret = vm86(VM86_ENTER, v86);
tools/testing/selftests/x86/entry_from_vm86.c
168
void do_umip_tests(struct vm86plus_struct *vm86, unsigned char *test_mem)
tools/testing/selftests/x86/entry_from_vm86.c
183
do_test(vm86, vmcode_umip - vmcode, VM86_TRAP, 3, "UMIP tests");
tools/testing/selftests/x86/entry_from_vm86.c
220
do_test(vm86, vmcode_umip_str - vmcode, VM86_SIGNAL, 0,
tools/testing/selftests/x86/entry_from_vm86.c
225
do_test(vm86, vmcode_umip_sldt - vmcode, VM86_SIGNAL, 0,