Searched refs:percpu_count_ptr (Results 1 – 3 of 3) sorted by relevance
45 (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 …]
110 unsigned long percpu_count_ptr; member174 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()
5577 if (mddev->writes_pending.percpu_count_ptr) in mddev_init_writes_pending()
Completed in 18 milliseconds