/linux-6.6.21/kernel/ |
D | panic.c | 195 int old_cpu, cpu; in nmi_panic() local 198 old_cpu = atomic_cmpxchg(&panic_cpu, PANIC_CPU_INVALID, cpu); in nmi_panic() 200 if (old_cpu == PANIC_CPU_INVALID) in nmi_panic() 202 else if (old_cpu != cpu) in nmi_panic() 282 int old_cpu, this_cpu; in panic() local 320 old_cpu = atomic_cmpxchg(&panic_cpu, PANIC_CPU_INVALID, this_cpu); in panic() 322 if (old_cpu != PANIC_CPU_INVALID && old_cpu != this_cpu) in panic()
|
D | kexec_core.c | 1076 int old_cpu, this_cpu; in crash_kexec() local 1084 old_cpu = atomic_cmpxchg(&panic_cpu, PANIC_CPU_INVALID, this_cpu); in crash_kexec() 1085 if (old_cpu == PANIC_CPU_INVALID) { in crash_kexec()
|
/linux-6.6.21/drivers/xen/events/ |
D | events_internal.h | 19 unsigned int old_cpu); 65 unsigned int old_cpu) in xen_evtchn_port_bind_to_cpu() argument 67 evtchn_ops->bind_to_cpu(evtchn, cpu, old_cpu); in xen_evtchn_port_bind_to_cpu()
|
D | events_2l.c | 56 unsigned int old_cpu) in evtchn_2l_bind_to_cpu() argument 58 clear_bit(evtchn, BM(per_cpu(cpu_evtchn_mask, old_cpu))); in evtchn_2l_bind_to_cpu()
|
D | events_fifo.c | 189 unsigned int old_cpu) in evtchn_fifo_bind_to_cpu() argument
|
/linux-6.6.21/arch/mips/sibyte/sb1250/ |
D | irq.c | 73 int i = 0, old_cpu, cpu, int_on; in sb1250_set_affinity() local 87 old_cpu = sb1250_irq_owner[irq]; in sb1250_set_affinity() 88 cur_ints = ____raw_readq(IOADDR(A_IMR_MAPPER(old_cpu) + in sb1250_set_affinity() 94 ____raw_writeq(cur_ints, IOADDR(A_IMR_MAPPER(old_cpu) + in sb1250_set_affinity()
|
/linux-6.6.21/arch/mips/sibyte/bcm1480/ |
D | irq.c | 81 int i = 0, old_cpu, cpu, int_on, k; in bcm1480_set_affinity() local 94 old_cpu = bcm1480_irq_owner[irq]; in bcm1480_set_affinity() 101 …cur_ints = ____raw_readq(IOADDR(A_BCM1480_IMR_MAPPER(old_cpu) + R_BCM1480_IMR_INTERRUPT_MASK_H + (… in bcm1480_set_affinity() 106 …____raw_writeq(cur_ints, IOADDR(A_BCM1480_IMR_MAPPER(old_cpu) + R_BCM1480_IMR_INTERRUPT_MASK_H + (… in bcm1480_set_affinity()
|
/linux-6.6.21/kernel/debug/kdb/ |
D | kdb_io.c | 620 int this_cpu, old_cpu; in vkdb_printf() local 632 old_cpu = cmpxchg(&kdb_printf_cpu, -1, this_cpu); in vkdb_printf() 633 if (old_cpu == -1 || old_cpu == this_cpu) in vkdb_printf() 883 smp_store_release(&kdb_printf_cpu, old_cpu); in vkdb_printf()
|
/linux-6.6.21/tools/perf/scripts/python/ |
D | sched-migration.py | 191 def migrate(self, ts_list, new, old_cpu, new_cpu): argument 192 if old_cpu == new_cpu: 194 old_rq = self.prev.rqs[old_cpu] 196 self.rqs[old_cpu] = out_rq 207 self.event_cpus.append(old_cpu)
|
/linux-6.6.21/drivers/irqchip/ |
D | irq-bcm6345-l1.c | 193 unsigned int old_cpu = cpu_for_irq(intc, d); in bcm6345_l1_set_affinity() local 209 if (old_cpu != new_cpu) { in bcm6345_l1_set_affinity() 210 enabled = intc->cpus[old_cpu]->enable_cache[word] & mask; in bcm6345_l1_set_affinity()
|
/linux-6.6.21/drivers/hv/ |
D | hyperv_vmbus.h | 454 static inline void hv_update_allocated_cpus(unsigned int old_cpu, in hv_update_allocated_cpus() argument 458 hv_clear_allocated_cpu(old_cpu); in hv_update_allocated_cpus()
|
/linux-6.6.21/drivers/infiniband/hw/hfi1/ |
D | affinity.c | 745 int i, old_cpu; in hfi1_update_sdma_affinity() local 755 old_cpu = sde->cpu; in hfi1_update_sdma_affinity() 778 if (cpumask_test_cpu(old_cpu, &other_msix->mask)) in hfi1_update_sdma_affinity() 781 cpumask_clear_cpu(old_cpu, &set->mask); in hfi1_update_sdma_affinity() 782 cpumask_clear_cpu(old_cpu, &set->used); in hfi1_update_sdma_affinity()
|
/linux-6.6.21/arch/x86/events/intel/ |
D | uncore.c | 1456 static void uncore_change_type_ctx(struct intel_uncore_type *type, int old_cpu, in uncore_change_type_ctx() argument 1463 die = topology_logical_die_id(old_cpu < 0 ? new_cpu : old_cpu); in uncore_change_type_ctx() 1469 if (old_cpu < 0) { in uncore_change_type_ctx() 1475 WARN_ON_ONCE(box->cpu != old_cpu); in uncore_change_type_ctx() 1481 perf_pmu_migrate_context(&pmu->pmu, old_cpu, new_cpu); in uncore_change_type_ctx() 1487 int old_cpu, int new_cpu) in uncore_change_context() argument 1490 uncore_change_type_ctx(*uncores, old_cpu, new_cpu); in uncore_change_context()
|
/linux-6.6.21/arch/powerpc/kernel/ |
D | fadump.c | 697 int old_cpu, this_cpu; in crash_fadump() local 712 old_cpu = cmpxchg(&crashing_cpu, -1, this_cpu); in crash_fadump() 714 if (old_cpu != -1) { in crash_fadump()
|
/linux-6.6.21/arch/powerpc/perf/ |
D | imc-pmu.c | 344 static void nest_change_cpu_context(int old_cpu, int new_cpu) in nest_change_cpu_context() argument 348 if (old_cpu < 0 || new_cpu < 0) in nest_change_cpu_context() 352 perf_pmu_migrate_context(&(*pn)->pmu, old_cpu, new_cpu); in nest_change_cpu_context()
|