• Home
  • Raw
  • Download

Lines Matching refs:slots

200 static int hw_breakpoint_slot_setup(struct perf_event **slots, int max_slots,  in hw_breakpoint_slot_setup()  argument
208 slot = &slots[i]; in hw_breakpoint_slot_setup()
238 struct perf_event **slots; in hw_breakpoint_control() local
248 slots = this_cpu_ptr(bp_on_reg); in hw_breakpoint_control()
255 slots = this_cpu_ptr(wp_on_reg); in hw_breakpoint_control()
260 i = hw_breakpoint_slot_setup(slots, max_slots, bp, ops); in hw_breakpoint_control()
591 struct perf_event **slots; in toggle_bp_registers() local
595 slots = this_cpu_ptr(bp_on_reg); in toggle_bp_registers()
599 slots = this_cpu_ptr(wp_on_reg); in toggle_bp_registers()
607 if (!slots[i]) in toggle_bp_registers()
610 privilege = counter_arch_bp(slots[i])->ctrl.privilege; in toggle_bp_registers()
633 struct perf_event *bp, **slots; in breakpoint_handler() local
637 slots = this_cpu_ptr(bp_on_reg); in breakpoint_handler()
644 bp = slots[i]; in breakpoint_handler()
745 struct perf_event *wp, **slots; in watchpoint_handler() local
750 slots = this_cpu_ptr(wp_on_reg); in watchpoint_handler()
759 wp = slots[i]; in watchpoint_handler()
795 wp = slots[closest_match]; in watchpoint_handler()
941 struct perf_event **slots; in hw_breakpoint_reset() local
952 for (slots = this_cpu_ptr(bp_on_reg), i = 0; i < core_num_brps; ++i) { in hw_breakpoint_reset()
953 if (slots[i]) { in hw_breakpoint_reset()
954 hw_breakpoint_control(slots[i], HW_BREAKPOINT_RESTORE); in hw_breakpoint_reset()
961 for (slots = this_cpu_ptr(wp_on_reg), i = 0; i < core_num_wrps; ++i) { in hw_breakpoint_reset()
962 if (slots[i]) { in hw_breakpoint_reset()
963 hw_breakpoint_control(slots[i], HW_BREAKPOINT_RESTORE); in hw_breakpoint_reset()