Lines Matching refs:cpu_lock
31 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()
247 _cgroup_rstat_cpu_unlock(cpu_lock, cpu, root, flags, false); in cgroup_rstat_updated_list()