Searched refs:first_cpu (Results 1 - 13 of 13) sorted by relevance

/linux-master/arch/powerpc/include/asm/
H A Dparavirt.h164 int first_cpu, i; local
180 first_cpu = cpu_first_thread_sibling(raw_smp_processor_id());
188 if (cpu_first_thread_sibling(cpu) == first_cpu)
198 first_cpu = cpu_first_thread_sibling(cpu);
199 for (i = first_cpu; i < first_cpu + threads_per_core; i++) {
/linux-master/drivers/devfreq/
H A Dgovernor.h54 * @first_cpu: the cpumask of the first cpu of a policy.
67 unsigned int first_cpu; member in struct:devfreq_cpu_data
H A Dgovernor_passive.c30 if (parent_cpu_data->first_cpu == cpumask_first(policy->related_cpus))
311 parent_cpu_data->first_cpu = cpumask_first(policy->related_cpus);
/linux-master/kernel/sched/
H A Disolation.c121 unsigned int first_cpu; local
142 first_cpu = cpumask_first_and(cpu_present_mask, housekeeping_staging);
143 if (first_cpu >= nr_cpu_ids || first_cpu >= setup_max_cpus) {
/linux-master/drivers/cpufreq/
H A Dspeedstep-centrino.c426 unsigned int j, first_cpu; local
438 first_cpu = 1;
456 if (first_cpu) {
465 if (first_cpu) {
474 first_cpu = 0;
/linux-master/arch/x86/kernel/cpu/mtrr/
H A Dmtrr.c610 int first_cpu; local
615 first_cpu = cpumask_first(cpu_online_mask);
616 smp_call_function_single(first_cpu, mtrr_save_fixed_ranges, NULL, 1);
/linux-master/drivers/irqchip/
H A Dirq-bcm7038-l1.c203 unsigned int first_cpu = cpumask_any_and(dest, cpu_online_mask); local
211 intc->affinity[hw] = first_cpu;
213 __bcm7038_l1_unmask(d, first_cpu);
216 irq_data_update_effective_affinity(d, cpumask_of(first_cpu));
/linux-master/tools/virtio/
H A Dvringh_test.c144 unsigned int first_cpu, last_cpu; local
168 find_cpus(&first_cpu, &last_cpu);
169 printf("Using CPUS %u and %u\n", first_cpu, last_cpu);
191 CPU_SET(first_cpu, &cpu_set);
193 errx(1, "Could not set affinity to cpu %u", first_cpu);
315 CPU_SET(first_cpu, &cpu_set);
317 err(1, "Could not set affinity to cpu %u", first_cpu);
/linux-master/arch/sparc/kernel/
H A Dsmp_64.c649 u16 first_cpu = 0xffff; local
729 if (first_cpu != cpu_list[0]) {
730 first_cpu = cpu_list[0];
731 xc_rcvd = CPU_MONDO_COUNTER(first_cpu);
739 target_cpu_busy = (xc_rcvd < CPU_MONDO_COUNTER(first_cpu));
740 xc_rcvd = CPU_MONDO_COUNTER(first_cpu);
780 this_cpu, first_cpu, (tot_retries + retries), tot_cpus);
/linux-master/arch/powerpc/xmon/
H A Dxmon.c1325 unsigned long cpu, first_cpu, last_cpu; local
1356 last_cpu = first_cpu = NR_CPUS;
1362 if (last_cpu != first_cpu)
1364 last_cpu = first_cpu = cpu;
1369 if (last_cpu != first_cpu)
/linux-master/arch/powerpc/kvm/
H A Dbook3s_hv.c6403 int first_cpu = i * threads_per_core; local
6404 int node = cpu_to_node(first_cpu);
6407 if (paca_ptrs[first_cpu]->sibling_subcore_state)
6418 int cpu = first_cpu + j;
/linux-master/drivers/scsi/lpfc/
H A Dlpfc_attr.c5494 unsigned int cpu, first_cpu, numa_node = NUMA_NO_NODE; local
5517 first_cpu = cpumask_first(sibling_mask);
5518 if (first_cpu < nr_cpu_ids)
5519 cpumask_set_cpu(first_cpu, aff_mask);
H A Dlpfc_init.c12450 int i, cpu, idx, next_idx, new_cpu, start_cpu, first_cpu; local
12498 first_cpu = cpumask_first(cpu_present_mask);
12499 start_cpu = first_cpu;
12545 start_cpu = first_cpu;

Completed in 356 milliseconds