Home
last modified time | relevance | path

Searched refs:cpu_lock (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/arch/arm/mach-sunxi/
H A Dplatsmp.c38 static DEFINE_SPINLOCK(cpu_lock);
80 spin_lock(&cpu_lock); in sun6i_smp_boot_secondary()
114 spin_unlock(&cpu_lock); in sun6i_smp_boot_secondary()
164 spin_lock(&cpu_lock); in sun8i_smp_boot_secondary()
185 spin_unlock(&cpu_lock); in sun8i_smp_boot_secondary()
/openbmc/linux/drivers/soc/renesas/
H A Dr9a06g032-smp.c32 static DEFINE_SPINLOCK(cpu_lock);
41 spin_lock(&cpu_lock); in r9a06g032_smp_boot_secondary()
46 spin_unlock(&cpu_lock); in r9a06g032_smp_boot_secondary()
/openbmc/linux/kernel/cgroup/
H A Drstat.c31 raw_spinlock_t *cpu_lock = per_cpu_ptr(&cgroup_rstat_cpu_lock, cpu); in cgroup_rstat_updated() local
45 raw_spin_lock_irqsave(cpu_lock, flags); in cgroup_rstat_updated()
73 raw_spin_unlock_irqrestore(cpu_lock, flags); in cgroup_rstat_updated()
182 raw_spinlock_t *cpu_lock = per_cpu_ptr(&cgroup_rstat_cpu_lock, in cgroup_rstat_flush_locked() local
195 raw_spin_lock_irqsave(cpu_lock, flags); in cgroup_rstat_flush_locked()
208 raw_spin_unlock_irqrestore(cpu_lock, flags); in cgroup_rstat_flush_locked()