Searched refs:atomic_read (Results 1 – 4 of 4) sorted by relevance
65 return atomic_read(&r->refs); in refcount_read()78 unsigned int old, new, val = atomic_read(&r->refs); in refcount_inc_not_zero()123 unsigned int old, new, val = atomic_read(&r->refs); in refcount_sub_and_test()
26 static inline int atomic_read(const atomic_t *v) in atomic_read() function
23 static inline int atomic_read(const atomic_t *v) in atomic_read() function
58 atomic_read(X) READ_ONCE(*X)