Home
last modified time | relevance | path

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

/Linux-v5.10/include/linux/
Dpercpu-refcount.h65 __PERCPU_REF_DEAD = 1LU << 1, /* (being) killed */ enumerator
66 __PERCPU_REF_ATOMIC_DEAD = __PERCPU_REF_ATOMIC | __PERCPU_REF_DEAD,
294 } else if (!(ref->percpu_count_ptr & __PERCPU_REF_DEAD)) { in percpu_ref_tryget_live()
352 return ref->percpu_count_ptr & __PERCPU_REF_DEAD; in percpu_ref_is_dying()
/Linux-v5.10/lib/
Dpercpu-refcount.c92 ref->percpu_count_ptr |= __PERCPU_REF_DEAD; in percpu_ref_init()
272 if (data->force_atomic || (ref->percpu_count_ptr & __PERCPU_REF_DEAD)) in __percpu_ref_switch_mode()
382 WARN_ONCE(ref->percpu_count_ptr & __PERCPU_REF_DEAD, in percpu_ref_kill_and_confirm()
386 ref->percpu_count_ptr |= __PERCPU_REF_DEAD; in percpu_ref_kill_and_confirm()
462 WARN_ON_ONCE(!(ref->percpu_count_ptr & __PERCPU_REF_DEAD)); in percpu_ref_resurrect()
465 ref->percpu_count_ptr &= ~__PERCPU_REF_DEAD; in percpu_ref_resurrect()