Searched refs:old_cpu (Results 1 - 18 of 18) sorted by relevance

/linux-master/drivers/xen/events/
H A Devents_internal.h19 unsigned int old_cpu);
65 unsigned int old_cpu)
67 evtchn_ops->bind_to_cpu(evtchn, cpu, old_cpu);
63 xen_evtchn_port_bind_to_cpu(evtchn_port_t evtchn, unsigned int cpu, unsigned int old_cpu) argument
H A Devents_2l.c56 unsigned int old_cpu)
58 clear_bit(evtchn, BM(per_cpu(cpu_evtchn_mask, old_cpu)));
55 evtchn_2l_bind_to_cpu(evtchn_port_t evtchn, unsigned int cpu, unsigned int old_cpu) argument
H A Devents_fifo.c189 unsigned int old_cpu)
188 evtchn_fifo_bind_to_cpu(evtchn_port_t evtchn, unsigned int cpu, unsigned int old_cpu) argument
/linux-master/arch/x86/kernel/
H A Dsmp.c151 unsigned int old_cpu, this_cpu; local
158 old_cpu = -1;
160 if (!atomic_try_cmpxchg(&stopping_cpu, &old_cpu, this_cpu))
/linux-master/kernel/locking/
H A Dosq_lock.c49 * and 'old_cpu' is its CPU #.
50 * For osq_unlock() there is never a previous node and old_cpu is
56 int old_cpu)
62 atomic_cmpxchg_acquire(&lock->tail, curr, old_cpu) == curr) {
54 osq_wait_next(struct optimistic_spin_queue *lock, struct optimistic_spin_node *node, int old_cpu) argument
/linux-master/kernel/
H A Dpanic.c195 int old_cpu, this_cpu; local
197 old_cpu = PANIC_CPU_INVALID;
200 /* atomic_try_cmpxchg updates old_cpu on failure */
201 if (atomic_try_cmpxchg(&panic_cpu, &old_cpu, this_cpu))
203 else if (old_cpu != this_cpu)
286 int old_cpu, this_cpu; local
320 * `old_cpu == this_cpu' means we came from nmi_panic() which sets
323 old_cpu = PANIC_CPU_INVALID;
326 /* atomic_try_cmpxchg updates old_cpu on failure */
327 if (atomic_try_cmpxchg(&panic_cpu, &old_cpu, this_cp
[all...]
H A Dcrash_core.c131 int old_cpu, this_cpu; local
138 old_cpu = PANIC_CPU_INVALID;
141 if (atomic_try_cmpxchg(&panic_cpu, &old_cpu, this_cpu)) {
/linux-master/arch/mips/sibyte/bcm1480/
H A Dirq.c81 int i = 0, old_cpu, cpu, int_on, k; local
94 old_cpu = bcm1480_irq_owner[irq];
101 cur_ints = ____raw_readq(IOADDR(A_BCM1480_IMR_MAPPER(old_cpu) + R_BCM1480_IMR_INTERRUPT_MASK_H + (k*BCM1480_IMR_HL_SPACING)));
106 ____raw_writeq(cur_ints, IOADDR(A_BCM1480_IMR_MAPPER(old_cpu) + R_BCM1480_IMR_INTERRUPT_MASK_H + (k*BCM1480_IMR_HL_SPACING)));
/linux-master/arch/mips/sibyte/sb1250/
H A Dirq.c73 int i = 0, old_cpu, cpu, int_on; local
87 old_cpu = sb1250_irq_owner[irq];
88 cur_ints = ____raw_readq(IOADDR(A_IMR_MAPPER(old_cpu) +
94 ____raw_writeq(cur_ints, IOADDR(A_IMR_MAPPER(old_cpu) +
/linux-master/kernel/debug/kdb/
H A Dkdb_io.c623 int this_cpu, old_cpu; local
635 old_cpu = cmpxchg(&kdb_printf_cpu, -1, this_cpu);
636 if (old_cpu == -1 || old_cpu == this_cpu)
886 smp_store_release(&kdb_printf_cpu, old_cpu);
/linux-master/drivers/irqchip/
H A Dirq-bcm6345-l1.c193 unsigned int old_cpu = cpu_for_irq(intc, d); local
205 if (old_cpu != new_cpu) {
206 enabled = intc->cpus[old_cpu]->enable_cache[word] & mask;
/linux-master/drivers/hv/
H A Dhyperv_vmbus.h459 static inline void hv_update_allocated_cpus(unsigned int old_cpu, argument
463 hv_clear_allocated_cpu(old_cpu);
/linux-master/tools/perf/scripts/python/
H A Dsched-migration.py191 def migrate(self, ts_list, new, old_cpu, new_cpu):
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-master/arch/x86/kernel/cpu/
H A Dmshyperv.c267 unsigned int old_cpu, this_cpu; local
272 old_cpu = -1;
274 if (!atomic_try_cmpxchg(&nmi_cpu, &old_cpu, this_cpu))
/linux-master/drivers/infiniband/hw/hfi1/
H A Daffinity.c745 int i, old_cpu; local
755 old_cpu = sde->cpu;
778 if (cpumask_test_cpu(old_cpu, &other_msix->mask))
781 cpumask_clear_cpu(old_cpu, &set->mask);
782 cpumask_clear_cpu(old_cpu, &set->used);
/linux-master/arch/x86/events/intel/
H A Duncore.c1457 static void uncore_change_type_ctx(struct intel_uncore_type *type, int old_cpu, argument
1464 die = topology_logical_die_id(old_cpu < 0 ? new_cpu : old_cpu);
1470 if (old_cpu < 0) {
1476 WARN_ON_ONCE(box->cpu != old_cpu);
1482 perf_pmu_migrate_context(&pmu->pmu, old_cpu, new_cpu);
1488 int old_cpu, int new_cpu)
1491 uncore_change_type_ctx(*uncores, old_cpu, new_cpu);
1487 uncore_change_context(struct intel_uncore_type **uncores, int old_cpu, int new_cpu) argument
/linux-master/arch/powerpc/perf/
H A Dimc-pmu.c344 static void nest_change_cpu_context(int old_cpu, int new_cpu) argument
348 if (old_cpu < 0 || new_cpu < 0)
352 perf_pmu_migrate_context(&(*pn)->pmu, old_cpu, new_cpu);
/linux-master/arch/powerpc/kernel/
H A Dfadump.c687 int old_cpu, this_cpu; local
695 * old_cpu == -1 means this is the first CPU which has come here,
698 * old_cpu != -1 means some other CPU has already on its way
702 old_cpu = cmpxchg(&crashing_cpu, -1, this_cpu);
704 if (old_cpu != -1) {

Completed in 234 milliseconds