Home
last modified time | relevance | path

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

/linux-6.12.1/arch/x86/include/asm/
Ddebugreg.h20 #define set_debugreg(value, register) \ macro
104 set_debugreg(0UL, 7); in hw_breakpoint_disable()
107 set_debugreg(0UL, 0); in hw_breakpoint_disable()
108 set_debugreg(0UL, 1); in hw_breakpoint_disable()
109 set_debugreg(0UL, 2); in hw_breakpoint_disable()
110 set_debugreg(0UL, 3); in hw_breakpoint_disable()
130 set_debugreg(0, 7); in local_db_save()
150 set_debugreg(dr7, 7); in local_db_restore()
Dsuspend_64.h58 set_debugreg((thread)->debugreg##register, register)
Dparavirt.h131 static __always_inline void set_debugreg(unsigned long val, int reg) in set_debugreg() function
133 PVOP_VCALL2(cpu.set_debugreg, reg, val); in set_debugreg()
Dparavirt_types.h58 void (*set_debugreg)(int regno, unsigned long value); member
/linux-6.12.1/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.c147 .cpu.set_debugreg = pv_native_set_debugreg,
Dtraps.c942 set_debugreg(DR6_RESERVED, 6); in debug_read_clear_dr6()
/linux-6.12.1/arch/x86/include/asm/xen/
Dhypercall.h287 return _hypercall2(int, set_debugreg, reg, value); in HYPERVISOR_set_debugreg()
/linux-6.12.1/arch/x86/xen/
Denlighten_pv.c1156 .set_debugreg = xen_set_debugreg,
/linux-6.12.1/arch/x86/kernel/cpu/
Dcommon.c2111 set_debugreg(0, i); in clear_all_debug_regs()
/linux-6.12.1/arch/x86/kvm/
Dx86.c10966 set_debugreg(0, 7); in vcpu_enter_guest()
10967 set_debugreg(vcpu->arch.eff_db[0], 0); in vcpu_enter_guest()
10968 set_debugreg(vcpu->arch.eff_db[1], 1); in vcpu_enter_guest()
10969 set_debugreg(vcpu->arch.eff_db[2], 2); in vcpu_enter_guest()
10970 set_debugreg(vcpu->arch.eff_db[3], 3); in vcpu_enter_guest()
10972 set_debugreg(0, 7); in vcpu_enter_guest()
/linux-6.12.1/arch/x86/kvm/vmx/
Dvmx.c5639 set_debugreg(DR6_RESERVED, 6); in vmx_sync_dirty_debug_regs()
7405 set_debugreg(vcpu->arch.dr6, 6); in vmx_vcpu_run()
Dnested.c3252 set_debugreg(__this_cpu_read(cpu_dr7), 7); in nested_vmx_check_vmentry_hw()