Searched refs:total_cpus (Results 1 – 6 of 6) sorted by relevance
51 int total_cpus = cpu__max_cpu().cpu; in bperf_load_program() local61 skel->rodata->num_cpus = total_cpus; in bperf_load_program()67 map_size = total_cpus * evlist->core.nr_entries / nr_cgroups; in bperf_load_program()125 __u32 idx = evsel->core.idx * total_cpus + cpu.cpu; in bperf_load_program()236 int total_cpus = cpu__max_cpu().cpu; in bperf_cgrp__read() local246 values = calloc(total_cpus, sizeof(*values)); in bperf_cgrp__read()
78 unsigned int total_cpus; in ledtrig_cpu() local84 total_cpus = num_present_cpus(); in ledtrig_cpu()91 DIV_ROUND_UP(LED_FULL * active_cpus, total_cpus)); in ledtrig_cpu()
236 unsigned int total_cpus; variable252 if (total_cpus && nr_cpu_ids < total_cpus) { in print_cpus_offline()255 if (nr_cpu_ids == total_cpus-1) in print_cpus_offline()259 nr_cpu_ids, total_cpus - 1); in print_cpus_offline()
123 total_cpus++; in acpi_parse_lsapic()606 total_cpus); in early_acpi_boot_init()763 disabled_cpus = total_cpus - available_cpus; in prefill_possible_map()
48 extern unsigned int total_cpus;
1472 __max_logical_packages = DIV_ROUND_UP(total_cpus, ncpus); in calculate_max_logical_packages()1554 total_cpus = max_t(int, possible, num_processors + disabled_cpus); in prefill_possible_map()