Home
last modified time | relevance | path

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

/linux-6.6.21/arch/x86/include/asm/
Ddebugreg.h17 #define set_debugreg(value, register) \ macro
101 set_debugreg(0UL, 7); in hw_breakpoint_disable()
104 set_debugreg(0UL, 0); in hw_breakpoint_disable()
105 set_debugreg(0UL, 1); in hw_breakpoint_disable()
106 set_debugreg(0UL, 2); in hw_breakpoint_disable()
107 set_debugreg(0UL, 3); in hw_breakpoint_disable()
127 set_debugreg(0, 7); in local_db_save()
147 set_debugreg(dr7, 7); in local_db_restore()
Dsuspend_64.h58 set_debugreg((thread)->debugreg##register, register)
Dparavirt.h127 static __always_inline void set_debugreg(unsigned long val, int reg) in set_debugreg() function
129 PVOP_VCALL2(cpu.set_debugreg, reg, val); in set_debugreg()
Dparavirt_types.h66 void (*set_debugreg)(int regno, unsigned long value); member
/linux-6.6.21/arch/x86/kernel/
Dhw_breakpoint.c116 set_debugreg(info->address, i); in arch_install_hw_breakpoint()
128 set_debugreg(*dr7, 7); in arch_install_hw_breakpoint()
167 set_debugreg(dr7, 7); in arch_uninstall_hw_breakpoint()
485 set_debugreg(__this_cpu_read(cpu_debugreg[0]), 0); in hw_breakpoint_restore()
486 set_debugreg(__this_cpu_read(cpu_debugreg[1]), 1); in hw_breakpoint_restore()
487 set_debugreg(__this_cpu_read(cpu_debugreg[2]), 2); in hw_breakpoint_restore()
488 set_debugreg(__this_cpu_read(cpu_debugreg[3]), 3); in hw_breakpoint_restore()
489 set_debugreg(DR6_RESERVED, 6); in hw_breakpoint_restore()
490 set_debugreg(__this_cpu_read(cpu_dr7), 7); in hw_breakpoint_restore()
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.c190 .cpu.set_debugreg = pv_native_set_debugreg,
Dtraps.c891 set_debugreg(DR6_RESERVED, 6); in debug_read_clear_dr6()
/linux-6.6.21/arch/x86/include/asm/xen/
Dhypercall.h287 return _hypercall2(int, set_debugreg, reg, value); in HYPERVISOR_set_debugreg()
/linux-6.6.21/arch/x86/xen/
Denlighten_pv.c1144 .set_debugreg = xen_set_debugreg,
/linux-6.6.21/arch/x86/kernel/cpu/
Dcommon.c2136 set_debugreg(0, i); in clear_all_debug_regs()
/linux-6.6.21/arch/x86/kvm/
Dx86.c10756 set_debugreg(0, 7); in vcpu_enter_guest()
10757 set_debugreg(vcpu->arch.eff_db[0], 0); in vcpu_enter_guest()
10758 set_debugreg(vcpu->arch.eff_db[1], 1); in vcpu_enter_guest()
10759 set_debugreg(vcpu->arch.eff_db[2], 2); in vcpu_enter_guest()
10760 set_debugreg(vcpu->arch.eff_db[3], 3); in vcpu_enter_guest()
10762 set_debugreg(0, 7); in vcpu_enter_guest()
/linux-6.6.21/arch/x86/kvm/vmx/
Dvmx.c5608 set_debugreg(DR6_RESERVED, 6); in vmx_sync_dirty_debug_regs()
7352 set_debugreg(vcpu->arch.dr6, 6); in vmx_vcpu_run()
Dnested.c3147 set_debugreg(__this_cpu_read(cpu_dr7), 7); in nested_vmx_check_vmentry_hw()