Home
last modified time | relevance | path

Searched refs:set_debugreg (Results 1 – 14 of 14) sorted by relevance

/Linux-v5.4/arch/x86/include/asm/
Ddebugreg.h17 #define set_debugreg(value, register) \ macro
79 set_debugreg(0UL, 7); in hw_breakpoint_disable()
82 set_debugreg(0UL, 0); in hw_breakpoint_disable()
83 set_debugreg(0UL, 1); in hw_breakpoint_disable()
84 set_debugreg(0UL, 2); in hw_breakpoint_disable()
85 set_debugreg(0UL, 3); in hw_breakpoint_disable()
Dsuspend_64.h54 set_debugreg((thread)->debugreg##register, register)
Dparavirt.h102 static inline void set_debugreg(unsigned long val, int reg) in set_debugreg() function
104 PVOP_VCALL2(cpu.set_debugreg, reg, val); in set_debugreg()
Dparavirt_types.h115 void (*set_debugreg)(int regno, unsigned long value); member
/Linux-v5.4/arch/x86/kernel/
Dhw_breakpoint.c112 set_debugreg(info->address, i); in arch_install_hw_breakpoint()
118 set_debugreg(*dr7, 7); in arch_install_hw_breakpoint()
155 set_debugreg(*dr7, 7); in arch_uninstall_hw_breakpoint()
413 set_debugreg(__this_cpu_read(cpu_debugreg[0]), 0); in hw_breakpoint_restore()
414 set_debugreg(__this_cpu_read(cpu_debugreg[1]), 1); in hw_breakpoint_restore()
415 set_debugreg(__this_cpu_read(cpu_debugreg[2]), 2); in hw_breakpoint_restore()
416 set_debugreg(__this_cpu_read(cpu_debugreg[3]), 3); in hw_breakpoint_restore()
417 set_debugreg(current->thread.debugreg6, 6); in hw_breakpoint_restore()
418 set_debugreg(__this_cpu_read(cpu_dr7), 7); in hw_breakpoint_restore()
459 set_debugreg(0UL, 7); in hw_breakpoint_handler()
[all …]
Dkgdb.c201 set_debugreg(breakinfo[breakno].addr, breakno); in kgdb_correct_hw_break()
205 set_debugreg(early_dr7, 7); in kgdb_correct_hw_break()
388 set_debugreg(0UL, 7); in kgdb_disable_hw_debug()
Dparavirt.c310 .cpu.set_debugreg = native_set_debugreg,
Dtraps.c730 set_debugreg(0, 6); in do_debug()
/Linux-v5.4/tools/lib/traceevent/plugins/
Dplugin_xen.c64 N(set_debugreg),
/Linux-v5.4/arch/x86/include/asm/xen/
Dhypercall.h314 return _hypercall2(int, set_debugreg, reg, value); in HYPERVISOR_set_debugreg()
/Linux-v5.4/arch/x86/xen/
Denlighten_pv.c1016 .set_debugreg = xen_set_debugreg,
/Linux-v5.4/arch/x86/kvm/
Dx86.c3525 set_debugreg(0, 6); in kvm_arch_vcpu_put()
8170 set_debugreg(0, 7); in vcpu_enter_guest()
8171 set_debugreg(vcpu->arch.eff_db[0], 0); in vcpu_enter_guest()
8172 set_debugreg(vcpu->arch.eff_db[1], 1); in vcpu_enter_guest()
8173 set_debugreg(vcpu->arch.eff_db[2], 2); in vcpu_enter_guest()
8174 set_debugreg(vcpu->arch.eff_db[3], 3); in vcpu_enter_guest()
8175 set_debugreg(vcpu->arch.dr6, 6); in vcpu_enter_guest()
/Linux-v5.4/arch/x86/kernel/cpu/
Dcommon.c1751 set_debugreg(0, i); in clear_all_debug_regs()
/Linux-v5.4/arch/x86/kvm/vmx/
Dnested.c2901 set_debugreg(__this_cpu_read(cpu_dr7), 7); in nested_vmx_check_vmentry_hw()