Home
last modified time | relevance | path

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

/linux-6.3-rc2/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()
79 ref->percpu_count_ptr = 0; in percpu_ref_init()
87 ref->percpu_count_ptr |= __PERCPU_REF_ATOMIC; in percpu_ref_init()
94 ref->percpu_count_ptr |= __PERCPU_REF_DEAD; in percpu_ref_init()
116 ref->percpu_count_ptr = __PERCPU_REF_ATOMIC_DEAD; in __percpu_ref_exit()
223 ref->percpu_count_ptr |= __PERCPU_REF_ATOMIC; in __percpu_ref_switch_to_atomic()
261 smp_store_release(&ref->percpu_count_ptr, in __percpu_ref_switch_to_percpu()
394 ref->percpu_count_ptr |= __PERCPU_REF_DEAD; in percpu_ref_kill_and_confirm()
[all …]
/linux-6.3-rc2/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-6.3-rc2/drivers/md/
A Dmd.c5577 if (mddev->writes_pending.percpu_count_ptr) in mddev_init_writes_pending()

Completed in 18 milliseconds