Home
last modified time | relevance | path

Searched refs:max_cpu (Results 1 – 5 of 5) sorted by relevance

/linux-4.4.14/drivers/xen/
Dpcpu.c269 static int sync_pcpu(uint32_t cpu, uint32_t *max_cpu) in sync_pcpu() argument
285 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() local
322 while (!err && (cpu <= max_cpu)) { in xen_sync_pcpus()
323 err = sync_pcpu(cpu, &max_cpu); in xen_sync_pcpus()
/linux-4.4.14/tools/perf/scripts/python/
Dsched-migration.py319 max_cpu = 0
321 if cpu > max_cpu:
322 max_cpu = cpu
323 return max_cpu
/linux-4.4.14/arch/sparc/kernel/
Dmdesc.c557 int max_cpu, i; in report_platform_properties() local
560 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()
/linux-4.4.14/arch/s390/include/asm/
Dcpu_mf.h47 u16 max_cpu; member
/linux-4.4.14/tools/perf/
Dbuiltin-sched.c139 int max_cpu; member
1354 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()