Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/arch/x86/include/asm/fpu/
Dinternal.h469 fpu->last_cpu = -1; in __fpu_invalidate_fpregs_state()
474 return fpu == this_cpu_read(fpu_fpregs_owner_ctx) && cpu == fpu->last_cpu; in fpregs_state_valid()
507 fpu->last_cpu = cpu; in __fpregs_load_activate()
540 old_fpu->last_cpu = -1; in switch_fpu_prepare()
542 old_fpu->last_cpu = cpu; in switch_fpu_prepare()
Dtypes.h330 unsigned int last_cpu; member
/kernel/linux/linux-5.10/drivers/opp/
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()
Dopp.h225 void _dev_pm_opp_cpumask_remove_table(const struct cpumask *cpumask, int last_cpu);
/kernel/linux/linux-5.10/drivers/net/wireguard/
Ddevice.h31 int last_cpu; member
Dreceive.c534 wg->packet_crypt_wq, &wg->decrypt_queue.last_cpu); in wg_packet_consume_data()
575 cpu = wg_cpumask_next_online(&wg->handshake_queue.last_cpu); in wg_packet_receive()
Dsend.c321 wg->packet_crypt_wq, &wg->encrypt_queue.last_cpu); in wg_packet_create_data()
/kernel/linux/linux-5.10/arch/x86/kernel/fpu/
Dcore.c218 dst_fpu->last_cpu = -1; in fpu__copy()
433 fpu->last_cpu = smp_processor_id(); in fpregs_mark_activate()
/kernel/linux/linux-5.10/tools/perf/util/
Dcpumap.c545 int last_cpu = cpu_map__cpu(map, map->nr - 1); in cpu_map__snprint_mask() local
550 bitmap = zalloc(last_cpu / 8 + 1); in cpu_map__snprint_mask()
561 for (cpu = last_cpu / 4 * 4; cpu >= 0; cpu -= 4) { in cpu_map__snprint_mask()
/kernel/linux/linux-5.10/tools/perf/
Dbuiltin-ftrace.c304 int last_cpu; in set_tracing_cpumask() local
306 last_cpu = cpu_map__cpu(cpumap, cpumap->nr - 1); in set_tracing_cpumask()
307 mask_size = last_cpu / 4 + 2; /* one more byte for EOS */ in set_tracing_cpumask()
308 mask_size += last_cpu / 32; /* ',' is needed for every 32th cpus */ in set_tracing_cpumask()
/kernel/linux/linux-5.10/drivers/xen/
Dxen-acpi-processor.c293 unsigned int i, last_cpu, max_acpi_id = 0; in get_max_acpi_id() local
303 last_cpu = op.u.pcpu_info.max_present; in get_max_acpi_id()
304 for (i = 0; i <= last_cpu; i++) { in get_max_acpi_id()
/kernel/linux/linux-5.10/drivers/crypto/caam/
Dqi.c58 static DEFINE_PER_CPU(int, last_cpu);
436 int *pcpu = &get_cpu_var(last_cpu); in caam_drv_ctx_init()
443 put_cpu_var(last_cpu); in caam_drv_ctx_init()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/tools/virtio/
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()
/kernel/linux/linux-5.10/arch/powerpc/xmon/
Dxmon.c1248 unsigned long cpu, first_cpu, last_cpu; in cpu_cmd() local
1254 last_cpu = first_cpu = NR_CPUS; in cpu_cmd()
1257 if (cpu == last_cpu + 1) { in cpu_cmd()
1258 last_cpu = cpu; in cpu_cmd()
1260 if (last_cpu != first_cpu) in cpu_cmd()
1261 printf("-0x%lx", last_cpu); in cpu_cmd()
1262 last_cpu = first_cpu = cpu; in cpu_cmd()
1267 if (last_cpu != first_cpu) in cpu_cmd()
1268 printf("-0x%lx", last_cpu); in cpu_cmd()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dkvm_book3s.h75 u16 last_cpu; member
/kernel/linux/linux-5.10/arch/x86/events/
Dcore.c641 event->hw.last_cpu = -1; in __x86_pmu_event_init()
1175 hwc->last_cpu = smp_processor_id(); in x86_assign_hw_event()
1231 hwc->last_cpu == smp_processor_id() && in match_prev_assignment()
/kernel/linux/linux-5.10/drivers/scsi/lpfc/
Dlpfc_sli4.h164 uint16_t last_cpu; /* most recent cpu */ member
Dlpfc_init.c1320 ena_delay[eq->last_cpu] = 1; in lpfc_hb_eq_delay_work()
1337 if (unlikely(eq->last_cpu != i)) { in lpfc_hb_eq_delay_work()
1339 eq->last_cpu); in lpfc_hb_eq_delay_work()
9062 qdesc->last_cpu = qdesc->chann; in lpfc_sli4_queue_create()
9067 eqi = per_cpu_ptr(phba->sli4_hba.eq_info, qdesc->last_cpu); in lpfc_sli4_queue_create()
Dlpfc_sli.c14608 fpeq->last_cpu = raw_smp_processor_id(); in lpfc_sli4_hba_intr_handler()
/kernel/linux/linux-5.10/include/linux/
Dperf_event.h144 int last_cpu; member