Home
last modified time | relevance | path

Searched refs:max_slots (Results 1 – 2 of 2) sorted by relevance

/arch/arm/kernel/
Dhw_breakpoint.c338 int i, max_slots, ctrl_base, val_base; in arch_install_hw_breakpoint() local
349 max_slots = core_num_brps; in arch_install_hw_breakpoint()
355 max_slots = core_num_wrps; in arch_install_hw_breakpoint()
358 for (i = 0; i < max_slots; ++i) { in arch_install_hw_breakpoint()
367 if (i == max_slots) { in arch_install_hw_breakpoint()
395 int i, max_slots, base; in arch_uninstall_hw_breakpoint() local
401 max_slots = core_num_brps; in arch_uninstall_hw_breakpoint()
406 max_slots = core_num_wrps; in arch_uninstall_hw_breakpoint()
410 for (i = 0; i < max_slots; ++i) { in arch_uninstall_hw_breakpoint()
419 if (i == max_slots) { in arch_uninstall_hw_breakpoint()
/arch/arm64/kernel/
Dhw_breakpoint.c200 static int hw_breakpoint_slot_setup(struct perf_event **slots, int max_slots, in hw_breakpoint_slot_setup() argument
207 for (i = 0; i < max_slots; ++i) { in hw_breakpoint_slot_setup()
240 int i, max_slots, ctrl_reg, val_reg, reg_enable; in hw_breakpoint_control() local
249 max_slots = core_num_brps; in hw_breakpoint_control()
256 max_slots = core_num_wrps; in hw_breakpoint_control()
260 i = hw_breakpoint_slot_setup(slots, max_slots, bp, ops); in hw_breakpoint_control()
589 int i, max_slots, privilege; in toggle_bp_registers() local
596 max_slots = core_num_brps; in toggle_bp_registers()
600 max_slots = core_num_wrps; in toggle_bp_registers()
606 for (i = 0; i < max_slots; ++i) { in toggle_bp_registers()