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()
394 int i, num_actors, total_weight, ret = 0; in allocate_power() local
396 num_actors = 0; in allocate_power()
401 num_actors++; in allocate_power()
406 if (!num_actors) in allocate_power()
420 req_power = kcalloc(num_actors * 5, sizeof(*req_power), GFP_KERNEL); in allocate_power()
424 max_power = &req_power[num_actors]; in allocate_power()
425 granted_power = &req_power[2 * num_actors]; in allocate_power()
426 extra_actor_power = &req_power[3 * num_actors]; in allocate_power()
427 weighted_req_power = &req_power[4 * num_actors]; in allocate_power()
467 divvy_up_power(weighted_req_power, max_power, num_actors, in allocate_power()
489 num_actors, power_range, in allocate_power()