Searched refs:total_cpus (Results 1 – 7 of 7) sorted by relevance
78 unsigned int total_cpus; in ledtrig_cpu() local 84 total_cpus = num_present_cpus(); in ledtrig_cpu() 91 DIV_ROUND_UP(LED_FULL * active_cpus, total_cpus)); in ledtrig_cpu()
54 total_cpus = p.get_cpu_topology(topo) variable 55 if total_cpus > 0:56 print(f"Number of total cpus: {total_cpus} and number of cores: {topo.cores}")
245 unsigned int total_cpus; variable 261 if (total_cpus && nr_cpu_ids < total_cpus) { in print_cpus_offline() 264 if (nr_cpu_ids == total_cpus-1) in print_cpus_offline() 268 nr_cpu_ids, total_cpus - 1); in print_cpus_offline()
489 int total_cpus; in account_end_timestamp() local 516 total_cpus = cpu__max_cpu().cpu; in account_end_timestamp() 519 cpu_data = calloc(total_cpus, sizeof(*cpu_data)); in account_end_timestamp() 528 for (int i = 0; i < total_cpus; i++) { in account_end_timestamp()
48 extern unsigned int total_cpus;
497 total_cpus = allowed; in topology_init_possible_cpus()
1582 int total_cpus, node; in wq_update_node_max_active() local 1592 total_cpus = cpumask_weight_and(effective, cpu_online_mask); in wq_update_node_max_active() 1594 total_cpus--; in wq_update_node_max_active() 1597 if (unlikely(!total_cpus)) { in wq_update_node_max_active() 1613 clamp(DIV_ROUND_UP(max_active * node_cpus, total_cpus), in wq_update_node_max_active()