• Home
  • Raw
  • Download

Lines Matching refs:refcount_t

113 } refcount_t;  typedef
127 void refcount_warn_saturate(refcount_t *r, enum refcount_saturation_type t);
134 static inline void refcount_set(refcount_t *r, int n) in refcount_set()
145 static inline unsigned int refcount_read(const refcount_t *r) in refcount_read()
150 static inline __must_check bool __refcount_add_not_zero(int i, refcount_t *r, int *oldp) in __refcount_add_not_zero()
186 static inline __must_check bool refcount_add_not_zero(int i, refcount_t *r) in refcount_add_not_zero()
191 static inline void __refcount_add(int i, refcount_t *r, int *oldp) in __refcount_add()
220 static inline void refcount_add(int i, refcount_t *r) in refcount_add()
225 static inline __must_check bool __refcount_inc_not_zero(refcount_t *r, int *oldp) in __refcount_inc_not_zero()
243 static inline __must_check bool refcount_inc_not_zero(refcount_t *r) in refcount_inc_not_zero()
248 static inline void __refcount_inc(refcount_t *r, int *oldp) in __refcount_inc()
265 static inline void refcount_inc(refcount_t *r) in refcount_inc()
270 static inline __must_check bool __refcount_sub_and_test(int i, refcount_t *r, int *oldp) in __refcount_sub_and_test()
308 static inline __must_check bool refcount_sub_and_test(int i, refcount_t *r) in refcount_sub_and_test()
313 static inline __must_check bool __refcount_dec_and_test(refcount_t *r, int *oldp) in __refcount_dec_and_test()
331 static inline __must_check bool refcount_dec_and_test(refcount_t *r) in refcount_dec_and_test()
336 static inline void __refcount_dec(refcount_t *r, int *oldp) in __refcount_dec()
357 static inline void refcount_dec(refcount_t *r) in refcount_dec()
362 extern __must_check bool refcount_dec_if_one(refcount_t *r);
363 extern __must_check bool refcount_dec_not_one(refcount_t *r);
364 extern __must_check bool refcount_dec_and_mutex_lock(refcount_t *r, struct mutex *lock);
365 extern __must_check bool refcount_dec_and_lock(refcount_t *r, spinlock_t *lock);
366 extern __must_check bool refcount_dec_and_lock_irqsave(refcount_t *r,