Searched refs:last_cpu (Results 1 - 20 of 20) sorted by relevance

/linux-4.4.14/arch/alpha/kernel/
H A Dirq.c47 static int last_cpu; irq_select_affinity() local
48 int cpu = last_cpu + 1; irq_select_affinity()
60 last_cpu = cpu; irq_select_affinity()
/linux-4.4.14/arch/arm/mach-tegra/
H A Dcpuidle-tegra30.c116 bool last_cpu; tegra30_idle_lp2() local
120 last_cpu = tegra_set_cpu_in_lp2(); tegra30_idle_lp2()
124 if (last_cpu) tegra30_idle_lp2()
H A Dpm.c137 bool last_cpu = false; tegra_set_cpu_in_lp2() local
147 last_cpu = true; tegra_set_cpu_in_lp2()
152 return last_cpu; tegra_set_cpu_in_lp2()
/linux-4.4.14/arch/sparc/kernel/
H A Dcpumap.c192 int n, id, cpu, prev_cpu, last_cpu, level; build_cpuinfo_tree() local
233 for (last_cpu = (num_possible_cpus() - 1); last_cpu >= 0; last_cpu--) { build_cpuinfo_tree()
234 if (cpu_online(last_cpu)) build_cpuinfo_tree()
238 while (++cpu <= last_cpu) { build_cpuinfo_tree()
250 if ((id != prev_id[level]) || (cpu == last_cpu)) { build_cpuinfo_tree()
256 if (cpu == last_cpu) build_cpuinfo_tree()
268 (cpu == last_cpu) ? cpu : prev_cpu; build_cpuinfo_tree()
/linux-4.4.14/arch/ia64/include/asm/
H A Dswitch_to.h70 task_thread_info(current)->last_cpu))) { \
72 task_thread_info(current)->last_cpu = task_cpu(current); \
H A Dthread_info.h25 __u32 last_cpu; /* Last CPU thread ran on */ member in struct:thread_info
/linux-4.4.14/drivers/staging/rdma/ehca/
H A Dehca_irq.h70 int last_cpu; member in struct:ehca_comp_pool
H A Dehca_irq.c667 cpu = cpumask_next(pool->last_cpu, cpu_online_mask); find_next_online_cpu()
670 pool->last_cpu = cpu; find_next_online_cpu()
825 pool->last_cpu = cpumask_any(cpu_online_mask); ehca_create_comp_pool()
/linux-4.4.14/arch/x86/include/asm/fpu/
H A Dtypes.h260 * @last_cpu:
271 unsigned int last_cpu; member in struct:fpu
331 * we track though 'fpu_fpregs_owner_ctx' and 'fpu->last_cpu'.
H A Dinternal.h502 return fpu == this_cpu_read_stable(fpu_fpregs_owner_ctx) && cpu == fpu->last_cpu; fpu_want_lazy_restore()
603 old_fpu->last_cpu = -1; switch_fpu_prepare()
605 old_fpu->last_cpu = cpu; switch_fpu_prepare()
620 old_fpu->last_cpu = -1; switch_fpu_prepare()
/linux-4.4.14/drivers/xen/
H A Dxen-acpi-processor.c300 unsigned int i, last_cpu, max_acpi_id = 0; get_max_acpi_id() local
310 last_cpu = op.u.pcpu_info.max_present; get_max_acpi_id()
311 for (i = 0; i <= last_cpu; i++) { get_max_acpi_id()
/linux-4.4.14/tools/virtio/
H A Dvringh_test.c143 unsigned int first_cpu, last_cpu; parallel_test() local
167 find_cpus(&first_cpu, &last_cpu); parallel_test()
168 printf("Using CPUS %u and %u\n", first_cpu, last_cpu); parallel_test()
/linux-4.4.14/arch/powerpc/kvm/
H A Dmpic.c151 int last_cpu; member in struct:irq_source
449 if (src->destmask == (1 << src->last_cpu)) { openpic_update_irq()
451 IRQ_local_pipe(opp, src->last_cpu, n_IRQ, active, was_active); openpic_update_irq()
462 for (i = src->last_cpu + 1; i != src->last_cpu; i++) { openpic_update_irq()
469 src->last_cpu = i; openpic_update_irq()
/linux-4.4.14/arch/x86/kernel/fpu/
H A Dcore.c271 dst_fpu->last_cpu = -1; fpu__copy()
345 fpu->last_cpu = -1; fpu__activate_fpstate_write()
/linux-4.4.14/arch/powerpc/xmon/
H A Dxmon.c1042 unsigned long cpu, first_cpu, last_cpu; cpu_cmd() local
1048 last_cpu = first_cpu = NR_CPUS; for_each_possible_cpu()
1051 if (cpu == last_cpu + 1) { for_each_possible_cpu()
1052 last_cpu = cpu; for_each_possible_cpu()
1054 if (last_cpu != first_cpu) for_each_possible_cpu()
1055 printf("-0x%lx", last_cpu); for_each_possible_cpu()
1056 last_cpu = first_cpu = cpu; for_each_possible_cpu()
1061 if (last_cpu != first_cpu)
1062 printf("-0x%lx", last_cpu);
/linux-4.4.14/arch/ia64/sn/kernel/sn2/
H A Dsn2_smp.c112 pda_t *last_pda = pdacpu(task_thread_info(task)->last_cpu); sn_migrate()
/linux-4.4.14/arch/x86/kernel/cpu/
H A Dperf_event.c568 event->hw.last_cpu = -1; __x86_pmu_event_init()
983 hwc->last_cpu = smp_processor_id(); x86_assign_hw_event()
1005 hwc->last_cpu == smp_processor_id() && match_prev_assignment()
/linux-4.4.14/arch/powerpc/include/asm/
H A Dkvm_host.h282 u16 last_cpu; member in struct:kvmppc_vcore
/linux-4.4.14/include/linux/
H A Dperf_event.h108 int last_cpu; member in struct:hw_perf_event::__anon13073::__anon13074
/linux-4.4.14/arch/ia64/kernel/
H A Dperfmon.c318 unsigned long ctx_last_activation; /* context last activation number for last_cpu */

Completed in 645 milliseconds