Lines Matching refs:slots
195 static int hw_breakpoint_slot_setup(struct perf_event **slots, int max_slots, in hw_breakpoint_slot_setup() argument
203 slot = &slots[i]; in hw_breakpoint_slot_setup()
233 struct perf_event **slots; in hw_breakpoint_control() local
243 slots = this_cpu_ptr(bp_on_reg); in hw_breakpoint_control()
250 slots = this_cpu_ptr(wp_on_reg); in hw_breakpoint_control()
255 i = hw_breakpoint_slot_setup(slots, max_slots, bp, ops); in hw_breakpoint_control()
547 struct perf_event **slots; in toggle_bp_registers() local
551 slots = this_cpu_ptr(bp_on_reg); in toggle_bp_registers()
555 slots = this_cpu_ptr(wp_on_reg); in toggle_bp_registers()
563 if (!slots[i]) in toggle_bp_registers()
566 privilege = counter_arch_bp(slots[i])->ctrl.privilege; in toggle_bp_registers()
588 struct perf_event *bp, **slots; in breakpoint_handler() local
592 slots = this_cpu_ptr(bp_on_reg); in breakpoint_handler()
599 bp = slots[i]; in breakpoint_handler()
664 struct perf_event *wp, **slots; in watchpoint_handler() local
669 slots = this_cpu_ptr(wp_on_reg); in watchpoint_handler()
675 wp = slots[i]; in watchpoint_handler()
855 struct perf_event **slots; in hw_breakpoint_reset() local
866 for (slots = this_cpu_ptr(bp_on_reg), i = 0; i < core_num_brps; ++i) { in hw_breakpoint_reset()
867 if (slots[i]) { in hw_breakpoint_reset()
868 hw_breakpoint_control(slots[i], HW_BREAKPOINT_RESTORE); in hw_breakpoint_reset()
875 for (slots = this_cpu_ptr(wp_on_reg), i = 0; i < core_num_wrps; ++i) { in hw_breakpoint_reset()
876 if (slots[i]) { in hw_breakpoint_reset()
877 hw_breakpoint_control(slots[i], HW_BREAKPOINT_RESTORE); in hw_breakpoint_reset()