Searched refs:refcount_t (Results 1 – 25 of 342) sorted by relevance
12345678910>>...14
/linux/include/linux/ |
A D | refcount.h | 113 } refcount_t; typedef 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() 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() 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() 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); [all …]
|
A D | netfs.h | 138 refcount_t usage; 170 refcount_t usage;
|
/linux/drivers/misc/lkdtm/ |
A D | refcount.c | 9 static void overflow_check(refcount_t *ref) in overflow_check() 63 refcount_t over = REFCOUNT_INIT(REFCOUNT_MAX); in lkdtm_REFCOUNT_INC_NOT_ZERO_OVERFLOW() 84 static void check_zero(refcount_t *ref) in check_zero() 108 refcount_t zero = REFCOUNT_INIT(2); in lkdtm_REFCOUNT_DEC_ZERO() 147 refcount_t neg = REFCOUNT_INIT(0); in lkdtm_REFCOUNT_DEC_NEGATIVE() 161 refcount_t neg = REFCOUNT_INIT(0); in lkdtm_REFCOUNT_DEC_AND_TEST_NEGATIVE() 176 refcount_t neg = REFCOUNT_INIT(3); in lkdtm_REFCOUNT_SUB_AND_TEST_NEGATIVE() 185 static void check_from_zero(refcount_t *ref) in check_from_zero() 208 refcount_t zero = REFCOUNT_INIT(0); in lkdtm_REFCOUNT_INC_ZERO() 233 refcount_t zero = REFCOUNT_INIT(0); in lkdtm_REFCOUNT_ADD_ZERO() [all …]
|
/linux/tools/include/linux/ |
A D | refcount.h | 54 } refcount_t; typedef 58 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()
|
/linux/lib/ |
A D | refcount.c | 13 void refcount_warn_saturate(refcount_t *r, enum refcount_saturation_type t) in refcount_warn_saturate() 55 bool refcount_dec_if_one(refcount_t *r) in refcount_dec_if_one() 74 bool refcount_dec_not_one(refcount_t *r) in refcount_dec_not_one() 113 bool refcount_dec_and_mutex_lock(refcount_t *r, struct mutex *lock) in refcount_dec_and_mutex_lock() 144 bool refcount_dec_and_lock(refcount_t *r, spinlock_t *lock) in refcount_dec_and_lock() 172 bool refcount_dec_and_lock_irqsave(refcount_t *r, spinlock_t *lock, in refcount_dec_and_lock_irqsave()
|
/linux/include/net/ |
A D | if_inet6.h | 45 refcount_t refcnt; 124 refcount_t mca_refcnt; 144 refcount_t aca_refcnt; 194 refcount_t refcnt;
|
A D | macsec.h | 119 refcount_t refcnt; 149 refcount_t refcnt; 170 refcount_t refcnt;
|
A D | mctp.h | 142 refcount_t refs; 225 refcount_t refs;
|
A D | inet_frag.h | 86 refcount_t refcnt; 109 refcount_t refcnt;
|
A D | dn_fib.h | 32 refcount_t fib_treeref; 33 refcount_t fib_clntref;
|
A D | ax25.h | 163 refcount_t refcount; 190 refcount_t refcount; 261 refcount_t refcount;
|
/linux/fs/nfsd/ |
A D | filecache.h | 22 refcount_t nfm_ref; 46 refcount_t nf_ref;
|
A D | state.h | 64 refcount_t sc_count; 90 refcount_t sc_count; 502 refcount_t co_odcount; 518 refcount_t fi_ref;
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
A D | en_rep.h | 153 refcount_t refcnt; 179 refcount_t refcnt; 208 refcount_t refcnt;
|
/linux/security/landlock/ |
A D | ruleset.h | 73 refcount_t usage; 113 refcount_t usage;
|
/linux/include/linux/lockd/ |
A D | lockd.h | 62 refcount_t h_count; /* reference count */ 88 refcount_t sm_count; 127 refcount_t count; 141 refcount_t a_count;
|
/linux/Documentation/translations/zh_CN/core-api/ |
A D | refcount-vs-atomic.rst | 12 与atomic_t相比,refcount_t的API是这样的 20 refcount_t API的目标是为实现对象的引用计数器提供一个最小的API。虽然来自
|
/linux/drivers/block/rnbd/ |
A D | rnbd-clt.h | 93 refcount_t refcount; 139 refcount_t refcount;
|
/linux/net/atm/ |
A D | mpoa_caches.h | 31 refcount_t use; 64 refcount_t use;
|
/linux/include/net/sctp/ |
A D | auth.h | 42 refcount_t refcnt; 51 refcount_t refcnt;
|
/linux/fs/btrfs/ |
A D | delayed-inode.h | 57 refcount_t refs; 70 refcount_t refs;
|
A D | transaction.h | 41 refcount_t use_count; 126 refcount_t use_count;
|
/linux/tools/testing/selftests/bpf/progs/ |
A D | kfree_skb.c | 37 } refcount_t; typedef 45 refcount_t users;
|
/linux/include/linux/sunrpc/ |
A D | auth.h | 56 refcount_t cr_count; /* ref count */ 85 refcount_t au_count; /* Reference counter */
|
/linux/kernel/events/ |
A D | internal.h | 14 refcount_t refcount; 52 refcount_t aux_refcount;
|
Completed in 42 milliseconds
12345678910>>...14