Lines Matching refs:weight
409 toggle_bp_slot(struct perf_event *bp, bool enable, enum bp_type_idx type, int weight) in toggle_bp_slot() argument
414 weight = -weight; in toggle_bp_slot()
424 bp_slots_histogram_add(&cpu_pinned[type], info->cpu_pinned, weight); in toggle_bp_slot()
425 info->cpu_pinned += weight; in toggle_bp_slot()
478 bp_slots_histogram_add(&tsk_pinned_all[type], next_tsk_pinned, weight); in toggle_bp_slot()
487 next_tsk_pinned, weight); in toggle_bp_slot()
494 next_tsk_pinned + hw_breakpoint_weight(bp), weight); in toggle_bp_slot()
511 next_tsk_pinned, weight); in toggle_bp_slot()
596 int weight; in __reserve_bp_slot() local
609 weight = hw_breakpoint_weight(bp); in __reserve_bp_slot()
612 max_pinned_slots = max_bp_pinned_slots(bp, type) + weight; in __reserve_bp_slot()
620 return toggle_bp_slot(bp, true, type, weight); in __reserve_bp_slot()
635 int weight; in __release_bp_slot() local
640 weight = hw_breakpoint_weight(bp); in __release_bp_slot()
641 WARN_ON(toggle_bp_slot(bp, false, type, weight)); in __release_bp_slot()