Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/x86/
A Dsingle_step_syscall.c75 if (get_eflags() & X86_EFLAGS_TF) { in sigtrap()
76 set_eflags(get_eflags() & ~X86_EFLAGS_TF); in sigtrap()
113 set_eflags(new_eflags & ~X86_EFLAGS_TF); in check_result()
120 if (!(new_eflags & X86_EFLAGS_TF)) { in check_result()
134 if (get_eflags() & X86_EFLAGS_TF) { in fast_syscall_no_tf()
154 set_eflags(get_eflags() | X86_EFLAGS_TF); in main()
160 set_eflags(get_eflags() | X86_EFLAGS_TF); in main()
171 set_eflags(get_eflags() | X86_EFLAGS_TF); in main()
194 set_eflags(get_eflags() | X86_EFLAGS_TF); in main()
220 set_eflags(get_eflags() | X86_EFLAGS_TF); in main()
[all …]
A Dsyscall_nt.c73 do_it(X86_EFLAGS_TF); in main()
76 do_it(X86_EFLAGS_NT | X86_EFLAGS_TF); in main()
79 do_it(X86_EFLAGS_AC | X86_EFLAGS_TF); in main()
82 do_it(X86_EFLAGS_NT | X86_EFLAGS_AC | X86_EFLAGS_TF); in main()
93 do_it(X86_EFLAGS_TF | X86_EFLAGS_DF); in main()
A Dsyscall_arg_fault.c175 set_eflags(get_eflags() | X86_EFLAGS_TF); in main()
188 set_eflags(get_eflags() & ~X86_EFLAGS_TF); in main()
193 set_eflags(get_eflags() | X86_EFLAGS_TF); in main()
207 set_eflags(get_eflags() & ~X86_EFLAGS_TF); in main()
218 set_eflags(get_eflags() | X86_EFLAGS_TF); in main()
231 set_eflags(get_eflags() & ~X86_EFLAGS_TF); in main()
A Dunwind_vdso.c127 ctx->uc_mcontext.gregs[REG_EFL] &= ~X86_EFLAGS_TF; in sigtrap()
156 set_eflags(get_eflags() | X86_EFLAGS_TF); in main()
159 set_eflags(get_eflags() & ~X86_EFLAGS_TF); in main()
169 if (get_eflags() & X86_EFLAGS_TF) { in main()
A Dtest_vsyscall.c537 set_eflags(get_eflags() | X86_EFLAGS_TF); in test_emulation()
539 set_eflags(get_eflags() & ~X86_EFLAGS_TF); in test_emulation()
/linux/arch/x86/kernel/
A Dstep.c127 regs->flags |= X86_EFLAGS_TF; in enable_single_step()
144 regs->flags |= X86_EFLAGS_TF; in enable_single_step()
164 if (oflags & X86_EFLAGS_TF) in enable_single_step()
242 task_pt_regs(child)->flags &= ~X86_EFLAGS_TF; in user_disable_single_step()
A Duprobes.c928 utask->autask.saved_tf = !!(regs->flags & X86_EFLAGS_TF); in arch_uprobe_pre_xol()
929 regs->flags |= X86_EFLAGS_TF; in arch_uprobe_pre_xol()
993 regs->flags &= ~X86_EFLAGS_TF; in arch_uprobe_post_xol()
1045 regs->flags &= ~X86_EFLAGS_TF; in arch_uprobe_abort_xol()
1058 if (ret && (regs->flags & X86_EFLAGS_TF)) in arch_uprobe_skip_sstep()
A Dptrace.c142 X86_EFLAGS_SF | X86_EFLAGS_TF | \
331 retval &= ~X86_EFLAGS_TF; in get_flags()
345 if (value & X86_EFLAGS_TF) in set_flags()
348 value |= X86_EFLAGS_TF; in set_flags()
A Dvm86_32.c358 regs->pt.flags &= ~X86_EFLAGS_TF; in clear_TF()
559 newflags |= X86_EFLAGS_TF in handle_vm86_fault()
699 if (orig_flags & X86_EFLAGS_TF) in handle_vm86_fault()
A Dkgdb.c457 linux_regs->flags &= ~X86_EFLAGS_TF; in kgdb_arch_handle_exception()
462 linux_regs->flags |= X86_EFLAGS_TF; in kgdb_arch_handle_exception()
A Dtraps.c948 regs->flags &= ~X86_EFLAGS_TF; in exc_debug_kernel()
A Dsignal.c837 regs->flags &= ~(X86_EFLAGS_DF|X86_EFLAGS_RF|X86_EFLAGS_TF); in handle_signal()
/linux/arch/x86/mm/
A Dkmmio.c294 ctx->saved_flags = (regs->flags & (X86_EFLAGS_TF | X86_EFLAGS_IF)); in kmmio_handler()
304 regs->flags |= X86_EFLAGS_TF; in kmmio_handler()
354 regs->flags &= ~X86_EFLAGS_TF; in post_kmmio_handler()
368 if (!(regs->flags & X86_EFLAGS_TF)) in post_kmmio_handler()
/linux/arch/x86/entry/
A Dcommon.c218 (regs->flags & (X86_EFLAGS_RF | X86_EFLAGS_TF)) == 0; in do_fast_syscall_32()
233 (regs->flags & (X86_EFLAGS_RF | X86_EFLAGS_TF | X86_EFLAGS_VM)) == 0; in do_fast_syscall_32()
A Dentry_64_compat.S134 testl $X86_EFLAGS_NT|X86_EFLAGS_AC|X86_EFLAGS_TF, EFLAGS(%rsp)
A Dentry_64.S179 testq $(X86_EFLAGS_RF|X86_EFLAGS_TF), %r11
A Dentry_32.S866 testl $X86_EFLAGS_NT|X86_EFLAGS_AC|X86_EFLAGS_TF, PT_EFLAGS(%esp)
/linux/arch/x86/include/asm/
A Dsighandling.h12 X86_EFLAGS_DF | X86_EFLAGS_TF | X86_EFLAGS_SF | \
/linux/arch/x86/include/uapi/asm/
A Dprocessor-flags.h24 #define X86_EFLAGS_TF _BITUL(X86_EFLAGS_TF_BIT) macro
/linux/arch/x86/math-emu/
A Dfpu_entry.c164 FPU_lookahead = !(FPU_EFLAGS & X86_EFLAGS_TF); in math_emulate()
/linux/arch/x86/kvm/svm/
A Dsvm.c831 if (!(svm->nmi_singlestep_guest_rflags & X86_EFLAGS_TF)) in disable_nmi_singlestep()
832 svm->vmcb->save.rflags &= ~X86_EFLAGS_TF; in disable_nmi_singlestep()
1567 if (!(svm->nmi_singlestep_guest_rflags & X86_EFLAGS_TF)) in svm_get_rflags()
1568 rflags &= ~X86_EFLAGS_TF; in svm_get_rflags()
1578 rflags |= (X86_EFLAGS_TF | X86_EFLAGS_RF); in svm_set_rflags()
3657 svm->vmcb->save.rflags |= (X86_EFLAGS_TF | X86_EFLAGS_RF); in svm_enable_nmi_window()
A Dnested.c904 if (unlikely(svm->vmcb->save.rflags & X86_EFLAGS_TF)) in nested_svm_vmexit()
/linux/arch/x86/kernel/cpu/
A Dcommon.c1821 X86_EFLAGS_ZF|X86_EFLAGS_SF|X86_EFLAGS_TF| in syscall_init()
/linux/arch/x86/kvm/
A Demulate.c1832 X86_EFLAGS_TF | X86_EFLAGS_DF | X86_EFLAGS_NT | in emulate_popf()
1991 ctxt->eflags &= ~(X86_EFLAGS_IF | X86_EFLAGS_TF | X86_EFLAGS_AC); in __emulate_int_real()
2058 X86_EFLAGS_ZF | X86_EFLAGS_SF | X86_EFLAGS_TF | in emulate_iret_real()
2734 ctxt->tf = (ctxt->eflags & X86_EFLAGS_TF) != 0; in em_syscall()
A Dx86.c7633 ctxt->tf = (ctxt->eflags & X86_EFLAGS_TF) != 0; in init_emulate_ctxt()
7972 if (unlikely(rflags & X86_EFLAGS_TF)) in kvm_skip_emulated_instruction()
11923 rflags &= ~X86_EFLAGS_TF; in kvm_get_rflags()
11932 rflags |= X86_EFLAGS_TF; in __kvm_set_rflags()

Completed in 80 milliseconds