Home
last modified time | relevance | path

Searched refs:MAX_CPUS (Results 1 – 19 of 19) sorted by relevance

/linux-6.6.21/arch/arm/mach-omap2/
Dcpuidle44xx.c24 #define MAX_CPUS 2 macro
65 static struct powerdomain *mpu_pd, *cpu_pd[MAX_CPUS];
66 static struct clockdomain *cpu_clkdm[MAX_CPUS];
69 static bool cpu_done[MAX_CPUS];
/linux-6.6.21/tools/power/x86/amd_pstate_tracer/
Damd_pstate_trace.py39 MAX_CPUS = 256 variable
62 last_sec_cpu = [0] * MAX_CPUS
63 last_usec_cpu = [0] * MAX_CPUS
264 cpu_mask = zeros((MAX_CPUS,), dtype=int)
297 if int(p) < MAX_CPUS :
300 for i in range (0, MAX_CPUS):
/linux-6.6.21/tools/virtio/virtio-trace/
Dtrace-agent.h7 #define MAX_CPUS 256 macro
23 struct rw_thread_info *rw_ti[MAX_CPUS];
Dtrace-agent.c37 } else if (nr_cpus > MAX_CPUS) { in get_total_cpus()
38 pr_err("Exceed max cpus(%d)\n", (int)MAX_CPUS); in get_total_cpus()
225 pthread_t rw_thread_per_cpu[MAX_CPUS]; in agent_main_loop()
/linux-6.6.21/tools/power/x86/intel_pstate_tracer/
Dintel_pstate_tracer.py44 MAX_CPUS = 256 variable
72 last_sec_cpu = [0] * MAX_CPUS
73 last_usec_cpu = [0] * MAX_CPUS
96 … number of CPUs is {0:d}. If there are more the script will abort with an error.'.format(MAX_CPUS))
511 cpu_mask = zeros((MAX_CPUS,), dtype=int)
543 if int(p) < MAX_CPUS :
546 for i in range (0, MAX_CPUS):
/linux-6.6.21/tools/testing/selftests/mqueue/
Dmq_perf_tests.c77 #define MAX_CPUS 64 macro
79 int cpus_to_pin[MAX_CPUS];
81 pthread_t cpu_threads[MAX_CPUS];
563 cpus_online = MIN(MAX_CPUS, sysconf(_SC_NPROCESSORS_ONLN)); in main()
593 } while (next_option && num_cpus_to_pin < MAX_CPUS); in main()
/linux-6.6.21/scripts/gdb/linux/
Dcpus.py22 MAX_CPUS = 4096 variable
30 if tid > (0x100000000 - MAX_CPUS - 2):
/linux-6.6.21/drivers/scsi/be2iscsi/
Dbe_main.h56 #define MAX_CPUS 64U macro
280 char *msi_name[MAX_CPUS];
370 struct be_aic_obj aic_obj[MAX_CPUS];
994 struct be_eq_obj be_eq[MAX_CPUS];
995 struct be_queue_info be_cq[MAX_CPUS - 1];
Dbe_cmds.h709 } delay[MAX_CPUS];
Dbe_main.c5188 struct be_set_eqd set_eqd[MAX_CPUS]; in beiscsi_eqd_update_work()
/linux-6.6.21/tools/perf/util/bpf_skel/
Daugmented_raw_syscalls.bpf.c23 #define MAX_CPUS 4096 macro
43 __uint(max_entries, MAX_CPUS);
Dlock_contention.bpf.c12 #define MAX_CPUS 1024 macro
440 for (int i = 0; i < MAX_CPUS; i++) { in BPF_PROG()
/linux-6.6.21/tools/accounting/
Dprocacct.c76 #define MAX_CPUS 32 macro
84 char cpumask[100+6*MAX_CPUS];
Dgetdelays.c64 #define MAX_CPUS 32 macro
72 char cpumask[100+6*MAX_CPUS];
/linux-6.6.21/tools/perf/
Dbuiltin-sched.c50 #define MAX_CPUS 4096 macro
170 DECLARE_BITMAP(comp_cpus_mask, MAX_CPUS);
872 if (cpu >= MAX_CPUS || cpu < 0) in replay_switch_event()
1142 BUG_ON(cpu >= MAX_CPUS || cpu < 0); in latency_switch_event()
1213 BUG_ON(cpu >= MAX_CPUS || cpu < 0); in latency_runtime_event()
1584 BUG_ON(this_cpu.cpu >= MAX_CPUS || this_cpu.cpu < 0); in map_switch_event()
1590 cpus_nr = bitmap_weight(sched->map.comp_cpus_mask, MAX_CPUS); in map_switch_event()
3598 sched.curr_thread = calloc(MAX_CPUS, sizeof(*sched.curr_thread)); in cmd_sched()
3603 sched.cpu_last_switched = calloc(MAX_CPUS, sizeof(*sched.cpu_last_switched)); in cmd_sched()
3608 sched.curr_pid = malloc(MAX_CPUS * sizeof(*sched.curr_pid)); in cmd_sched()
[all …]
Dbuiltin-timechart.c316 #define MAX_CPUS 4096 macro
1989 cpus_cstate_start_times = calloc(MAX_CPUS, sizeof(*cpus_cstate_start_times)); in cmd_timechart()
1992 cpus_cstate_state = calloc(MAX_CPUS, sizeof(*cpus_cstate_state)); in cmd_timechart()
1997 cpus_pstate_start_times = calloc(MAX_CPUS, sizeof(*cpus_pstate_start_times)); in cmd_timechart()
2002 cpus_pstate_state = calloc(MAX_CPUS, sizeof(*cpus_pstate_state)); in cmd_timechart()
/linux-6.6.21/drivers/staging/qlge/
Dqlge.h29 #define MAX_CPUS 8 macro
30 #define MAX_TX_RINGS MAX_CPUS
31 #define MAX_RX_RINGS ((MAX_CPUS * 2) + 1)
1777 u32 intr_states[MAX_CPUS];
Dqlge_main.c3918 int cpu_cnt = min_t(int, MAX_CPUS, num_online_cpus()); in qlge_configure_rings()
4554 min(MAX_CPUS, in qlge_probe()
/linux-6.6.21/tools/perf/util/
Ddata-convert-bt.c54 #define MAX_CPUS 4096 macro
1346 ncpus = ph->env.nr_cpus_avail ?: MAX_CPUS; in setup_streams()