Home
last modified time | relevance | path

Searched refs:iopl (Results 1 – 8 of 8) sorted by relevance

/arch/x86/kernel/
Dioport.c96 SYSCALL_DEFINE1(iopl, unsigned int, level) in SYSCALL_DEFINE1() argument
105 unsigned int old = t->iopl >> X86_EFLAGS_IOPL_BIT; in SYSCALL_DEFINE1()
116 t->iopl = level << X86_EFLAGS_IOPL_BIT; in SYSCALL_DEFINE1()
117 set_iopl_mask(t->iopl); in SYSCALL_DEFINE1()
Dprocess_32.c286 if (get_kernel_rpl() && unlikely(prev->iopl != next->iopl)) in __switch_to()
287 set_iopl_mask(next->iopl); in __switch_to()
Dprocess_64.c435 prev->iopl != next->iopl)) in __switch_to()
436 xen_set_iopl_mask(next->iopl); in __switch_to()
/arch/x86/include/asm/
Dprocessor.h513 unsigned long iopl; member
/arch/x86/xen/
Denlighten.c964 set_iopl.iopl = (mask == 0) ? 1 : (mask >> 12) & 3; in xen_set_iopl_mask()
1702 set_iopl.iopl = 1; in xen_start_kernel()
/arch/x86/syscalls/
Dsyscall_64.tbl181 172 common iopl stub_iopl
Dsyscall_32.tbl119 110 i386 iopl sys_iopl
/arch/x86/kvm/
Demulate.c1733 int iopl = (ctxt->eflags & X86_EFLAGS_IOPL) >> IOPL_SHIFT; in emulate_popf() local
1749 if (cpl <= iopl) in emulate_popf()
1753 if (iopl < 3) in emulate_popf()
2444 int iopl; in emulator_bad_iopl() local
2449 iopl = (ctxt->eflags & X86_EFLAGS_IOPL) >> IOPL_SHIFT; in emulator_bad_iopl()
2450 return ctxt->ops->cpl(ctxt) > iopl; in emulator_bad_iopl()