/linux-6.6.21/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 | 534 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/ |
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 | 161 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()
|
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 | signal.c | 278 regs->flags &= ~(X86_EFLAGS_DF|X86_EFLAGS_RF|X86_EFLAGS_TF); in handle_signal()
|
D | traps.c | 1003 regs->flags &= ~X86_EFLAGS_TF; in exc_debug_kernel()
|
/linux-6.6.21/arch/x86/mm/ |
D | kmmio.c | 299 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/ |
D | sighandling.h | 12 X86_EFLAGS_DF | X86_EFLAGS_TF | X86_EFLAGS_SF | \
|
/linux-6.6.21/arch/x86/entry/ |
D | common.c | 313 (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()
|
D | entry_64_compat.S | 115 testl $X86_EFLAGS_NT|X86_EFLAGS_AC|X86_EFLAGS_TF, EFLAGS(%rsp)
|
D | entry_64.S | 186 testq $(X86_EFLAGS_RF|X86_EFLAGS_TF), %r11
|
D | entry_32.S | 834 testl $X86_EFLAGS_NT|X86_EFLAGS_AC|X86_EFLAGS_TF, PT_EFLAGS(%esp)
|
/linux-6.6.21/arch/x86/include/uapi/asm/ |
D | processor-flags.h | 24 #define X86_EFLAGS_TF _BITUL(X86_EFLAGS_TF_BIT) macro
|
/linux-6.6.21/arch/x86/math-emu/ |
D | fpu_entry.c | 165 FPU_lookahead = !(FPU_EFLAGS & X86_EFLAGS_TF); in math_emulate()
|
/linux-6.6.21/arch/x86/kvm/svm/ |
D | svm.c | 1077 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()
|
D | nested.c | 1151 if (unlikely(vmcb01->save.rflags & X86_EFLAGS_TF)) in nested_svm_vmexit()
|
/linux-6.6.21/arch/x86/kvm/ |
D | emulate.c | 1875 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()
|
D | x86.c | 8429 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/ |
D | common.c | 2109 X86_EFLAGS_ZF|X86_EFLAGS_SF|X86_EFLAGS_TF| in syscall_init()
|