Home
last modified time | relevance | path

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

/linux/arch/loongarch/include/asm/
H A Dhw_breakpoint.h42 #define LOONGARCH_MAX_WRP 14 macro
48 #define CSR_CFG_ASID (CSR_CFG_CTRL + LOONGARCH_MAX_WRP)
H A Dprocessor.h142 struct perf_event *hbp_watch[LOONGARCH_MAX_WRP];
/linux/arch/loongarch/kernel/
H A 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()