Home
last modified time | relevance | path

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

12

/linux-6.1.9/tools/testing/selftests/x86/
Dsingle_step_syscall.c75 if (get_eflags() & X86_EFLAGS_TF) { in sigtrap()
76 set_eflags(get_eflags() & ~X86_EFLAGS_TF); in sigtrap()
104 (unsigned long)ctx->uc_mcontext.gregs[REG_EFL] & X86_EFLAGS_TF); in print_and_longjmp()
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()
[all …]
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()
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()
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()
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-6.1.9/arch/x86/kernel/
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()
241 task_pt_regs(child)->flags &= ~X86_EFLAGS_TF; in user_disable_single_step()
Duprobes.c930 utask->autask.saved_tf = !!(regs->flags & X86_EFLAGS_TF); in arch_uprobe_pre_xol()
931 regs->flags |= X86_EFLAGS_TF; in arch_uprobe_pre_xol()
995 regs->flags &= ~X86_EFLAGS_TF; in arch_uprobe_post_xol()
1047 regs->flags &= ~X86_EFLAGS_TF; in arch_uprobe_abort_xol()
1060 if (ret && (regs->flags & X86_EFLAGS_TF)) in arch_uprobe_skip_sstep()
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()
Dptrace.c141 X86_EFLAGS_SF | X86_EFLAGS_TF | \
330 retval &= ~X86_EFLAGS_TF; in get_flags()
344 if (value & X86_EFLAGS_TF) in set_flags()
347 value |= X86_EFLAGS_TF; in set_flags()
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()
Dtraps.c1089 regs->flags &= ~X86_EFLAGS_TF; in exc_debug_kernel()
Dsignal.c838 regs->flags &= ~(X86_EFLAGS_DF|X86_EFLAGS_RF|X86_EFLAGS_TF); in handle_signal()
/linux-6.1.9/arch/x86/mm/
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-6.1.9/arch/x86/include/asm/
Dsighandling.h12 X86_EFLAGS_DF | X86_EFLAGS_TF | X86_EFLAGS_SF | \
/linux-6.1.9/arch/x86/entry/
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()
Dentry_64_compat.S115 testl $X86_EFLAGS_NT|X86_EFLAGS_AC|X86_EFLAGS_TF, EFLAGS(%rsp)
Dentry_32.S861 testl $X86_EFLAGS_NT|X86_EFLAGS_AC|X86_EFLAGS_TF, PT_EFLAGS(%esp)
Dentry_64.S186 testq $(X86_EFLAGS_RF|X86_EFLAGS_TF), %r11
/linux-6.1.9/arch/x86/include/uapi/asm/
Dprocessor-flags.h24 #define X86_EFLAGS_TF _BITUL(X86_EFLAGS_TF_BIT) macro
/linux-6.1.9/arch/x86/math-emu/
Dfpu_entry.c164 FPU_lookahead = !(FPU_EFLAGS & X86_EFLAGS_TF); in math_emulate()
/linux-6.1.9/arch/x86/kvm/svm/
Dsvm.c1003 if (!(svm->nmi_singlestep_guest_rflags & X86_EFLAGS_TF)) in disable_nmi_singlestep()
1004 svm->vmcb->save.rflags &= ~X86_EFLAGS_TF; in disable_nmi_singlestep()
1511 if (!(svm->nmi_singlestep_guest_rflags & X86_EFLAGS_TF)) in svm_get_rflags()
1512 rflags &= ~X86_EFLAGS_TF; in svm_get_rflags()
1522 rflags |= (X86_EFLAGS_TF | X86_EFLAGS_RF); in svm_set_rflags()
3719 svm->vmcb->save.rflags |= (X86_EFLAGS_TF | X86_EFLAGS_RF); in svm_enable_nmi_window()
Dnested.c1079 if (unlikely(vmcb01->save.rflags & X86_EFLAGS_TF)) in nested_svm_vmexit()
/linux-6.1.9/arch/x86/kvm/
Demulate.c1899 X86_EFLAGS_TF | X86_EFLAGS_DF | X86_EFLAGS_NT | in emulate_popf()
2058 ctxt->eflags &= ~(X86_EFLAGS_IF | X86_EFLAGS_TF | X86_EFLAGS_AC); in __emulate_int_real()
2125 X86_EFLAGS_ZF | X86_EFLAGS_SF | X86_EFLAGS_TF | in emulate_iret_real()
2797 ctxt->tf = (ctxt->eflags & X86_EFLAGS_TF) != 0; in em_syscall()
Dx86.c8321 ctxt->tf = (ctxt->eflags & X86_EFLAGS_TF) != 0; in init_emulate_ctxt()
8662 if (unlikely(rflags & X86_EFLAGS_TF)) in kvm_skip_emulated_instruction()
13011 rflags &= ~X86_EFLAGS_TF; in kvm_get_rflags()
13020 rflags |= X86_EFLAGS_TF; in __kvm_set_rflags()
/linux-6.1.9/arch/x86/kernel/cpu/
Dcommon.c2059 X86_EFLAGS_ZF|X86_EFLAGS_SF|X86_EFLAGS_TF| in syscall_init()

12