Lines Matching refs:percpu_count
110 unsigned long __percpu *percpu_count = percpu_count_ptr(ref); in __percpu_ref_exit() local
112 if (percpu_count) { in __percpu_ref_exit()
115 free_percpu(percpu_count); in __percpu_ref_exit()
172 unsigned long __percpu *percpu_count = percpu_count_ptr(ref); in percpu_ref_switch_to_atomic_rcu() local
178 count += *per_cpu_ptr(percpu_count, cpu); in percpu_ref_switch_to_atomic_rcu()
239 unsigned long __percpu *percpu_count = percpu_count_ptr(ref); in __percpu_ref_switch_to_percpu() local
242 BUG_ON(!percpu_count); in __percpu_ref_switch_to_percpu()
259 *per_cpu_ptr(percpu_count, cpu) = 0; in __percpu_ref_switch_to_percpu()
412 unsigned long __percpu *percpu_count; in percpu_ref_is_zero() local
415 if (__ref_is_percpu(ref, &percpu_count)) in percpu_ref_is_zero()
465 unsigned long __percpu *percpu_count; in percpu_ref_resurrect() local
471 WARN_ON_ONCE(__ref_is_percpu(ref, &percpu_count)); in percpu_ref_resurrect()