Searched refs:total_cpus (Results 1 – 7 of 7) sorted by relevance
| /linux/tools/perf/util/ |
| H A D | bpf_counter_cgroup.c | 48 int map_size, total_cpus = cpu__max_cpu().cpu; in setup_rodata() 50 sk->rodata->num_cpus = total_cpus; in setup_rodata() 59 map_size = total_cpus * evlist_size / nr_cgroups; in setup_rodata() 102 int total_cpus = cpu__max_cpu().cpu; in bperf_load_program() 166 __u32 idx = evsel->core.idx * total_cpus + cpu.cpu; in bperf_load_program() 292 int total_cpus = cpu__max_cpu().cpu; in bperf_cgrp__read() 302 values = calloc(total_cpus, sizeof(*values)); in bperf_cgrp__read() 49 int map_size, total_cpus = cpu__max_cpu().cpu; setup_rodata() local 103 int total_cpus = cpu__max_cpu().cpu; bperf_load_program() local 271 int total_cpus = cpu__max_cpu().cpu; bperf_cgrp__read() local
|
| H A D | bpf_lock_contention.c | 502 int total_cpus; in account_end_timestamp() 529 total_cpus = cpu__max_cpu().cpu; in account_end_timestamp() 532 cpu_data = calloc(total_cpus, sizeof(*cpu_data)); in account_end_timestamp() 541 for (int i = 0; i < total_cpus; i++) { in account_end_timestamp() 495 int total_cpus; account_end_timestamp() local
|
| /linux/drivers/leds/trigger/ |
| H A D | ledtrig-cpu.c | 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()
|
| /linux/tools/power/cpupower/bindings/python/ |
| H A D | test_raw_pylibcpupower.py | 54 total_cpus = p.get_cpu_topology(topo) variable 55 if total_cpus > 0:
|
| /linux/drivers/base/ |
| H A D | cpu.c | 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()
|
| /linux/arch/x86/kernel/cpu/ |
| H A D | topology.c | 488 total_cpus = allowed; in topology_init_possible_cpus()
|
| /linux/kernel/ |
| H A D | workqueue.c | 1612 int total_cpus, node; in wq_update_node_max_active() local 1622 total_cpus = cpumask_weight_and(effective, cpu_online_mask); in wq_update_node_max_active() 1624 total_cpus--; in wq_update_node_max_active() 1627 if (unlikely(!total_cpus)) { in wq_update_node_max_active() 1643 clamp(DIV_ROUND_UP(max_active * node_cpus, total_cpus), in wq_update_node_max_active()
|