/kernel/linux/linux-5.10/include/linux/ |
D | refcount.h | 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() [all …]
|
D | ipc.h | 28 refcount_t refcount;
|
/kernel/linux/linux-5.10/drivers/misc/lkdtm/ |
D | refcount.c | 9 static void overflow_check(refcount_t *ref) in overflow_check() 29 refcount_t over = REFCOUNT_INIT(REFCOUNT_MAX - 1); in lkdtm_REFCOUNT_INC_OVERFLOW() 45 refcount_t over = REFCOUNT_INIT(REFCOUNT_MAX - 1); in lkdtm_REFCOUNT_ADD_OVERFLOW() 63 refcount_t over = REFCOUNT_INIT(REFCOUNT_MAX); in lkdtm_REFCOUNT_INC_NOT_ZERO_OVERFLOW() 75 refcount_t over = REFCOUNT_INIT(REFCOUNT_MAX); in lkdtm_REFCOUNT_ADD_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() 119 static void check_negative(refcount_t *ref, int start) in check_negative() 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() [all …]
|
/kernel/linux/linux-5.10/tools/include/linux/ |
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()
|
/kernel/linux/linux-5.10/lib/ |
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()
|
/kernel/linux/linux-5.10/include/net/ |
D | if_inet6.h | 45 refcount_t refcnt; 126 refcount_t mca_refcnt; 146 refcount_t aca_refcnt; 188 refcount_t refcnt;
|
D | macsec.h | 119 refcount_t refcnt; 149 refcount_t refcnt; 170 refcount_t refcnt;
|
D | ax25.h | 163 refcount_t refcount; 190 refcount_t refcount; 239 refcount_t refcount; 262 refcount_t refcount;
|
D | ipx.h | 54 refcount_t refcnt; 80 refcount_t refcnt;
|
D | inet_frag.h | 85 refcount_t refcnt; 108 refcount_t refcnt;
|
/kernel/linux/linux-5.10/fs/nfsd/ |
D | filecache.h | 22 refcount_t nfm_ref; 46 refcount_t nf_ref;
|
D | state.h | 64 refcount_t sc_count; 90 refcount_t sc_count; 498 refcount_t co_odcount; 514 refcount_t fi_ref;
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_rep.h | 141 refcount_t refcnt; 166 refcount_t refcnt; 195 refcount_t refcnt;
|
/kernel/linux/linux-5.10/include/linux/lockd/ |
D | lockd.h | 60 refcount_t h_count; /* reference count */ 86 refcount_t sm_count; 125 refcount_t count; 139 refcount_t a_count;
|
/kernel/linux/linux-5.10/drivers/block/rnbd/ |
D | rnbd-clt.h | 87 refcount_t refcount; 130 refcount_t refcount;
|
/kernel/linux/linux-5.10/net/atm/ |
D | mpoa_caches.h | 31 refcount_t use; 64 refcount_t use;
|
/kernel/linux/linux-5.10/include/net/sctp/ |
D | auth.h | 42 refcount_t refcnt; 51 refcount_t refcnt;
|
/kernel/linux/linux-5.10/fs/btrfs/ |
D | delayed-inode.h | 57 refcount_t refs; 70 refcount_t refs;
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
D | kfree_skb.c | 37 } refcount_t; typedef 45 refcount_t users;
|
/kernel/linux/linux-5.10/include/linux/sunrpc/ |
D | auth.h | 56 refcount_t cr_count; /* ref count */ 85 refcount_t au_count; /* Reference counter */
|
/kernel/linux/linux-5.10/tools/lib/perf/include/internal/ |
D | cpumap.h | 8 refcount_t refcnt;
|
D | threadmap.h | 15 refcount_t refcnt;
|
/kernel/linux/linux-5.10/include/media/ |
D | videobuf2-memops.h | 29 refcount_t *refcount;
|
/kernel/linux/linux-5.10/drivers/target/ |
D | target_core_iblock.h | 14 refcount_t pending;
|
/kernel/linux/linux-5.10/fs/debugfs/ |
D | internal.h | 20 refcount_t active_users;
|