Searched refs:max_slots (Results 1 – 3 of 3) sorted by relevance
| /arch/loongarch/kernel/ |
| A D | hw_breakpoint.c | 127 static int hw_breakpoint_slot_setup(struct perf_event **slots, int max_slots, in hw_breakpoint_slot_setup() argument 133 for (i = 0; i < max_slots; ++i) { in hw_breakpoint_slot_setup() 190 int i, max_slots, enable; in hw_breakpoint_control() local 207 max_slots = boot_cpu_data.watch_ireg_count; in hw_breakpoint_control() 211 max_slots = boot_cpu_data.watch_dreg_count; in hw_breakpoint_control() 214 i = hw_breakpoint_slot_setup(slots, max_slots, bp, ops); in hw_breakpoint_control() 431 int i, max_slots; in update_bp_registers() local 438 max_slots = boot_cpu_data.watch_ireg_count; in update_bp_registers() 442 max_slots = boot_cpu_data.watch_dreg_count; in update_bp_registers() 448 for (i = 0; i < max_slots; ++i) { in update_bp_registers()
|
| /arch/arm64/kernel/ |
| A D | hw_breakpoint.c | 190 static int hw_breakpoint_slot_setup(struct perf_event **slots, int max_slots, in hw_breakpoint_slot_setup() argument 197 for (i = 0; i < max_slots; ++i) { in hw_breakpoint_slot_setup() 230 int i, max_slots, ctrl_reg, val_reg, reg_enable; in hw_breakpoint_control() local 239 max_slots = core_num_brps; in hw_breakpoint_control() 246 max_slots = core_num_wrps; in hw_breakpoint_control() 250 i = hw_breakpoint_slot_setup(slots, max_slots, bp, ops); in hw_breakpoint_control() 584 int i, max_slots, privilege; in toggle_bp_registers() local 591 max_slots = core_num_brps; in toggle_bp_registers() 595 max_slots = core_num_wrps; in toggle_bp_registers() 601 for (i = 0; i < max_slots; ++i) { in toggle_bp_registers()
|
| /arch/arm/kernel/ |
| A D | hw_breakpoint.c | 330 int i, max_slots, ctrl_base, val_base; in arch_install_hw_breakpoint() local 341 max_slots = core_num_brps; in arch_install_hw_breakpoint() 347 max_slots = core_num_wrps; in arch_install_hw_breakpoint() 350 for (i = 0; i < max_slots; ++i) { in arch_install_hw_breakpoint() 359 if (i == max_slots) { in arch_install_hw_breakpoint() 387 int i, max_slots, base; in arch_uninstall_hw_breakpoint() local 393 max_slots = core_num_brps; in arch_uninstall_hw_breakpoint() 398 max_slots = core_num_wrps; in arch_uninstall_hw_breakpoint() 402 for (i = 0; i < max_slots; ++i) { in arch_uninstall_hw_breakpoint() 411 if (i == max_slots) { in arch_uninstall_hw_breakpoint()
|
Completed in 11 milliseconds