/linux-master/arch/powerpc/include/asm/ |
H A D | paravirt.h | 164 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 D | governor.h | 54 * @first_cpu: the cpumask of the first cpu of a policy. 67 unsigned int first_cpu; member in struct:devfreq_cpu_data
|
H A D | governor_passive.c | 30 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 D | isolation.c | 121 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 D | speedstep-centrino.c | 426 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 D | mtrr.c | 610 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 D | irq-bcm7038-l1.c | 203 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 D | vringh_test.c | 144 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 D | smp_64.c | 649 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 D | xmon.c | 1325 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 D | book3s_hv.c | 6403 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 D | lpfc_attr.c | 5494 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 D | lpfc_init.c | 12450 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;
|