Searched refs:X86_EFLAGS_TF (Results 1 - 20 of 20) sorted by relevance

/linux-4.1.27/tools/testing/selftests/x86/
H A Dsingle_step_syscall.c77 #define X86_EFLAGS_TF (1UL << 8) macro
83 if (get_eflags() & X86_EFLAGS_TF) { sigtrap()
84 set_eflags(get_eflags() & ~X86_EFLAGS_TF); sigtrap()
102 set_eflags(new_eflags & ~X86_EFLAGS_TF); check_result()
109 if (!(new_eflags & X86_EFLAGS_TF)) { check_result()
125 set_eflags(get_eflags() | X86_EFLAGS_TF); main()
131 set_eflags(get_eflags() | X86_EFLAGS_TF); main()
142 set_eflags(get_eflags() | X86_EFLAGS_TF); main()
163 set_eflags(get_eflags() | X86_EFLAGS_TF); main()
170 if (get_eflags() & X86_EFLAGS_TF) { main()
/linux-4.1.27/arch/x86/include/asm/
H A Dsighandling.h11 X86_EFLAGS_DF | X86_EFLAGS_TF | X86_EFLAGS_SF | \
/linux-4.1.27/arch/x86/kernel/
H A Dstep.c122 regs->flags |= X86_EFLAGS_TF; enable_single_step()
134 regs->flags |= X86_EFLAGS_TF; enable_single_step()
154 if (oflags & X86_EFLAGS_TF) enable_single_step()
231 task_pt_regs(child)->flags &= ~X86_EFLAGS_TF; user_disable_single_step()
H A Duprobes.c837 utask->autask.saved_tf = !!(regs->flags & X86_EFLAGS_TF); arch_uprobe_pre_xol()
838 regs->flags |= X86_EFLAGS_TF; arch_uprobe_pre_xol()
902 regs->flags &= ~X86_EFLAGS_TF; arch_uprobe_post_xol()
952 regs->flags &= ~X86_EFLAGS_TF; arch_uprobe_abort_xol()
965 if (ret && (regs->flags & X86_EFLAGS_TF)) arch_uprobe_skip_sstep()
H A Dvm86_32.c376 regs->pt.flags &= ~X86_EFLAGS_TF; clear_TF()
580 newflags |= X86_EFLAGS_TF handle_vm86_fault()
584 if (orig_flags & X86_EFLAGS_TF) \ handle_vm86_fault()
H A Dptrace.c155 X86_EFLAGS_SF | X86_EFLAGS_TF | \
389 retval &= ~X86_EFLAGS_TF; get_flags()
403 if (value & X86_EFLAGS_TF) set_flags()
406 value |= X86_EFLAGS_TF; set_flags()
1567 regs->flags |= X86_EFLAGS_TF; syscall_trace_enter_phase2()
H A Dkgdb.c477 linux_regs->flags &= ~X86_EFLAGS_TF; kgdb_arch_handle_exception()
482 linux_regs->flags |= X86_EFLAGS_TF; kgdb_arch_handle_exception()
H A Dsignal.c660 regs->flags &= ~(X86_EFLAGS_DF|X86_EFLAGS_RF|X86_EFLAGS_TF); handle_signal()
H A Dtraps.c691 regs->flags &= ~X86_EFLAGS_TF; do_debug()
H A Dentry_64.S464 testq $(X86_EFLAGS_RF|X86_EFLAGS_TF), %r11
/linux-4.1.27/arch/x86/mm/kmemcheck/
H A Dkmemcheck.c217 if (!(regs->flags & X86_EFLAGS_TF)) kmemcheck_show()
220 regs->flags |= X86_EFLAGS_TF; kmemcheck_show()
240 if (!(data->flags & X86_EFLAGS_TF)) kmemcheck_hide()
241 regs->flags &= ~X86_EFLAGS_TF; kmemcheck_hide()
259 if (!(data->flags & X86_EFLAGS_TF)) kmemcheck_hide()
260 regs->flags &= ~X86_EFLAGS_TF; kmemcheck_hide()
/linux-4.1.27/arch/x86/mm/
H A Dkmmio.c271 ctx->saved_flags = (regs->flags & (X86_EFLAGS_TF | X86_EFLAGS_IF)); kmmio_handler()
281 regs->flags |= X86_EFLAGS_TF; kmmio_handler()
335 regs->flags &= ~X86_EFLAGS_TF; post_kmmio_handler()
349 if (!(regs->flags & X86_EFLAGS_TF)) post_kmmio_handler()
/linux-4.1.27/arch/x86/include/uapi/asm/
H A Dprocessor-flags.h23 #define X86_EFLAGS_TF _BITUL(X86_EFLAGS_TF_BIT) macro
/linux-4.1.27/arch/x86/kernel/kprobes/
H A Dcore.c487 = (regs->flags & (X86_EFLAGS_TF | X86_EFLAGS_IF)); set_current_kprobe()
552 regs->flags |= X86_EFLAGS_TF; setup_singlestep()
837 regs->flags &= ~X86_EFLAGS_TF; resume_execution()
840 *tos &= ~(X86_EFLAGS_TF | X86_EFLAGS_IF); resume_execution()
938 if (regs->flags & X86_EFLAGS_TF) kprobe_debug_handler()
/linux-4.1.27/drivers/lguest/
H A Dinterrupts_and_traps.c161 ~(X86_EFLAGS_TF|X86_EFLAGS_VM|X86_EFLAGS_RF|X86_EFLAGS_NT); guest_run_interrupt()
187 ~(X86_EFLAGS_TF|X86_EFLAGS_VM|X86_EFLAGS_RF|X86_EFLAGS_NT); restore_eflags()
/linux-4.1.27/arch/x86/math-emu/
H A Dfpu_entry.c205 FPU_lookahead = !(FPU_EFLAGS & X86_EFLAGS_TF); math_emulate()
/linux-4.1.27/arch/x86/kernel/cpu/
H A Dcommon.c1232 X86_EFLAGS_TF|X86_EFLAGS_DF|X86_EFLAGS_IF| syscall_init()
/linux-4.1.27/arch/x86/kvm/
H A Dx86.c5307 if (unlikely(rflags & X86_EFLAGS_TF)) { kvm_vcpu_check_singlestep()
5316 vcpu->arch.emulate_ctxt.eflags &= ~X86_EFLAGS_TF; kvm_vcpu_check_singlestep()
7794 rflags &= ~X86_EFLAGS_TF; kvm_get_rflags()
7803 rflags |= X86_EFLAGS_TF; __kvm_set_rflags()
H A Demulate.c1806 X86_EFLAGS_TF | X86_EFLAGS_DF | X86_EFLAGS_NT | emulate_popf()
1965 ctxt->eflags &= ~(X86_EFLAGS_IF | X86_EFLAGS_TF | X86_EFLAGS_AC); __emulate_int_real()
2032 X86_EFLAGS_ZF | X86_EFLAGS_SF | X86_EFLAGS_TF | emulate_iret_real()
H A Dsvm.c1753 ~(X86_EFLAGS_TF | X86_EFLAGS_RF); db_interception()
3746 svm->vmcb->save.rflags |= (X86_EFLAGS_TF | X86_EFLAGS_RF); enable_nmi_window()

Completed in 595 milliseconds