Home
last modified time | relevance | path

Searched refs:last_cpu (Results 1 – 13 of 13) sorted by relevance

/arch/x86/kernel/fpu/
Dcontext.h33 fpu->last_cpu = -1; in __fpu_invalidate_fpregs_state()
38 return fpu == this_cpu_read(fpu_fpregs_owner_ctx) && cpu == fpu->last_cpu; in fpregs_state_valid()
77 fpu->last_cpu = cpu; in fpregs_restore_userregs()
Dcore.c591 dst_fpu->last_cpu = -1; in fpu_clone()
832 fpu->last_cpu = smp_processor_id(); in fpregs_mark_activate()
/arch/sparc/kernel/
Dcpumap.c193 int n, id, cpu, prev_cpu, last_cpu, level; in build_cpuinfo_tree() local
233 for (last_cpu = (num_possible_cpus() - 1); last_cpu >= 0; last_cpu--) { in build_cpuinfo_tree()
234 if (cpu_online(last_cpu)) in build_cpuinfo_tree()
238 while (++cpu <= last_cpu) { in build_cpuinfo_tree()
250 if ((id != prev_id[level]) || (cpu == last_cpu)) { in build_cpuinfo_tree()
256 if (cpu == last_cpu) in build_cpuinfo_tree()
268 (cpu == last_cpu) ? cpu : prev_cpu; in build_cpuinfo_tree()
/arch/alpha/kernel/
Dirq.c48 static int last_cpu; in irq_select_affinity() local
49 int cpu = last_cpu + 1; in irq_select_affinity()
61 last_cpu = cpu; in irq_select_affinity()
/arch/ia64/include/asm/
Dswitch_to.h63 task_thread_info(current)->last_cpu))) { \
64 task_thread_info(current)->last_cpu = task_cpu(current); \
Dthread_info.h28 __u32 last_cpu; /* Last CPU thread ran on */ member
/arch/x86/include/asm/fpu/
Dsched.h53 old_fpu->last_cpu = cpu; in switch_fpu_prepare()
Dtypes.h461 unsigned int last_cpu; member
/arch/powerpc/kvm/
Dmpic.c150 int last_cpu; member
448 if (src->destmask == (1 << src->last_cpu)) { in openpic_update_irq()
450 IRQ_local_pipe(opp, src->last_cpu, n_IRQ, active, was_active); in openpic_update_irq()
461 for (i = src->last_cpu + 1; i != src->last_cpu; i++) { in openpic_update_irq()
468 src->last_cpu = i; in openpic_update_irq()
/arch/powerpc/xmon/
Dxmon.c1327 unsigned long cpu, first_cpu, last_cpu; in cpu_cmd() local
1358 last_cpu = first_cpu = NR_CPUS; in cpu_cmd()
1361 if (cpu == last_cpu + 1) { in cpu_cmd()
1362 last_cpu = cpu; in cpu_cmd()
1364 if (last_cpu != first_cpu) in cpu_cmd()
1365 printf("-0x%lx", last_cpu); in cpu_cmd()
1366 last_cpu = first_cpu = cpu; in cpu_cmd()
1371 if (last_cpu != first_cpu) in cpu_cmd()
1372 printf("-0x%lx", last_cpu); in cpu_cmd()
/arch/arm64/kvm/
Dhyp_trace.c146 int last_cpu) in hyp_trace_teardown_pages() argument
152 if (cpu > last_cpu) in hyp_trace_teardown_pages()
/arch/powerpc/include/asm/
Dkvm_book3s.h75 u16 last_cpu; member
/arch/x86/events/
Dcore.c667 event->hw.last_cpu = -1; in __x86_pmu_event_init()
1219 hwc->last_cpu = smp_processor_id(); in x86_assign_hw_event()
1277 hwc->last_cpu == smp_processor_id() && in match_prev_assignment()