Home
last modified time | relevance | path

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

/linux-6.6.21/arch/x86/include/asm/
Dtraps.h53 if (regs->flags & X86_EFLAGS_IF) in cond_local_irq_enable()
59 if (regs->flags & X86_EFLAGS_IF) in cond_local_irq_disable()
Dirqflags.h122 return !(flags & X86_EFLAGS_IF); in arch_irqs_disabled_flags()
Dptrace.h236 return !(regs->flags & X86_EFLAGS_IF); in regs_irqs_disabled()
Defi.h32 #define ARCH_EFI_IRQ_FLAGS_MASK X86_EFLAGS_IF
/linux-6.6.21/tools/testing/selftests/x86/
Dentry_from_vm86.c301 v86.regs.eflags &= ~X86_EFLAGS_IF; in main()
311 v86.regs.eax = X86_EFLAGS_IF; in main()
316 v86.regs.eax = X86_EFLAGS_IF; in main()
Dsyscall_nt.c44 set_eflags(X86_EFLAGS_IF | X86_EFLAGS_FIXED); in do_it()
/linux-6.6.21/arch/x86/kernel/kprobes/
Dcore.c470 regs->flags &= ~(X86_EFLAGS_IF); in kprobe_emulate_ifmodifiers()
473 regs->flags |= X86_EFLAGS_IF; in kprobe_emulate_ifmodifiers()
821 = (regs->flags & X86_EFLAGS_IF); in set_current_kprobe()
878 regs->flags &= ~X86_EFLAGS_IF; in setup_singlestep()
/linux-6.6.21/arch/x86/kernel/
Dvm86_32.c382 if (flags & X86_EFLAGS_IF) in set_vflags_long()
392 if (flags & X86_EFLAGS_IF) in set_vflags_short()
403 flags |= X86_EFLAGS_IF; in get_vflags()
695 if (vmpi->force_return_for_pic && (VEFLAGS & (X86_EFLAGS_IF | X86_EFLAGS_VIF))) { in handle_vm86_fault()
Dprocess_32.c122 regs->flags = X86_EFLAGS_IF; in start_thread()
Dtraps.c235 if (regs->flags & X86_EFLAGS_IF) in handle_bug()
242 if (regs->flags & X86_EFLAGS_IF) in handle_bug()
Dprocess_64.c529 regs->flags = X86_EFLAGS_IF; in start_thread_common()
Dkvm.c272 if (unlikely(!(regs->flags & X86_EFLAGS_IF))) in __kvm_handle_async_pf()
/linux-6.6.21/arch/x86/mm/
Dkmmio.c299 ctx->saved_flags = (regs->flags & (X86_EFLAGS_TF | X86_EFLAGS_IF)); in kmmio_handler()
310 regs->flags &= ~X86_EFLAGS_IF; in kmmio_handler()
Dfault.c1316 if (regs->flags & X86_EFLAGS_IF) in do_user_addr_fault()
/linux-6.6.21/arch/x86/include/uapi/asm/
Dprocessor-flags.h26 #define X86_EFLAGS_IF _BITUL(X86_EFLAGS_IF_BIT) macro
/linux-6.6.21/arch/x86/entry/
Dcommon.c339 regs->flags |= X86_EFLAGS_IF; in do_SYSENTER_32()
Dentry_64.S321 testl $X86_EFLAGS_IF, %eax
/linux-6.6.21/arch/x86/kvm/
Dx86.h486 .flags = X86_EFLAGS_IF, in kvm_machine_check()
Demulate.c1069 flags = (flags & EFLAGS_MASK) | X86_EFLAGS_IF; in test_cc()
1885 change_mask |= X86_EFLAGS_IF; in emulate_popf()
1890 change_mask |= X86_EFLAGS_IF; in emulate_popf()
1893 change_mask |= (X86_EFLAGS_IOPL | X86_EFLAGS_IF); in emulate_popf()
2034 ctxt->eflags &= ~(X86_EFLAGS_IF | X86_EFLAGS_TF | X86_EFLAGS_AC); in __emulate_int_real()
2102 X86_EFLAGS_IF | X86_EFLAGS_DF | X86_EFLAGS_OF | in emulate_iret_real()
2450 ctxt->eflags &= ~(X86_EFLAGS_VM | X86_EFLAGS_IF); in em_syscall()
2487 ctxt->eflags &= ~(X86_EFLAGS_VM | X86_EFLAGS_IF); in em_sysenter()
3607 ctxt->eflags &= ~X86_EFLAGS_IF; in em_cli()
3617 ctxt->eflags |= X86_EFLAGS_IF; in em_sti()
[all …]
Dx86.c9055 if (unlikely((ctxt->eflags & ~rflags) & X86_EFLAGS_IF)) in x86_emulate_instruction()
/linux-6.6.21/arch/x86/kvm/svm/
Dsvm.c1626 : kvm_get_rflags(vcpu) & X86_EFLAGS_IF; in svm_get_if_flag()
3789 ? !(svm->vmcb01.ptr->save.rflags & X86_EFLAGS_IF) in svm_interrupt_blocked()
3790 : !(kvm_get_rflags(vcpu) & X86_EFLAGS_IF)) in svm_interrupt_blocked()
Dnested.c152 if (!(svm->vmcb01.ptr->save.rflags & X86_EFLAGS_IF)) in recalc_intercepts()
/linux-6.6.21/arch/x86/kernel/cpu/
Dcommon.c2110 X86_EFLAGS_IF|X86_EFLAGS_DF|X86_EFLAGS_OF| in syscall_init()
/linux-6.6.21/arch/x86/kvm/vmx/
Dvmx.c1565 return vmx_get_rflags(vcpu) & X86_EFLAGS_IF; in vmx_get_if_flag()
5056 return !(vmx_get_rflags(vcpu) & X86_EFLAGS_IF) || in vmx_interrupt_blocked()
Dnested.c3665 (vmcs12->guest_rflags & X86_EFLAGS_IF))) { in nested_vmx_run()