Searched refs:refcount_t (Results 1 – 13 of 13) sorted by relevance
54 } refcount_t; typedef58 static inline void refcount_set(refcount_t *r, unsigned int n) in refcount_set()63 static inline unsigned int refcount_read(const refcount_t *r) in refcount_read()76 bool refcount_inc_not_zero(refcount_t *r) in refcount_inc_not_zero()107 static inline void refcount_inc(refcount_t *r) in refcount_inc()121 bool refcount_sub_and_test(unsigned int i, refcount_t *r) in refcount_sub_and_test()146 bool refcount_dec_and_test(refcount_t *r) in refcount_dec_and_test()
8 refcount_t refcnt;
15 refcount_t refcnt;
23 refcount_t refcnt;
12 refcount_t refcnt;
37 refcount_t refcnt;
25 refcount_t refcnt;
33 refcount_t refcnt;
46 refcount_t refcnt;
200 refcount_t refcnt;
116 refcount_t refcnt;