Home
last modified time | relevance | path

Searched refs:total_cpus (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/tools/perf/util/
Dbpf_counter_cgroup.c51 int total_cpus = cpu__max_cpu().cpu; in bperf_load_program() local
61 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() local
246 values = calloc(total_cpus, sizeof(*values)); in bperf_cgrp__read()
/linux-6.1.9/drivers/leds/trigger/
Dledtrig-cpu.c78 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()
/linux-6.1.9/drivers/base/
Dcpu.c236 unsigned int total_cpus; variable
252 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()
/linux-6.1.9/arch/ia64/kernel/
Dacpi.c123 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()
/linux-6.1.9/include/linux/
Dsmp.h48 extern unsigned int total_cpus;
/linux-6.1.9/arch/x86/kernel/
Dsmpboot.c1472 __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()