Searched refs:max_cpu (Results 1 – 10 of 10) sorted by relevance
/kernel/linux/linux-5.10/drivers/xen/ |
D | pcpu.c | 269 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()
|
/kernel/linux/linux-5.10/kernel/sched/ |
D | cpudeadline.c | 125 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()
|
D | topology.c | 1237 int cpu, max_cpu = -1; in init_sched_groups_capacity() local 1251 if (max_cpu < 0) in init_sched_groups_capacity() 1252 max_cpu = cpu; in init_sched_groups_capacity() 1253 else if (sched_asym_prefer(cpu, max_cpu)) in init_sched_groups_capacity() 1254 max_cpu = cpu; in init_sched_groups_capacity() 1256 sg->asym_prefer_cpu = max_cpu; in init_sched_groups_capacity() 2129 int max_cpu = READ_ONCE(d.rd->max_cap_orig_cpu); in build_sched_domains() local 2136 if (max_cpu < 0 || arch_scale_cpu_capacity(i) > in build_sched_domains() 2137 arch_scale_cpu_capacity(max_cpu)) in build_sched_domains()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
D | affinity.c | 329 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()
|
/kernel/linux/linux-5.10/tools/perf/scripts/python/ |
D | sched-migration.py | 321 max_cpu = 0 323 if cpu > max_cpu: 324 max_cpu = cpu 325 return max_cpu
|
/kernel/linux/linux-5.10/kernel/rcu/ |
D | tree_stall.h | 809 int max_cpu = -1; in rcu_fwd_progress_check() local 828 if (max_cpu < 0) in rcu_fwd_progress_check() 834 max_cpu = cpu; in rcu_fwd_progress_check() 836 if (max_cpu >= 0) in rcu_fwd_progress_check()
|
/kernel/linux/linux-5.10/tools/perf/ |
D | builtin-sched.c | 194 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 …]
|
/kernel/linux/linux-5.10/arch/sparc/kernel/ |
D | mdesc.c | 801 int max_cpu, i; in report_platform_properties() local 804 max_cpu = *v; in report_platform_properties() 805 if (max_cpu > NR_CPUS) in report_platform_properties() 806 max_cpu = NR_CPUS; in report_platform_properties() 808 max_cpu = NR_CPUS; in report_platform_properties() 810 for (i = 0; i < max_cpu; i++) in report_platform_properties()
|
/kernel/linux/linux-5.10/arch/s390/include/asm/ |
D | cpu_mf.h | 50 u16 max_cpu; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/ |
D | mvneta.c | 1439 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() 4138 int elected_cpu = 0, max_cpu, cpu, i = 0; in mvneta_percpu_elect() local 4146 max_cpu = num_present_cpus(); in mvneta_percpu_elect() 4153 if ((rxq % max_cpu) == cpu) in mvneta_percpu_elect()
|