Home
last modified time | relevance | path

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

/linux-6.12.1/arch/arm/mach-sunxi/
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()
/linux-6.12.1/kernel/cgroup/
Drstat.c31 unsigned long _cgroup_rstat_cpu_lock(raw_spinlock_t *cpu_lock, int cpu, in _cgroup_rstat_cpu_lock() argument
45 contended = !raw_spin_trylock_irqsave(cpu_lock, flags); in _cgroup_rstat_cpu_lock()
52 raw_spin_lock_irqsave(cpu_lock, flags); in _cgroup_rstat_cpu_lock()
64 void _cgroup_rstat_cpu_unlock(raw_spinlock_t *cpu_lock, int cpu, in _cgroup_rstat_cpu_unlock() argument
73 raw_spin_unlock_irqrestore(cpu_lock, flags); in _cgroup_rstat_cpu_unlock()
87 raw_spinlock_t *cpu_lock = per_cpu_ptr(&cgroup_rstat_cpu_lock, cpu); in cgroup_rstat_updated() local
101 flags = _cgroup_rstat_cpu_lock(cpu_lock, cpu, cgrp, true); in cgroup_rstat_updated()
129 _cgroup_rstat_cpu_unlock(cpu_lock, cpu, cgrp, flags, true); in cgroup_rstat_updated()
205 raw_spinlock_t *cpu_lock = per_cpu_ptr(&cgroup_rstat_cpu_lock, cpu); in cgroup_rstat_updated_list() local
210 flags = _cgroup_rstat_cpu_lock(cpu_lock, cpu, root, false); in cgroup_rstat_updated_list()
[all …]
/linux-6.12.1/drivers/soc/renesas/
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()