Searched refs:MAX_CPUS (Results 1 - 17 of 17) sorted by relevance

/linux-master/tools/virtio/virtio-trace/
H A Dtrace-agent.h7 #define MAX_CPUS 256 macro
23 struct rw_thread_info *rw_ti[MAX_CPUS];
H A Dtrace-agent.c37 } else if (nr_cpus > MAX_CPUS) {
38 pr_err("Exceed max cpus(%d)\n", (int)MAX_CPUS);
225 pthread_t rw_thread_per_cpu[MAX_CPUS];
/linux-master/tools/power/x86/amd_pstate_tracer/
H A Damd_pstate_trace.py38 MAX_CPUS = 256 variable
61 last_sec_cpu = [0] * MAX_CPUS
62 last_usec_cpu = [0] * MAX_CPUS
263 cpu_mask = zeros((MAX_CPUS,), dtype=int)
296 if int(p) < MAX_CPUS :
299 for i in range (0, MAX_CPUS):
/linux-master/arch/arm/mach-omap2/
H A 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-master/scripts/gdb/linux/
H A Dcpus.py22 MAX_CPUS = 4096 variable
30 if tid > (0x100000000 - MAX_CPUS - 2):
/linux-master/tools/power/x86/intel_pstate_tracer/
H A Dintel_pstate_tracer.py44 MAX_CPUS = 256 variable
72 last_sec_cpu = [0] * MAX_CPUS
73 last_usec_cpu = [0] * MAX_CPUS
96 print(' Maximum 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-master/tools/testing/selftests/mqueue/
H A 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));
593 } while (next_option && num_cpus_to_pin < MAX_CPUS);
/linux-master/tools/accounting/
H A Dprocacct.c76 #define MAX_CPUS 32 macro
84 char cpumask[100+6*MAX_CPUS];
H A Dgetdelays.c64 #define MAX_CPUS 32 macro
72 char cpumask[100+6*MAX_CPUS];
/linux-master/tools/perf/util/bpf_skel/
H A Daugmented_raw_syscalls.bpf.c23 #define MAX_CPUS 4096 macro
30 __uint(max_entries, MAX_CPUS);
H A Dlock_contention.bpf.c12 #define MAX_CPUS 1024 macro
547 for (int i = 0; i < MAX_CPUS; i++) {
/linux-master/drivers/scsi/be2iscsi/
H A 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];
H A Dbe_cmds.h709 } delay[MAX_CPUS];
H A Dbe_main.c5188 struct be_set_eqd set_eqd[MAX_CPUS];
/linux-master/tools/perf/
H A Dbuiltin-timechart.c316 #define MAX_CPUS 4096 macro
1989 cpus_cstate_start_times = calloc(MAX_CPUS, sizeof(*cpus_cstate_start_times));
1992 cpus_cstate_state = calloc(MAX_CPUS, sizeof(*cpus_cstate_state));
1997 cpus_pstate_start_times = calloc(MAX_CPUS, sizeof(*cpus_pstate_start_times));
2002 cpus_pstate_state = calloc(MAX_CPUS, sizeof(*cpus_pstate_state));
H A Dbuiltin-sched.c50 #define MAX_CPUS 4096 macro
152 DECLARE_BITMAP(comp_cpus_mask, MAX_CPUS);
854 if (cpu >= MAX_CPUS || cpu < 0)
1117 BUG_ON(cpu >= MAX_CPUS || cpu < 0);
1188 BUG_ON(cpu >= MAX_CPUS || cpu < 0);
1559 BUG_ON(this_cpu.cpu >= MAX_CPUS || this_cpu.cpu < 0);
1565 cpus_nr = bitmap_weight(sched->map.comp_cpus_mask, MAX_CPUS);
3174 sched->cpu_last_switched = calloc(MAX_CPUS, sizeof(*(sched->cpu_last_switched)));
3178 sched->curr_pid = malloc(MAX_CPUS * sizeof(*(sched->curr_pid)));
3184 for (i = 0; i < MAX_CPUS;
[all...]
/linux-master/tools/perf/util/
H A Ddata-convert-bt.c54 #define MAX_CPUS 4096 macro
1344 * if not present fallback to the MAX_CPUS.
1346 ncpus = ph->env.nr_cpus_avail ?: MAX_CPUS;

Completed in 236 milliseconds