Home
last modified time | relevance | path

Searched refs:old_cpu (Results 1 – 15 of 15) sorted by relevance

/linux/kernel/
A Dpanic.c137 int old_cpu, cpu; in nmi_panic() local
140 old_cpu = atomic_cmpxchg(&panic_cpu, PANIC_CPU_INVALID, cpu); in nmi_panic()
142 if (old_cpu == PANIC_CPU_INVALID) in nmi_panic()
144 else if (old_cpu != cpu) in nmi_panic()
184 int old_cpu, this_cpu; in panic() local
212 old_cpu = atomic_cmpxchg(&panic_cpu, PANIC_CPU_INVALID, this_cpu); in panic()
214 if (old_cpu != PANIC_CPU_INVALID && old_cpu != this_cpu) in panic()
A Dkexec_core.c971 int old_cpu, this_cpu; in crash_kexec() local
979 old_cpu = atomic_cmpxchg(&panic_cpu, PANIC_CPU_INVALID, this_cpu); in crash_kexec()
980 if (old_cpu == PANIC_CPU_INVALID) { in crash_kexec()
/linux/drivers/xen/events/
A Devents_internal.h19 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()
A Devents_2l.c56 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()
A Devents_fifo.c189 unsigned int old_cpu) in evtchn_fifo_bind_to_cpu() argument
/linux/arch/mips/sibyte/sb1250/
A Dirq.c73 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/arch/mips/sibyte/bcm1480/
A Dirq.c81 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/kernel/debug/kdb/
A Dkdb_io.c591 int this_cpu, old_cpu; in vkdb_printf() local
603 old_cpu = cmpxchg(&kdb_printf_cpu, -1, this_cpu); in vkdb_printf()
604 if (old_cpu == -1 || old_cpu == this_cpu) in vkdb_printf()
854 smp_store_release(&kdb_printf_cpu, old_cpu); in vkdb_printf()
/linux/tools/perf/scripts/python/
A Dsched-migration.py191 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/drivers/irqchip/
A Dirq-bcm6345-l1.c199 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/drivers/hv/
A Dhyperv_vmbus.h442 static inline void hv_update_alloced_cpus(unsigned int old_cpu, in hv_update_alloced_cpus() argument
446 hv_clear_alloced_cpu(old_cpu); in hv_update_alloced_cpus()
/linux/drivers/infiniband/hw/hfi1/
A Daffinity.c746 int i, old_cpu; in hfi1_update_sdma_affinity() local
756 old_cpu = sde->cpu; in hfi1_update_sdma_affinity()
779 if (cpumask_test_cpu(old_cpu, &other_msix->mask)) in hfi1_update_sdma_affinity()
782 cpumask_clear_cpu(old_cpu, &set->mask); in hfi1_update_sdma_affinity()
783 cpumask_clear_cpu(old_cpu, &set->used); in hfi1_update_sdma_affinity()
/linux/arch/x86/events/intel/
A Duncore.c1435 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/arch/powerpc/kernel/
A Dfadump.c684 int old_cpu, this_cpu; in crash_fadump() local
699 old_cpu = cmpxchg(&crashing_cpu, -1, this_cpu); in crash_fadump()
701 if (old_cpu != -1) { in crash_fadump()
/linux/arch/powerpc/perf/
A Dimc-pmu.c330 static void nest_change_cpu_context(int old_cpu, int new_cpu) in nest_change_cpu_context() argument
334 if (old_cpu < 0 || new_cpu < 0) in nest_change_cpu_context()
338 perf_pmu_migrate_context(&(*pn)->pmu, old_cpu, new_cpu); in nest_change_cpu_context()

Completed in 38 milliseconds