Lines Matching refs:slots
199 static int hw_breakpoint_slot_setup(struct perf_event **slots, int max_slots, in hw_breakpoint_slot_setup() argument
207 slot = &slots[i]; in hw_breakpoint_slot_setup()
237 struct perf_event **slots; in hw_breakpoint_control() local
247 slots = this_cpu_ptr(bp_on_reg); in hw_breakpoint_control()
254 slots = this_cpu_ptr(wp_on_reg); in hw_breakpoint_control()
259 i = hw_breakpoint_slot_setup(slots, max_slots, bp, ops); in hw_breakpoint_control()
590 struct perf_event **slots; in toggle_bp_registers() local
594 slots = this_cpu_ptr(bp_on_reg); in toggle_bp_registers()
598 slots = this_cpu_ptr(wp_on_reg); in toggle_bp_registers()
606 if (!slots[i]) in toggle_bp_registers()
609 privilege = counter_arch_bp(slots[i])->ctrl.privilege; in toggle_bp_registers()
632 struct perf_event *bp, **slots; in breakpoint_handler() local
636 slots = this_cpu_ptr(bp_on_reg); in breakpoint_handler()
643 bp = slots[i]; in breakpoint_handler()
746 struct perf_event *wp, **slots; in watchpoint_handler() local
751 slots = this_cpu_ptr(wp_on_reg); in watchpoint_handler()
760 wp = slots[i]; in watchpoint_handler()
796 wp = slots[closest_match]; in watchpoint_handler()
942 struct perf_event **slots; in hw_breakpoint_reset() local
953 for (slots = this_cpu_ptr(bp_on_reg), i = 0; i < core_num_brps; ++i) { in hw_breakpoint_reset()
954 if (slots[i]) { in hw_breakpoint_reset()
955 hw_breakpoint_control(slots[i], HW_BREAKPOINT_RESTORE); in hw_breakpoint_reset()
962 for (slots = this_cpu_ptr(wp_on_reg), i = 0; i < core_num_wrps; ++i) { in hw_breakpoint_reset()
963 if (slots[i]) { in hw_breakpoint_reset()
964 hw_breakpoint_control(slots[i], HW_BREAKPOINT_RESTORE); in hw_breakpoint_reset()