Searched refs:max_cpu (Results 1 – 5 of 5) sorted by relevance
269 static int sync_pcpu(uint32_t cpu, uint32_t *max_cpu) in sync_pcpu() argument285 if (max_cpu) in sync_pcpu()286 *max_cpu = info->max_present; in sync_pcpu()316 uint32_t cpu = 0, max_cpu = 0; in xen_sync_pcpus() local322 while (!err && (cpu <= max_cpu)) { in xen_sync_pcpus()323 err = sync_pcpu(cpu, &max_cpu); in xen_sync_pcpus()
319 max_cpu = 0321 if cpu > max_cpu:322 max_cpu = cpu323 return max_cpu
557 int max_cpu, i; in report_platform_properties() local560 max_cpu = *v; in report_platform_properties()561 if (max_cpu > NR_CPUS) in report_platform_properties()562 max_cpu = NR_CPUS; in report_platform_properties()564 max_cpu = NR_CPUS; in report_platform_properties()566 for (i = 0; i < max_cpu; i++) in report_platform_properties()
47 u16 max_cpu; member
139 int max_cpu; member1354 if (this_cpu > sched->max_cpu) in map_switch_event()1355 sched->max_cpu = this_cpu; in map_switch_event()1403 for (cpu = 0; cpu <= sched->max_cpu; cpu++) { in map_switch_event()1680 sched->max_cpu = sysconf(_SC_NPROCESSORS_CONF); in perf_sched__map()