Lines Matching refs:num_actors
337 static void divvy_up_power(u32 *req_power, u32 *max_power, int num_actors, in divvy_up_power() argument
352 for (i = 0; i < num_actors; i++) { in divvy_up_power()
376 for (i = 0; i < num_actors; i++) { in divvy_up_power()
392 int i, num_actors, total_weight, ret = 0; in allocate_power() local
397 num_actors = 0; in allocate_power()
402 num_actors++; in allocate_power()
407 if (!num_actors) { in allocate_power()
423 req_power = kcalloc(num_actors * 5, sizeof(*req_power), GFP_KERNEL); in allocate_power()
429 max_power = &req_power[num_actors]; in allocate_power()
430 granted_power = &req_power[2 * num_actors]; in allocate_power()
431 extra_actor_power = &req_power[3 * num_actors]; in allocate_power()
432 weighted_req_power = &req_power[4 * num_actors]; in allocate_power()
472 divvy_up_power(weighted_req_power, max_power, num_actors, in allocate_power()
494 num_actors, power_range, in allocate_power()