Home
last modified time | relevance | path

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

12

/linux-6.6.21/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.c534 set_eflags(get_eflags() | X86_EFLAGS_TF); in test_emulation()
536 set_eflags(get_eflags() & ~X86_EFLAGS_TF); in test_emulation()
/linux-6.6.21/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.c161 X86_EFLAGS_SF | X86_EFLAGS_TF | \
350 retval &= ~X86_EFLAGS_TF; in get_flags()
364 if (value & X86_EFLAGS_TF) in set_flags()
367 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()
Dsignal.c278 regs->flags &= ~(X86_EFLAGS_DF|X86_EFLAGS_RF|X86_EFLAGS_TF); in handle_signal()
Dtraps.c1003 regs->flags &= ~X86_EFLAGS_TF; in exc_debug_kernel()
/linux-6.6.21/arch/x86/mm/
Dkmmio.c299 ctx->saved_flags = (regs->flags & (X86_EFLAGS_TF | X86_EFLAGS_IF)); in kmmio_handler()
309 regs->flags |= X86_EFLAGS_TF; in kmmio_handler()
358 regs->flags &= ~X86_EFLAGS_TF; in post_kmmio_handler()
371 if (!(regs->flags & X86_EFLAGS_TF)) in post_kmmio_handler()
/linux-6.6.21/arch/x86/include/asm/
Dsighandling.h12 X86_EFLAGS_DF | X86_EFLAGS_TF | X86_EFLAGS_SF | \
/linux-6.6.21/arch/x86/entry/
Dcommon.c313 (regs->flags & (X86_EFLAGS_RF | X86_EFLAGS_TF)) == 0; in do_fast_syscall_32()
328 (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_64.S186 testq $(X86_EFLAGS_RF|X86_EFLAGS_TF), %r11
Dentry_32.S834 testl $X86_EFLAGS_NT|X86_EFLAGS_AC|X86_EFLAGS_TF, PT_EFLAGS(%esp)
/linux-6.6.21/arch/x86/include/uapi/asm/
Dprocessor-flags.h24 #define X86_EFLAGS_TF _BITUL(X86_EFLAGS_TF_BIT) macro
/linux-6.6.21/arch/x86/math-emu/
Dfpu_entry.c165 FPU_lookahead = !(FPU_EFLAGS & X86_EFLAGS_TF); in math_emulate()
/linux-6.6.21/arch/x86/kvm/svm/
Dsvm.c1077 if (!(svm->nmi_singlestep_guest_rflags & X86_EFLAGS_TF)) in disable_nmi_singlestep()
1078 svm->vmcb->save.rflags &= ~X86_EFLAGS_TF; in disable_nmi_singlestep()
1599 if (!(svm->nmi_singlestep_guest_rflags & X86_EFLAGS_TF)) in svm_get_rflags()
1600 rflags &= ~X86_EFLAGS_TF; in svm_get_rflags()
1610 rflags |= (X86_EFLAGS_TF | X86_EFLAGS_RF); in svm_set_rflags()
3895 svm->vmcb->save.rflags |= (X86_EFLAGS_TF | X86_EFLAGS_RF); in svm_enable_nmi_window()
Dnested.c1151 if (unlikely(vmcb01->save.rflags & X86_EFLAGS_TF)) in nested_svm_vmexit()
/linux-6.6.21/arch/x86/kvm/
Demulate.c1875 X86_EFLAGS_TF | X86_EFLAGS_DF | X86_EFLAGS_NT | in emulate_popf()
2034 ctxt->eflags &= ~(X86_EFLAGS_IF | X86_EFLAGS_TF | X86_EFLAGS_AC); in __emulate_int_real()
2101 X86_EFLAGS_ZF | X86_EFLAGS_SF | X86_EFLAGS_TF | in emulate_iret_real()
2453 ctxt->tf = (ctxt->eflags & X86_EFLAGS_TF) != 0; in em_syscall()
Dx86.c8429 ctxt->tf = (ctxt->eflags & X86_EFLAGS_TF) != 0; in init_emulate_ctxt()
8742 if (unlikely(rflags & X86_EFLAGS_TF)) in kvm_skip_emulated_instruction()
12959 rflags &= ~X86_EFLAGS_TF; in kvm_get_rflags()
12968 rflags |= X86_EFLAGS_TF; in __kvm_set_rflags()
/linux-6.6.21/arch/x86/kernel/cpu/
Dcommon.c2109 X86_EFLAGS_ZF|X86_EFLAGS_SF|X86_EFLAGS_TF| in syscall_init()

12