Home
last modified time | relevance | path

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

/arch/mips/sibyte/sb1250/
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()
/arch/mips/sibyte/bcm1480/
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()
/arch/x86/events/intel/
Duncore.c1157 static void uncore_change_type_ctx(struct intel_uncore_type *type, int old_cpu, in uncore_change_type_ctx() argument
1164 die = topology_logical_die_id(old_cpu < 0 ? new_cpu : old_cpu); in uncore_change_type_ctx()
1170 if (old_cpu < 0) { in uncore_change_type_ctx()
1176 WARN_ON_ONCE(box->cpu != old_cpu); in uncore_change_type_ctx()
1182 perf_pmu_migrate_context(&pmu->pmu, old_cpu, new_cpu); in uncore_change_type_ctx()
1188 int old_cpu, int new_cpu) in uncore_change_context() argument
1191 uncore_change_type_ctx(*uncores, old_cpu, new_cpu); in uncore_change_context()
/arch/powerpc/kernel/
Dfadump.c598 int old_cpu, this_cpu; in crash_fadump() local
611 old_cpu = cmpxchg(&crashing_cpu, -1, this_cpu); in crash_fadump()
613 if (old_cpu != -1) { in crash_fadump()
/arch/powerpc/perf/
Dimc-pmu.c320 static void nest_change_cpu_context(int old_cpu, int new_cpu) in nest_change_cpu_context() argument
324 if (old_cpu < 0 || new_cpu < 0) in nest_change_cpu_context()
328 perf_pmu_migrate_context(&(*pn)->pmu, old_cpu, new_cpu); in nest_change_cpu_context()