Lines Matching refs:slots
193 static int hw_breakpoint_slot_setup(struct perf_event **slots, int max_slots, in hw_breakpoint_slot_setup() argument
201 slot = &slots[i]; in hw_breakpoint_slot_setup()
231 struct perf_event **slots; in hw_breakpoint_control() local
241 slots = this_cpu_ptr(bp_on_reg); in hw_breakpoint_control()
248 slots = this_cpu_ptr(wp_on_reg); in hw_breakpoint_control()
253 i = hw_breakpoint_slot_setup(slots, max_slots, bp, ops); in hw_breakpoint_control()
545 struct perf_event **slots; in toggle_bp_registers() local
549 slots = this_cpu_ptr(bp_on_reg); in toggle_bp_registers()
553 slots = this_cpu_ptr(wp_on_reg); in toggle_bp_registers()
561 if (!slots[i]) in toggle_bp_registers()
564 privilege = counter_arch_bp(slots[i])->ctrl.privilege; in toggle_bp_registers()
586 struct perf_event *bp, **slots; in breakpoint_handler() local
590 slots = this_cpu_ptr(bp_on_reg); in breakpoint_handler()
597 bp = slots[i]; in breakpoint_handler()
662 struct perf_event *wp, **slots; in watchpoint_handler() local
667 slots = this_cpu_ptr(wp_on_reg); in watchpoint_handler()
673 wp = slots[i]; in watchpoint_handler()
853 struct perf_event **slots; in hw_breakpoint_reset() local
864 for (slots = this_cpu_ptr(bp_on_reg), i = 0; i < core_num_brps; ++i) { in hw_breakpoint_reset()
865 if (slots[i]) { in hw_breakpoint_reset()
866 hw_breakpoint_control(slots[i], HW_BREAKPOINT_RESTORE); in hw_breakpoint_reset()
873 for (slots = this_cpu_ptr(wp_on_reg), i = 0; i < core_num_wrps; ++i) { in hw_breakpoint_reset()
874 if (slots[i]) { in hw_breakpoint_reset()
875 hw_breakpoint_control(slots[i], HW_BREAKPOINT_RESTORE); in hw_breakpoint_reset()