Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/arch/sparc/kernel/
A 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()
/linux-6.3-rc2/arch/x86/kernel/fpu/
A Dcontext.h34 fpu->last_cpu = -1; in __fpu_invalidate_fpregs_state()
39 return fpu == this_cpu_read(fpu_fpregs_owner_ctx) && cpu == fpu->last_cpu; in fpregs_state_valid()
78 fpu->last_cpu = cpu; in fpregs_restore_userregs()
A Dcore.c562 dst_fpu->last_cpu = -1; in fpu_clone()
779 fpu->last_cpu = smp_processor_id(); in fpregs_mark_activate()
/linux-6.3-rc2/arch/alpha/kernel/
A 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()
/linux-6.3-rc2/arch/ia64/include/asm/
A Dswitch_to.h63 task_thread_info(current)->last_cpu))) { \
64 task_thread_info(current)->last_cpu = task_cpu(current); \
A Dthread_info.h28 __u32 last_cpu; /* Last CPU thread ran on */ member
/linux-6.3-rc2/drivers/opp/
A Dcpu.c109 int last_cpu) in _dev_pm_opp_cpumask_remove_table() argument
117 if (cpu == last_cpu) in _dev_pm_opp_cpumask_remove_table()
A Dopp.h256 void _dev_pm_opp_cpumask_remove_table(const struct cpumask *cpumask, int last_cpu);
/linux-6.3-rc2/arch/x86/include/asm/fpu/
A Dsched.h52 old_fpu->last_cpu = cpu; in switch_fpu_prepare()
A Dtypes.h449 unsigned int last_cpu; member
/linux-6.3-rc2/drivers/net/wireguard/
A Ddevice.h31 int last_cpu; member
A Dreceive.c527 wg->packet_crypt_wq, &wg->decrypt_queue.last_cpu); in wg_packet_consume_data()
568 cpu = wg_cpumask_next_online(&wg->handshake_queue.last_cpu); in wg_packet_receive()
A Dsend.c321 wg->packet_crypt_wq, &wg->encrypt_queue.last_cpu); in wg_packet_create_data()
/linux-6.3-rc2/drivers/xen/
A Dxen-acpi-processor.c294 unsigned int i, last_cpu, max_acpi_id = 0; in get_max_acpi_id() local
304 last_cpu = op.u.pcpu_info.max_present; in get_max_acpi_id()
305 for (i = 0; i <= last_cpu; i++) { in get_max_acpi_id()
/linux-6.3-rc2/tools/perf/
A Dbuiltin-ftrace.c282 int last_cpu; in set_tracing_cpumask() local
284 last_cpu = perf_cpu_map__cpu(cpumap, perf_cpu_map__nr(cpumap) - 1).cpu; in set_tracing_cpumask()
285 mask_size = last_cpu / 4 + 2; /* one more byte for EOS */ in set_tracing_cpumask()
286 mask_size += last_cpu / 32; /* ',' is needed for every 32th cpus */ in set_tracing_cpumask()
/linux-6.3-rc2/drivers/crypto/caam/
A Dqi.c64 static DEFINE_PER_CPU(int, last_cpu);
442 int *pcpu = &get_cpu_var(last_cpu); in caam_drv_ctx_init()
449 put_cpu_var(last_cpu); in caam_drv_ctx_init()
/linux-6.3-rc2/tools/perf/util/
A Dcpumap.c636 struct perf_cpu last_cpu = perf_cpu_map__cpu(map, map->nr - 1); in cpu_map__snprint_mask() local
641 bitmap = zalloc(last_cpu.cpu / 8 + 1); in cpu_map__snprint_mask()
652 for (cpu = last_cpu.cpu / 4 * 4; cpu >= 0; cpu -= 4) { in cpu_map__snprint_mask()
/linux-6.3-rc2/arch/powerpc/kvm/
A 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()
/linux-6.3-rc2/tools/virtio/
A Dvringh_test.c144 unsigned int first_cpu, last_cpu; in parallel_test() local
168 find_cpus(&first_cpu, &last_cpu); in parallel_test()
169 printf("Using CPUS %u and %u\n", first_cpu, last_cpu); in parallel_test()
/linux-6.3-rc2/arch/powerpc/xmon/
A Dxmon.c1326 unsigned long cpu, first_cpu, last_cpu; in cpu_cmd() local
1357 last_cpu = first_cpu = NR_CPUS; in cpu_cmd()
1360 if (cpu == last_cpu + 1) { in cpu_cmd()
1361 last_cpu = cpu; in cpu_cmd()
1363 if (last_cpu != first_cpu) in cpu_cmd()
1364 printf("-0x%lx", last_cpu); in cpu_cmd()
1365 last_cpu = first_cpu = cpu; in cpu_cmd()
1370 if (last_cpu != first_cpu) in cpu_cmd()
1371 printf("-0x%lx", last_cpu); in cpu_cmd()
/linux-6.3-rc2/kernel/
A Dsmp.c887 int cpu, last_cpu, this_cpu = smp_processor_id(); in smp_call_function_many_cond() local
951 last_cpu = cpu; in smp_call_function_many_cond()
967 send_call_function_single_ipi(last_cpu); in smp_call_function_many_cond()
/linux-6.3-rc2/arch/powerpc/include/asm/
A Dkvm_book3s.h75 u16 last_cpu; member
/linux-6.3-rc2/arch/x86/events/
A Dcore.c669 event->hw.last_cpu = -1; in __x86_pmu_event_init()
1221 hwc->last_cpu = smp_processor_id(); in x86_assign_hw_event()
1279 hwc->last_cpu == smp_processor_id() && in match_prev_assignment()
/linux-6.3-rc2/drivers/scsi/lpfc/
A Dlpfc_sli4.h164 uint16_t last_cpu; /* most recent cpu */ member
/linux-6.3-rc2/include/linux/
A Dperf_event.h165 int last_cpu; member

Completed in 77 milliseconds

12