Home
last modified time | relevance | path

Searched refs:X86_EFLAGS_IF (Results 1 – 25 of 26) sorted by relevance

12

/linux-2.6.39/arch/x86/kernel/
Dvsmp_64.c36 if (!(flags & X86_EFLAGS_IF) || (flags & X86_EFLAGS_AC)) in vsmp_save_fl()
37 flags &= ~X86_EFLAGS_IF; in vsmp_save_fl()
44 if (flags & X86_EFLAGS_IF) in vsmp_restore_fl()
56 native_restore_fl((flags & ~X86_EFLAGS_IF) | X86_EFLAGS_AC); in vsmp_irq_disable()
64 native_restore_fl((flags | X86_EFLAGS_IF) & (~X86_EFLAGS_AC)); in vsmp_irq_enable()
Dtraps.c95 if (regs->flags & X86_EFLAGS_IF) in conditional_sti()
102 if (regs->flags & X86_EFLAGS_IF) in preempt_conditional_sti()
108 if (regs->flags & X86_EFLAGS_IF) in conditional_cli()
114 if (regs->flags & X86_EFLAGS_IF) in preempt_conditional_cli()
498 else if (eregs->flags & X86_EFLAGS_IF) in sync_regs()
Dvm86_32.c404 if (flags & X86_EFLAGS_IF) in set_vflags_long()
414 if (flags & X86_EFLAGS_IF) in set_vflags_short()
425 flags |= X86_EFLAGS_IF; in get_vflags()
586 if (VMPI.force_return_for_pic && (VEFLAGS & (X86_EFLAGS_IF | X86_EFLAGS_VIF))) \ in handle_vm86_fault()
Dkprobes.c417 = (regs->flags & (X86_EFLAGS_TF | X86_EFLAGS_IF)); in set_current_kprobe()
419 kcb->kprobe_saved_flags &= ~X86_EFLAGS_IF; in set_current_kprobe()
491 regs->flags &= ~X86_EFLAGS_IF; in setup_singlestep()
830 *tos &= ~(X86_EFLAGS_TF | X86_EFLAGS_IF); in resume_execution()
1055 regs->flags &= ~X86_EFLAGS_IF; in setjmp_pre_handler()
Dprocess.c296 regs.flags = X86_EFLAGS_IF | 0x2; in kernel_thread()
Dprocess_64.c340 regs->flags = X86_EFLAGS_IF; in start_thread_common()
Dentry_32.S94 testl $X86_EFLAGS_IF,PT_EFLAGS(%esp) # interrupts off?
392 orl $X86_EFLAGS_IF, (%esp)
Dentry_64.S222 pushq_cfi $X86_EFLAGS_IF /* eflags - interrupts on */
/linux-2.6.39/arch/x86/xen/
Dirq.c38 return (-flags) & X86_EFLAGS_IF; in xen_save_fl()
47 flags = !(flags & X86_EFLAGS_IF); in xen_restore_fl()
Dxen-asm.S86 testw $X86_EFLAGS_IF, %di
88 testb $X86_EFLAGS_IF>>8, %ah
Dxen-asm_32.S44 orl $X86_EFLAGS_IF, PT_EFLAGS(%esp)
99 testb $X86_EFLAGS_IF>>8, 8+1+ESP_OFFSET(%esp)
Dxen-asm_64.S57 pushq $X86_EFLAGS_IF
/linux-2.6.39/arch/x86/mm/kmemcheck/
Dkmemcheck.c215 regs->flags &= ~X86_EFLAGS_IF; in kmemcheck_show()
236 if (data->flags & X86_EFLAGS_IF) in kmemcheck_hide()
237 regs->flags |= X86_EFLAGS_IF; in kmemcheck_hide()
255 if (data->flags & X86_EFLAGS_IF) in kmemcheck_hide()
256 regs->flags |= X86_EFLAGS_IF; in kmemcheck_hide()
/linux-2.6.39/drivers/lguest/
Dinterrupts_and_traps.c117 && !(irq_enable & X86_EFLAGS_IF)) in set_guest_interrupt()
118 eflags &= ~X86_EFLAGS_IF; in set_guest_interrupt()
204 if (put_user(X86_EFLAGS_IF, &cpu->lg->lguest_data->irq_enabled)) in try_deliver_interrupt()
214 put_user(X86_EFLAGS_IF, in try_deliver_interrupt()
/linux-2.6.39/arch/x86/include/asm/
Dprocessor-flags.h14 #define X86_EFLAGS_IF 0x00000200 /* Interrupt Flag */ macro
Dirqflags.h156 return !(flags & X86_EFLAGS_IF); in arch_irqs_disabled_flags()
/linux-2.6.39/arch/x86/lguest/
Di386_head.S71 movl $X86_EFLAGS_IF, lguest_data+LGUEST_DATA_irq_enabled
/linux-2.6.39/arch/x86/mm/
Dkmmio.c272 ctx->saved_flags = (regs->flags & (X86_EFLAGS_TF | X86_EFLAGS_IF)); in kmmio_handler()
283 regs->flags &= ~X86_EFLAGS_IF; in kmmio_handler()
Dfault.c1039 if (regs->flags & X86_EFLAGS_IF) in do_page_fault()
/linux-2.6.39/drivers/lguest/x86/
Dcore.c777 regs->eflags = X86_EFLAGS_IF | 0x2; in lguest_arch_setup_regs()
/linux-2.6.39/arch/x86/kernel/cpu/
Dcommon.c1062 X86_EFLAGS_TF|X86_EFLAGS_DF|X86_EFLAGS_IF|X86_EFLAGS_IOPL); in syscall_init()
/linux-2.6.39/arch/x86/kvm/
Dvmx.c2988 return (vmcs_readl(GUEST_RFLAGS) & X86_EFLAGS_IF) && in vmx_interrupt_allowed()
3071 .flags = X86_EFLAGS_IF, in kvm_machine_check()
3698 && (kvm_get_rflags(&vmx->vcpu) & X86_EFLAGS_IF)) in handle_invalid_guest_state()
Dsvm.c2326 if (svm->vmcb->save.rflags & X86_EFLAGS_IF) in nested_svm_vmrun()
3387 ret = !!(vmcb->save.rflags & X86_EFLAGS_IF); in svm_interrupt_allowed()
Demulate.c3351 ctxt->eflags &= ~X86_EFLAGS_IF; in x86_emulate_insn()
3359 ctxt->eflags |= X86_EFLAGS_IF; in x86_emulate_insn()
/linux-2.6.39/arch/x86/kernel/cpu/mcheck/
Dmce.c491 if (regs->flags & (X86_VM_MASK|X86_EFLAGS_IF)) { in mce_report_event()

12