Home
last modified time | relevance | path

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

/Linux-v5.10/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-v5.10/kernel/sched/
Dcpudeadline.c125 int cpu, max_cpu = -1; in cpudl_find() local
140 max_cpu = cpu; in cpudl_find()
146 cpumask_set_cpu(max_cpu, later_mask); in cpudl_find()
Dtopology.c1166 int cpu, max_cpu = -1; in init_sched_groups_capacity() local
1174 if (max_cpu < 0) in init_sched_groups_capacity()
1175 max_cpu = cpu; in init_sched_groups_capacity()
1176 else if (sched_asym_prefer(cpu, max_cpu)) in init_sched_groups_capacity()
1177 max_cpu = cpu; in init_sched_groups_capacity()
1179 sg->asym_prefer_cpu = max_cpu; in init_sched_groups_capacity()
/Linux-v5.10/drivers/infiniband/hw/hfi1/
Daffinity.c329 int max_cpu; in per_cpu_affinity_put_max() local
339 max_cpu = cpumask_first(possible_cpumask); in per_cpu_affinity_put_max()
340 if (max_cpu >= nr_cpu_ids) in per_cpu_affinity_put_max()
343 prev_cntr = *per_cpu_ptr(comp_vect_affinity, max_cpu); in per_cpu_affinity_put_max()
348 max_cpu = curr_cpu; in per_cpu_affinity_put_max()
353 *per_cpu_ptr(comp_vect_affinity, max_cpu) -= 1; in per_cpu_affinity_put_max()
355 return max_cpu; in per_cpu_affinity_put_max()
/Linux-v5.10/tools/perf/scripts/python/
Dsched-migration.py321 max_cpu = 0
323 if cpu > max_cpu:
324 max_cpu = cpu
325 return max_cpu
/Linux-v5.10/kernel/rcu/
Dtree_stall.h781 int max_cpu = -1; in rcu_fwd_progress_check() local
800 if (max_cpu < 0) in rcu_fwd_progress_check()
806 max_cpu = cpu; in rcu_fwd_progress_check()
808 if (max_cpu >= 0) in rcu_fwd_progress_check()
/Linux-v5.10/tools/perf/
Dbuiltin-sched.c194 int max_cpu; member
1546 if (this_cpu > sched->max_cpu) in map_switch_event()
1547 sched->max_cpu = this_cpu; in map_switch_event()
1556 cpus_nr = sched->max_cpu; in map_switch_event()
1932 u32 ncpus = sched->max_cpu + 1; in timehist_header()
2011 u32 max_cpus = sched->max_cpu + 1; in timehist_print_sample()
2392 printf(" %*s ", sched->max_cpu + 1, ""); in timehist_print_wakeup_event()
2452 u32 max_cpus = sched->max_cpu + 1; in timehist_print_migration_event()
2458 max_cpus = sched->max_cpu + 1; in timehist_print_migration_event()
2921 printf(" (x %d)\n", sched->max_cpu); in timehist_print_summary()
[all …]
/Linux-v5.10/arch/sparc/kernel/
Dmdesc.c800 int max_cpu, i; in report_platform_properties() local
803 max_cpu = *v; in report_platform_properties()
804 if (max_cpu > NR_CPUS) in report_platform_properties()
805 max_cpu = NR_CPUS; in report_platform_properties()
807 max_cpu = NR_CPUS; in report_platform_properties()
809 for (i = 0; i < max_cpu; i++) in report_platform_properties()
/Linux-v5.10/arch/s390/include/asm/
Dcpu_mf.h50 u16 max_cpu; member
/Linux-v5.10/drivers/net/ethernet/marvell/
Dmvneta.c1439 int max_cpu = num_present_cpus(); in mvneta_defaults_set() local
1461 if ((rxq % max_cpu) == cpu) in mvneta_defaults_set()
1465 if ((txq % max_cpu) == cpu) in mvneta_defaults_set()
4136 int elected_cpu = 0, max_cpu, cpu, i = 0; in mvneta_percpu_elect() local
4144 max_cpu = num_present_cpus(); in mvneta_percpu_elect()
4151 if ((rxq % max_cpu) == cpu) in mvneta_percpu_elect()