Lines Matching full:slots
104 * @slots: pointer to array of slots
105 * @max_slots: max number of slots
115 static int hw_breakpoint_slot_setup(struct perf_event **slots, int max_slots, in hw_breakpoint_slot_setup() argument
122 slot = &slots[i]; in hw_breakpoint_slot_setup()
179 struct perf_event **slots; in hw_breakpoint_control() local
184 slots = this_cpu_ptr(bp_on_reg); in hw_breakpoint_control()
188 slots = this_cpu_ptr(wp_on_reg); in hw_breakpoint_control()
192 i = hw_breakpoint_slot_setup(slots, max_slots, bp, ops); in hw_breakpoint_control()
412 struct perf_event **slots; in update_bp_registers() local
417 slots = this_cpu_ptr(bp_on_reg); in update_bp_registers()
421 slots = this_cpu_ptr(wp_on_reg); in update_bp_registers()
429 if (!slots[i]) in update_bp_registers()
432 info = counter_arch_bp(slots[i]); in update_bp_registers()
469 struct perf_event *bp, **slots; in breakpoint_handler() local
471 slots = this_cpu_ptr(bp_on_reg); in breakpoint_handler()
474 bp = slots[i]; in breakpoint_handler()
486 struct perf_event *wp, **slots; in watchpoint_handler() local
488 slots = this_cpu_ptr(wp_on_reg); in watchpoint_handler()
491 wp = slots[i]; in watchpoint_handler()