Home
last modified time | relevance | path

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

/linux/lib/
A Dpercpu-refcount.c45 (ref->percpu_count_ptr & ~__PERCPU_REF_ATOMIC_DEAD); in percpu_count_ptr()
71 ref->percpu_count_ptr = (unsigned long) in percpu_ref_init()
73 if (!ref->percpu_count_ptr) in percpu_ref_init()
86 ref->percpu_count_ptr |= __PERCPU_REF_ATOMIC; in percpu_ref_init()
93 ref->percpu_count_ptr |= __PERCPU_REF_DEAD; in percpu_ref_init()
115 ref->percpu_count_ptr = __PERCPU_REF_ATOMIC_DEAD; in __percpu_ref_exit()
215 if (ref->percpu_count_ptr & __PERCPU_REF_ATOMIC) { in __percpu_ref_switch_to_atomic()
222 ref->percpu_count_ptr |= __PERCPU_REF_ATOMIC; in __percpu_ref_switch_to_atomic()
259 smp_store_release(&ref->percpu_count_ptr, in __percpu_ref_switch_to_percpu()
392 ref->percpu_count_ptr |= __PERCPU_REF_DEAD; in percpu_ref_kill_and_confirm()
[all …]
/linux/include/linux/
A Dpercpu-refcount.h110 unsigned long percpu_count_ptr; member
174 percpu_ptr = READ_ONCE(ref->percpu_count_ptr); in __ref_is_percpu()
285 } else if (!(ref->percpu_count_ptr & __PERCPU_REF_DEAD)) { in percpu_ref_tryget_live_rcu()
365 return ref->percpu_count_ptr & __PERCPU_REF_DEAD; in percpu_ref_is_dying()
/linux/drivers/md/
A Dmd.c5623 if (mddev->writes_pending.percpu_count_ptr) in mddev_init_writes_pending()

Completed in 18 milliseconds