/linux/kernel/ |
A D | panic.c | 137 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 D | kexec_core.c | 971 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 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()
|
A 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()
|
A D | events_fifo.c | 189 unsigned int old_cpu) in evtchn_fifo_bind_to_cpu() argument
|
/linux/arch/mips/sibyte/sb1250/ |
A 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/arch/mips/sibyte/bcm1480/ |
A 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/kernel/debug/kdb/ |
A D | kdb_io.c | 591 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 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/drivers/irqchip/ |
A 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/drivers/hv/ |
A D | hyperv_vmbus.h | 442 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 D | affinity.c | 746 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 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/arch/powerpc/kernel/ |
A D | fadump.c | 684 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 D | imc-pmu.c | 330 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()
|