/linux-6.6.21/tools/testing/selftests/kvm/ ! |
D | rseq_test.c | 33 static int min_cpu, max_cpu; variable 56 if (cpu > max_cpu) { in next_cpu() 173 max_cpu = -1; in calc_min_max_cpu() 181 max_cpu = i; in calc_min_max_cpu()
|
/linux-6.6.21/drivers/xen/ ! |
D | pcpu.c | 274 static int sync_pcpu(uint32_t cpu, uint32_t *max_cpu) in sync_pcpu() argument 290 if (max_cpu) in sync_pcpu() 291 *max_cpu = info->max_present; in sync_pcpu() 321 uint32_t cpu = 0, max_cpu = 0; in xen_sync_pcpus() local 327 while (!err && (cpu <= max_cpu)) { in xen_sync_pcpus() 328 err = sync_pcpu(cpu, &max_cpu); in xen_sync_pcpus()
|
/linux-6.6.21/arch/s390/kernel/ ! |
D | topology.c | 98 unsigned int max_cpu; in cpu_thread_map() local 107 max_cpu = min(cpu + smp_cpu_mtid, nr_cpu_ids - 1); in cpu_thread_map() 108 for (; cpu <= max_cpu; cpu++) { in cpu_thread_map() 127 unsigned int max_cpu, rcore; in add_cpus_to_mask() local 134 max_cpu = min(cpu + smp_cpu_mtid, nr_cpu_ids - 1); in add_cpus_to_mask() 135 for (; cpu <= max_cpu; cpu++) { in add_cpus_to_mask()
|
/linux-6.6.21/kernel/sched/ ! |
D | cpudeadline.c | 124 int cpu, max_cpu = -1; in cpudl_find() local 139 max_cpu = cpu; in cpudl_find() 145 cpumask_set_cpu(max_cpu, later_mask); in cpudl_find()
|
D | topology.c | 1282 int cpu, cores = 0, max_cpu = -1; in init_sched_groups_capacity() local 1299 if (max_cpu < 0) in init_sched_groups_capacity() 1300 max_cpu = cpu; in init_sched_groups_capacity() 1301 else if (sched_asym_prefer(cpu, max_cpu)) in init_sched_groups_capacity() 1302 max_cpu = cpu; in init_sched_groups_capacity() 1304 sg->asym_prefer_cpu = max_cpu; in init_sched_groups_capacity()
|
/linux-6.6.21/drivers/infiniband/hw/hfi1/ ! |
D | affinity.c | 287 int max_cpu; in per_cpu_affinity_put_max() local 297 max_cpu = cpumask_first(possible_cpumask); in per_cpu_affinity_put_max() 298 if (max_cpu >= nr_cpu_ids) in per_cpu_affinity_put_max() 301 prev_cntr = *per_cpu_ptr(comp_vect_affinity, max_cpu); in per_cpu_affinity_put_max() 306 max_cpu = curr_cpu; in per_cpu_affinity_put_max() 311 *per_cpu_ptr(comp_vect_affinity, max_cpu) -= 1; in per_cpu_affinity_put_max() 313 return max_cpu; in per_cpu_affinity_put_max()
|
/linux-6.6.21/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
|
/linux-6.6.21/tools/perf/ ! |
D | builtin-sched.c | 195 struct perf_cpu max_cpu; member 1586 if (this_cpu.cpu > sched->max_cpu.cpu) in map_switch_event() 1587 sched->max_cpu = this_cpu; in map_switch_event() 1596 cpus_nr = sched->max_cpu.cpu; in map_switch_event() 1979 u32 ncpus = sched->max_cpu.cpu + 1; in timehist_header() 2058 u32 max_cpus = sched->max_cpu.cpu + 1; in timehist_print_sample() 2447 printf(" %*s ", sched->max_cpu.cpu + 1, ""); in timehist_print_wakeup_event() 2513 max_cpus = sched->max_cpu.cpu + 1; in timehist_print_migration_event() 2957 printf(" (x %d)\n", sched->max_cpu.cpu); in timehist_print_summary() 2978 if (this_cpu.cpu > sched->max_cpu.cpu) in perf_timehist__process_sample() [all …]
|
/linux-6.6.21/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()
|
/linux-6.6.21/tools/perf/arch/x86/tests/ ! |
D | intel-pt-test.c | 438 int max_cpu = cpu__max_cpu().cpu; in test__intel_pt_hybrid_compat() local 452 for (cpu = 1, last_caps = caps0; cpu < max_cpu; cpu++) { in test__intel_pt_hybrid_compat()
|
/linux-6.6.21/kernel/rcu/ ! |
D | tree_stall.h | 1017 int max_cpu = -1; in rcu_fwd_progress_check() local 1036 if (max_cpu < 0) in rcu_fwd_progress_check() 1042 max_cpu = cpu; in rcu_fwd_progress_check() 1044 if (max_cpu >= 0) in rcu_fwd_progress_check()
|
/linux-6.6.21/arch/s390/include/asm/ ! |
D | cpu_mf.h | 50 u16 max_cpu; member
|
/linux-6.6.21/tools/perf/util/ ! |
D | synthetic-events.c | 1223 int max_cpu; member 1245 data->data->mask32_data.nr = BITS_TO_U32(data->max_cpu); in synthesize_mask() 1261 data->data->range_cpu_data.end_cpu = data->max_cpu; in synthesize_range_cpus() 1273 syn_data->max_cpu = perf_cpu_map__max(syn_data->map).cpu; in cpu_map_data__alloc() 1274 if (syn_data->max_cpu - syn_data->min_cpu + 1 == syn_data->nr - syn_data->has_any_cpu) { in cpu_map_data__alloc() 1285 BITS_TO_U32(syn_data->max_cpu) * sizeof(__u32); in cpu_map_data__alloc()
|
/linux-6.6.21/drivers/net/ethernet/marvell/ ! |
D | mvneta.c | 1479 int max_cpu = num_present_cpus(); in mvneta_defaults_set() local 1501 if ((rxq % max_cpu) == cpu) in mvneta_defaults_set() 1505 if ((txq % max_cpu) == cpu) in mvneta_defaults_set() 4331 int elected_cpu = 0, max_cpu, cpu; in mvneta_percpu_elect() local 4339 max_cpu = num_present_cpus(); in mvneta_percpu_elect() 4346 if ((rxq % max_cpu) == cpu) in mvneta_percpu_elect()
|