Home
last modified time | relevance | path

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

/lib/
Dpercpu-refcount.c107 unsigned long __percpu *percpu_count = percpu_count_ptr(ref); in percpu_ref_exit() local
109 if (percpu_count) { in percpu_ref_exit()
112 free_percpu(percpu_count); in percpu_ref_exit()
136 unsigned long __percpu *percpu_count = percpu_count_ptr(ref); in percpu_ref_switch_to_atomic_rcu() local
141 count += *per_cpu_ptr(percpu_count, cpu); in percpu_ref_switch_to_atomic_rcu()
196 unsigned long __percpu *percpu_count = percpu_count_ptr(ref); in __percpu_ref_switch_to_percpu() local
199 BUG_ON(!percpu_count); in __percpu_ref_switch_to_percpu()
216 *per_cpu_ptr(percpu_count, cpu) = 0; in __percpu_ref_switch_to_percpu()
391 unsigned long __percpu *percpu_count; in percpu_ref_resurrect() local
397 WARN_ON_ONCE(__ref_is_percpu(ref, &percpu_count)); in percpu_ref_resurrect()