Lines Matching refs:weight
409 toggle_bp_slot(struct perf_event *bp, bool enable, enum bp_type_idx type, int weight)
414 weight = -weight;
424 bp_slots_histogram_add(&cpu_pinned[type], info->cpu_pinned, weight);
425 info->cpu_pinned += weight;
478 bp_slots_histogram_add(&tsk_pinned_all[type], next_tsk_pinned, weight);
487 next_tsk_pinned, weight);
494 next_tsk_pinned + hw_breakpoint_weight(bp), weight);
511 next_tsk_pinned, weight);
576 int weight;
588 weight = hw_breakpoint_weight(bp);
591 max_pinned_slots = max_bp_pinned_slots(bp, type) + weight;
595 return toggle_bp_slot(bp, true, type, weight);
610 int weight;
613 weight = hw_breakpoint_weight(bp);
614 WARN_ON(toggle_bp_slot(bp, false, type, weight));