Searched refs:MAX_CPUS (Results 1 – 6 of 6) sorted by relevance
6 #define MAX_CPUS 256 macro22 struct rw_thread_info *rw_ti[MAX_CPUS];
38 } else if (nr_cpus > MAX_CPUS) { in get_total_cpus()39 pr_err("Exceed max cpus(%d)\n", (int)MAX_CPUS); in get_total_cpus()223 pthread_t rw_thread_per_cpu[MAX_CPUS]; in agent_main_loop()
75 #define MAX_CPUS 64 macro77 int cpus_to_pin[MAX_CPUS];79 pthread_t cpu_threads[MAX_CPUS];552 cpus_online = min(MAX_CPUS, sysconf(_SC_NPROCESSORS_ONLN)); in main()582 } while (next_option && num_cpus_to_pin < MAX_CPUS); in main()
29 #define MAX_CPUS 4096 macro140 u32 curr_pid[MAX_CPUS];141 struct thread *curr_thread[MAX_CPUS];171 u64 cpu_last_switched[MAX_CPUS];733 if (cpu >= MAX_CPUS || cpu < 0) in replay_switch_event()968 BUG_ON(cpu >= MAX_CPUS || cpu < 0); in latency_switch_event()1039 BUG_ON(cpu >= MAX_CPUS || cpu < 0); in latency_runtime_event()1352 BUG_ON(this_cpu >= MAX_CPUS || this_cpu < 0); in map_switch_event()
304 #define MAX_CPUS 4096 macro306 static u64 cpus_cstate_start_times[MAX_CPUS];307 static int cpus_cstate_state[MAX_CPUS];308 static u64 cpus_pstate_start_times[MAX_CPUS];309 static u64 cpus_pstate_state[MAX_CPUS];
42 #define MAX_CPUS 4096 macro870 ncpus = ph->env.nr_cpus_avail ?: MAX_CPUS; in setup_streams()