Searched refs:max_slots (Results 1 – 2 of 2) sorted by relevance
/arch/arm/kernel/ |
D | hw_breakpoint.c | 337 int i, max_slots, ctrl_base, val_base; in arch_install_hw_breakpoint() local 348 max_slots = core_num_brps; in arch_install_hw_breakpoint() 354 max_slots = core_num_wrps; in arch_install_hw_breakpoint() 357 for (i = 0; i < max_slots; ++i) { in arch_install_hw_breakpoint() 366 if (i == max_slots) { in arch_install_hw_breakpoint() 394 int i, max_slots, base; in arch_uninstall_hw_breakpoint() local 400 max_slots = core_num_brps; in arch_uninstall_hw_breakpoint() 405 max_slots = core_num_wrps; in arch_uninstall_hw_breakpoint() 409 for (i = 0; i < max_slots; ++i) { in arch_uninstall_hw_breakpoint() 418 if (i == max_slots) { in arch_uninstall_hw_breakpoint()
|
/arch/arm64/kernel/ |
D | hw_breakpoint.c | 200 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() 590 int i, max_slots, privilege; in toggle_bp_registers() local 597 max_slots = core_num_brps; in toggle_bp_registers() 601 max_slots = core_num_wrps; in toggle_bp_registers() 607 for (i = 0; i < max_slots; ++i) { in toggle_bp_registers()
|