Home
last modified time | relevance | path

Searched refs:LOONGARCH_MAX_BRP (Results 1 – 5 of 5) sorted by relevance

/linux-6.6.21/arch/loongarch/kernel/
Dkgdb.c460 } breakinfo[LOONGARCH_MAX_BRP];
513 for (i = 0; i < LOONGARCH_MAX_BRP; i++) in kgdb_set_hw_break()
517 if (i == LOONGARCH_MAX_BRP) in kgdb_set_hw_break()
568 for (i = 0; i < LOONGARCH_MAX_BRP; i++) in kgdb_remove_hw_break()
572 if (i == LOONGARCH_MAX_BRP) in kgdb_remove_hw_break()
590 for (i = 0; i < LOONGARCH_MAX_BRP; i++) { in kgdb_disable_hw_break()
612 for (i = 0; i < LOONGARCH_MAX_BRP; i++) { in kgdb_remove_all_hw_break()
636 for (i = 0; i < LOONGARCH_MAX_BRP; i++) { in kgdb_correct_hw_break()
694 for (i = 0; i < LOONGARCH_MAX_BRP; i++) { in kgdb_arch_late()
719 for (i = 0; i < LOONGARCH_MAX_BRP; i++) { in kgdb_arch_exit()
Dptrace.c394 for (i = 0; i < LOONGARCH_MAX_BRP; ++i) in ptrace_hbptriggered()
413 if (idx >= LOONGARCH_MAX_BRP) in ptrace_hbp_get_event()
415 idx = array_index_nospec(idx, LOONGARCH_MAX_BRP); in ptrace_hbp_get_event()
436 if (idx >= LOONGARCH_MAX_BRP) in ptrace_hbp_set_event()
438 idx = array_index_nospec(idx, LOONGARCH_MAX_BRP); in ptrace_hbp_set_event()
Dhw_breakpoint.c14 static DEFINE_PER_CPU(struct perf_event *, bp_on_reg[LOONGARCH_MAX_BRP]);
159 for (i = 0; i < LOONGARCH_MAX_BRP; i++) { in flush_ptrace_hw_breakpoint()
/linux-6.6.21/arch/loongarch/include/asm/
Dhw_breakpoint.h41 #define LOONGARCH_MAX_BRP 8 macro
46 #define CSR_CFG_MASK (CSR_CFG_ADDR + LOONGARCH_MAX_BRP)
47 #define CSR_CFG_CTRL (CSR_CFG_MASK + LOONGARCH_MAX_BRP)
Dprocessor.h141 struct perf_event *hbp_break[LOONGARCH_MAX_BRP];