Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/lib/
Dpercpu-refcount.c85 ref->percpu_count_ptr |= __PERCPU_REF_ATOMIC; in percpu_ref_init()
209 if (ref->percpu_count_ptr & __PERCPU_REF_ATOMIC) { in __percpu_ref_switch_to_atomic()
216 ref->percpu_count_ptr |= __PERCPU_REF_ATOMIC; in __percpu_ref_switch_to_atomic()
236 if (!(ref->percpu_count_ptr & __PERCPU_REF_ATOMIC)) in __percpu_ref_switch_to_percpu()
254 ref->percpu_count_ptr & ~__PERCPU_REF_ATOMIC); in __percpu_ref_switch_to_percpu()
/kernel/linux/linux-5.10/include/linux/
Dpercpu-refcount.h64 __PERCPU_REF_ATOMIC = 1LU << 0, /* operating in atomic mode */ enumerator
66 __PERCPU_REF_ATOMIC_DEAD = __PERCPU_REF_ATOMIC | __PERCPU_REF_DEAD,