/linux-6.1.9/tools/testing/selftests/x86/ |
D | single_step_syscall.c | 75 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 …]
|
D | syscall_nt.c | 73 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()
|
D | syscall_arg_fault.c | 175 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()
|
D | unwind_vdso.c | 127 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()
|
D | test_vsyscall.c | 537 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/ |
D | step.c | 127 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()
|
D | uprobes.c | 930 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()
|
D | vm86_32.c | 358 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()
|
D | ptrace.c | 141 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()
|
D | kgdb.c | 457 linux_regs->flags &= ~X86_EFLAGS_TF; in kgdb_arch_handle_exception() 462 linux_regs->flags |= X86_EFLAGS_TF; in kgdb_arch_handle_exception()
|
D | traps.c | 1089 regs->flags &= ~X86_EFLAGS_TF; in exc_debug_kernel()
|
D | signal.c | 838 regs->flags &= ~(X86_EFLAGS_DF|X86_EFLAGS_RF|X86_EFLAGS_TF); in handle_signal()
|
/linux-6.1.9/arch/x86/mm/ |
D | kmmio.c | 294 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/ |
D | sighandling.h | 12 X86_EFLAGS_DF | X86_EFLAGS_TF | X86_EFLAGS_SF | \
|
/linux-6.1.9/arch/x86/entry/ |
D | common.c | 218 (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()
|
D | entry_64_compat.S | 115 testl $X86_EFLAGS_NT|X86_EFLAGS_AC|X86_EFLAGS_TF, EFLAGS(%rsp)
|
D | entry_32.S | 861 testl $X86_EFLAGS_NT|X86_EFLAGS_AC|X86_EFLAGS_TF, PT_EFLAGS(%esp)
|
D | entry_64.S | 186 testq $(X86_EFLAGS_RF|X86_EFLAGS_TF), %r11
|
/linux-6.1.9/arch/x86/include/uapi/asm/ |
D | processor-flags.h | 24 #define X86_EFLAGS_TF _BITUL(X86_EFLAGS_TF_BIT) macro
|
/linux-6.1.9/arch/x86/math-emu/ |
D | fpu_entry.c | 164 FPU_lookahead = !(FPU_EFLAGS & X86_EFLAGS_TF); in math_emulate()
|
/linux-6.1.9/arch/x86/kvm/svm/ |
D | svm.c | 1003 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()
|
D | nested.c | 1079 if (unlikely(vmcb01->save.rflags & X86_EFLAGS_TF)) in nested_svm_vmexit()
|
/linux-6.1.9/arch/x86/kvm/ |
D | emulate.c | 1899 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()
|
D | x86.c | 8321 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/ |
D | common.c | 2059 X86_EFLAGS_ZF|X86_EFLAGS_SF|X86_EFLAGS_TF| in syscall_init()
|