Home
last modified time | relevance | path

Searched refs:LOONGARCH_MAX_WRP (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.6/arch/loongarch/include/asm/
Dhw_breakpoint.h42 #define LOONGARCH_MAX_WRP 8 macro
48 #define CSR_CFG_ASID (CSR_CFG_CTRL + LOONGARCH_MAX_WRP)
Dprocessor.h142 struct perf_event *hbp_watch[LOONGARCH_MAX_WRP];
/Linux-v6.6/arch/loongarch/kernel/
Dptrace.c398 for (i = 0; i < LOONGARCH_MAX_WRP; ++i) in ptrace_hbptriggered()
419 if (idx >= LOONGARCH_MAX_WRP) in ptrace_hbp_get_event()
421 idx = array_index_nospec(idx, LOONGARCH_MAX_WRP); in ptrace_hbp_get_event()
442 if (idx >= LOONGARCH_MAX_WRP) in ptrace_hbp_set_event()
444 idx = array_index_nospec(idx, LOONGARCH_MAX_WRP); in ptrace_hbp_set_event()
Dhw_breakpoint.c17 static DEFINE_PER_CPU(struct perf_event *, wp_on_reg[LOONGARCH_MAX_WRP]);
166 for (i = 0; i < LOONGARCH_MAX_WRP; i++) { in flush_ptrace_hw_breakpoint()