Lines Matching defs:weight
43 static void px_ib_intr_redist(void *arg, int32_t weight_max, int32_t weight);
283 * Redistribute interrupts of the specified weight. The first call has a weight
285 * redistribution. The inos with weight [weight_max, inf.) should be processed
286 * on the "weight == weight_max" call. This first call is followed by calls
287 * of decreasing weights, inos of that weight should be processed. The final
288 * call specifies a weight of zero, this can be used to trigger processing of
292 px_ib_intr_redist(void *arg, int32_t weight_max, int32_t weight)
304 if (weight == 0) {
321 * (weight == weight_max).
323 if (weight == weight_max) {
343 * cpu weight. The purpose is for the most light weighted
344 * cpu to take the next interrupt and gain weight, therefore
348 if ((weight == ino_p->ino_intr_weight) ||
349 ((weight >= weight_max) &&
378 /* Add device weight to targeted cpu. */