Lines Matching refs:weight
410 toggle_bp_slot(struct perf_event *bp, bool enable, enum bp_type_idx type, int weight) in toggle_bp_slot() argument
415 weight = -weight; in toggle_bp_slot()
425 bp_slots_histogram_add(&cpu_pinned[type], info->cpu_pinned, weight); in toggle_bp_slot()
426 info->cpu_pinned += weight; in toggle_bp_slot()
479 bp_slots_histogram_add(&tsk_pinned_all[type], next_tsk_pinned, weight); in toggle_bp_slot()
488 next_tsk_pinned, weight); in toggle_bp_slot()
495 next_tsk_pinned + hw_breakpoint_weight(bp), weight); in toggle_bp_slot()
512 next_tsk_pinned, weight); in toggle_bp_slot()
577 int weight; in __reserve_bp_slot() local
589 weight = hw_breakpoint_weight(bp); in __reserve_bp_slot()
592 max_pinned_slots = max_bp_pinned_slots(bp, type) + weight; in __reserve_bp_slot()
596 return toggle_bp_slot(bp, true, type, weight); in __reserve_bp_slot()
611 int weight; in __release_bp_slot() local
614 weight = hw_breakpoint_weight(bp); in __release_bp_slot()
615 WARN_ON(toggle_bp_slot(bp, false, type, weight)); in __release_bp_slot()