Searched refs:num_actors (Results 1 – 2 of 2) sorted by relevance
/Linux-v4.19/include/trace/events/ |
D | thermal_power_allocator.h | 13 u32 total_granted_power, size_t num_actors, 17 total_granted_power, num_actors, power_range, 21 __dynamic_array(u32, req_power, num_actors ) 23 __dynamic_array(u32, granted_power, num_actors) 25 __field(size_t, num_actors ) 34 num_actors * sizeof(*req_power)); 37 num_actors * sizeof(*granted_power)); 39 __entry->num_actors = num_actors; 49 __entry->num_actors, 4), 52 __entry->num_actors, 4),
|
/Linux-v4.19/drivers/thermal/ |
D | power_allocator.c | 288 static void divvy_up_power(u32 *req_power, u32 *max_power, int num_actors, in divvy_up_power() argument 303 for (i = 0; i < num_actors; i++) { in divvy_up_power() 327 for (i = 0; i < num_actors; i++) in divvy_up_power() 341 int i, num_actors, total_weight, ret = 0; in allocate_power() local 346 num_actors = 0; in allocate_power() 351 num_actors++; in allocate_power() 356 if (!num_actors) { in allocate_power() 372 req_power = kcalloc(num_actors * 5, sizeof(*req_power), GFP_KERNEL); in allocate_power() 378 max_power = &req_power[num_actors]; in allocate_power() 379 granted_power = &req_power[2 * num_actors]; in allocate_power() [all …]
|