/Linux-v6.1/kernel/ |
D | panic.c | 163 int old_cpu, cpu; in nmi_panic() local 166 old_cpu = atomic_cmpxchg(&panic_cpu, PANIC_CPU_INVALID, cpu); in nmi_panic() 168 if (old_cpu == PANIC_CPU_INVALID) in nmi_panic() 170 else if (old_cpu != cpu) in nmi_panic() 216 int old_cpu, this_cpu; in panic() local 254 old_cpu = atomic_cmpxchg(&panic_cpu, PANIC_CPU_INVALID, this_cpu); in panic() 256 if (old_cpu != PANIC_CPU_INVALID && old_cpu != this_cpu) in panic()
|
D | kexec_core.c | 986 int old_cpu, this_cpu; in crash_kexec() local 994 old_cpu = atomic_cmpxchg(&panic_cpu, PANIC_CPU_INVALID, this_cpu); in crash_kexec() 995 if (old_cpu == PANIC_CPU_INVALID) { in crash_kexec()
|
/Linux-v6.1/drivers/xen/events/ |
D | events_internal.h | 19 unsigned int old_cpu); 66 unsigned int old_cpu) in xen_evtchn_port_bind_to_cpu() argument 68 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-v6.1/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-v6.1/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-v6.1/kernel/debug/kdb/ |
D | kdb_io.c | 590 int this_cpu, old_cpu; in vkdb_printf() local 602 old_cpu = cmpxchg(&kdb_printf_cpu, -1, this_cpu); in vkdb_printf() 603 if (old_cpu == -1 || old_cpu == this_cpu) in vkdb_printf() 853 smp_store_release(&kdb_printf_cpu, old_cpu); in vkdb_printf()
|
/Linux-v6.1/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-v6.1/drivers/irqchip/ |
D | irq-bcm6345-l1.c | 199 unsigned int old_cpu = cpu_for_irq(intc, d); in bcm6345_l1_set_affinity() local 215 if (old_cpu != new_cpu) { in bcm6345_l1_set_affinity() 216 enabled = intc->cpus[old_cpu]->enable_cache[word] & mask; in bcm6345_l1_set_affinity()
|
/Linux-v6.1/drivers/hv/ |
D | hyperv_vmbus.h | 449 static inline void hv_update_allocated_cpus(unsigned int old_cpu, in hv_update_allocated_cpus() argument 453 hv_clear_allocated_cpu(old_cpu); in hv_update_allocated_cpus()
|
/Linux-v6.1/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-v6.1/arch/x86/events/intel/ |
D | uncore.c | 1435 static void uncore_change_type_ctx(struct intel_uncore_type *type, int old_cpu, in uncore_change_type_ctx() argument 1442 die = topology_logical_die_id(old_cpu < 0 ? new_cpu : old_cpu); in uncore_change_type_ctx() 1448 if (old_cpu < 0) { in uncore_change_type_ctx() 1454 WARN_ON_ONCE(box->cpu != old_cpu); in uncore_change_type_ctx() 1460 perf_pmu_migrate_context(&pmu->pmu, old_cpu, new_cpu); in uncore_change_type_ctx() 1466 int old_cpu, int new_cpu) in uncore_change_context() argument 1469 uncore_change_type_ctx(*uncores, old_cpu, new_cpu); in uncore_change_context()
|
/Linux-v6.1/arch/powerpc/kernel/ |
D | fadump.c | 696 int old_cpu, this_cpu; in crash_fadump() local 711 old_cpu = cmpxchg(&crashing_cpu, -1, this_cpu); in crash_fadump() 713 if (old_cpu != -1) { in crash_fadump()
|
/Linux-v6.1/arch/powerpc/perf/ |
D | imc-pmu.c | 337 static void nest_change_cpu_context(int old_cpu, int new_cpu) in nest_change_cpu_context() argument 341 if (old_cpu < 0 || new_cpu < 0) in nest_change_cpu_context() 345 perf_pmu_migrate_context(&(*pn)->pmu, old_cpu, new_cpu); in nest_change_cpu_context()
|