/linux-6.12.1/arch/sparc/kernel/ |
D | cpumap.c | 193 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.12.1/arch/x86/kernel/fpu/ |
D | context.h | 33 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()
|
D | core.c | 591 dst_fpu->last_cpu = -1; in fpu_clone() 832 fpu->last_cpu = smp_processor_id(); in fpregs_mark_activate()
|
/linux-6.12.1/arch/alpha/kernel/ |
D | irq.c | 49 static int last_cpu; in irq_select_affinity() local 50 int cpu = last_cpu + 1; in irq_select_affinity() 62 last_cpu = cpu; in irq_select_affinity()
|
/linux-6.12.1/drivers/net/wireguard/ |
D | queueing.h | 125 static inline int wg_cpumask_next_online(int *last_cpu) in wg_cpumask_next_online() argument 127 int cpu = cpumask_next(READ_ONCE(*last_cpu), cpu_online_mask); in wg_cpumask_next_online() 130 WRITE_ONCE(*last_cpu, cpu); in wg_cpumask_next_online() 173 cpu = wg_cpumask_next_online(&device_queue->last_cpu); in wg_queue_enqueue_per_device_and_peer()
|
D | device.h | 31 int last_cpu; member
|
D | queueing.c | 31 queue->last_cpu = -1; in wg_packet_queue_init()
|
D | receive.c | 568 cpu = wg_cpumask_next_online(&wg->handshake_queue.last_cpu); in wg_packet_receive()
|
/linux-6.12.1/drivers/opp/ |
D | cpu.c | 109 int last_cpu) in _dev_pm_opp_cpumask_remove_table() argument 117 if (cpu == last_cpu) in _dev_pm_opp_cpumask_remove_table()
|
D | opp.h | 263 void _dev_pm_opp_cpumask_remove_table(const struct cpumask *cpumask, int last_cpu);
|
/linux-6.12.1/arch/x86/include/asm/fpu/ |
D | sched.h | 55 old_fpu->last_cpu = cpu; in switch_fpu_prepare()
|
D | types.h | 463 unsigned int last_cpu; member
|
/linux-6.12.1/drivers/xen/ |
D | xen-acpi-processor.c | 294 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.12.1/tools/perf/util/ |
D | cpumap.c | 659 struct perf_cpu c, last_cpu = perf_cpu_map__max(map); in cpu_map__snprint_mask() local 664 bitmap = zalloc(last_cpu.cpu / 8 + 1); in cpu_map__snprint_mask() 673 for (int cpu = last_cpu.cpu / 4 * 4; cpu >= 0; cpu -= 4) { in cpu_map__snprint_mask()
|
/linux-6.12.1/arch/powerpc/kvm/ |
D | mpic.c | 150 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.12.1/drivers/crypto/caam/ |
D | qi.c | 65 static DEFINE_PER_CPU(int, last_cpu); 443 int *pcpu = &get_cpu_var(last_cpu); in caam_drv_ctx_init() 450 put_cpu_var(last_cpu); in caam_drv_ctx_init()
|
/linux-6.12.1/kernel/ |
D | smp.c | 790 int cpu, last_cpu, this_cpu = smp_processor_id(); in smp_call_function_many_cond() local 856 last_cpu = cpu; in smp_call_function_many_cond() 866 send_call_function_single_ipi(last_cpu); in smp_call_function_many_cond()
|
/linux-6.12.1/tools/virtio/ |
D | vringh_test.c | 144 unsigned int first_cpu, last_cpu; in parallel_test() local 171 find_cpus(&first_cpu, &last_cpu); in parallel_test() 172 printf("Using CPUS %u and %u\n", first_cpu, last_cpu); in parallel_test()
|
/linux-6.12.1/arch/powerpc/xmon/ |
D | xmon.c | 1325 unsigned long cpu, first_cpu, last_cpu; in cpu_cmd() local 1356 last_cpu = first_cpu = NR_CPUS; in cpu_cmd() 1359 if (cpu == last_cpu + 1) { in cpu_cmd() 1360 last_cpu = cpu; in cpu_cmd() 1362 if (last_cpu != first_cpu) in cpu_cmd() 1363 printf("-0x%lx", last_cpu); in cpu_cmd() 1364 last_cpu = first_cpu = cpu; in cpu_cmd() 1369 if (last_cpu != first_cpu) in cpu_cmd() 1370 printf("-0x%lx", last_cpu); in cpu_cmd()
|
/linux-6.12.1/tools/perf/ |
D | builtin-ftrace.c | 322 int last_cpu; in set_tracing_cpumask() local 324 last_cpu = perf_cpu_map__cpu(cpumap, perf_cpu_map__nr(cpumap) - 1).cpu; in set_tracing_cpumask() 325 mask_size = last_cpu / 4 + 2; /* one more byte for EOS */ in set_tracing_cpumask() 326 mask_size += last_cpu / 32; /* ',' is needed for every 32th cpus */ in set_tracing_cpumask()
|
/linux-6.12.1/arch/x86/events/ |
D | core.c | 674 event->hw.last_cpu = -1; in __x86_pmu_event_init() 1223 hwc->last_cpu = smp_processor_id(); in x86_assign_hw_event() 1280 hwc->last_cpu == smp_processor_id() && in match_prev_assignment()
|
/linux-6.12.1/arch/powerpc/include/asm/ |
D | kvm_book3s.h | 76 u16 last_cpu; member
|
/linux-6.12.1/drivers/scsi/lpfc/ |
D | lpfc_sli4.h | 164 uint16_t last_cpu; /* most recent cpu */ member
|
D | lpfc_init.c | 1375 ena_delay[eq->last_cpu] = 1; in lpfc_hb_eq_delay_work() 1392 if (unlikely(eq->last_cpu != i)) { in lpfc_hb_eq_delay_work() 1394 eq->last_cpu); in lpfc_hb_eq_delay_work() 10564 qdesc->last_cpu = qdesc->chann; in lpfc_sli4_queue_create() 10569 eqi = per_cpu_ptr(phba->sli4_hba.eq_info, qdesc->last_cpu); in lpfc_sli4_queue_create()
|
/linux-6.12.1/include/linux/ |
D | perf_event.h | 165 int last_cpu; member
|