Home
last modified time | relevance | path

Searched refs:atomic_t (Results 1 – 25 of 1565) sorted by relevance

12345678910>>...63

/openbmc/linux/drivers/scsi/lpfc/
H A Dlpfc_nvme.h58 atomic_t xmt_fcp_err;
60 atomic_t xmt_ls_abort;
61 atomic_t xmt_ls_err;
62 atomic_t cmpl_fcp_xb;
63 atomic_t cmpl_fcp_err;
64 atomic_t cmpl_ls_xb;
65 atomic_t cmpl_ls_err;
113 atomic_t xmt_ls_rsp;
114 atomic_t xmt_ls_drop;
153 atomic_t defer_ctx;
[all …]
/openbmc/linux/fs/fscache/
H A Dstats.c16 atomic_t fscache_n_volumes;
19 atomic_t fscache_n_cookies;
20 atomic_t fscache_n_cookies_lru;
25 atomic_t fscache_n_acquires;
26 atomic_t fscache_n_acquires_ok;
29 atomic_t fscache_n_invalidates;
31 atomic_t fscache_n_updates;
38 atomic_t fscache_n_resizes;
41 atomic_t fscache_n_read;
43 atomic_t fscache_n_write;
[all …]
H A Dinternal.h97 extern atomic_t fscache_n_volumes;
99 extern atomic_t fscache_n_volumes_nomem;
100 extern atomic_t fscache_n_cookies;
101 extern atomic_t fscache_n_cookies_lru;
106 extern atomic_t fscache_n_acquires;
107 extern atomic_t fscache_n_acquires_ok;
108 extern atomic_t fscache_n_acquires_oom;
110 extern atomic_t fscache_n_invalidates;
112 extern atomic_t fscache_n_relinquishes;
116 extern atomic_t fscache_n_resizes;
[all …]
/openbmc/linux/fs/netfs/
H A Dstats.c12 atomic_t netfs_n_rh_readahead;
13 atomic_t netfs_n_rh_readpage;
14 atomic_t netfs_n_rh_rreq;
15 atomic_t netfs_n_rh_sreq;
16 atomic_t netfs_n_rh_download;
20 atomic_t netfs_n_rh_read;
21 atomic_t netfs_n_rh_read_done;
23 atomic_t netfs_n_rh_zero;
24 atomic_t netfs_n_rh_short_read;
25 atomic_t netfs_n_rh_write;
[all …]
H A Dinternal.h56 extern atomic_t netfs_n_rh_readahead;
57 extern atomic_t netfs_n_rh_readpage;
58 extern atomic_t netfs_n_rh_rreq;
59 extern atomic_t netfs_n_rh_sreq;
60 extern atomic_t netfs_n_rh_download;
64 extern atomic_t netfs_n_rh_read;
65 extern atomic_t netfs_n_rh_read_done;
67 extern atomic_t netfs_n_rh_zero;
68 extern atomic_t netfs_n_rh_short_read;
69 extern atomic_t netfs_n_rh_write;
[all …]
/openbmc/u-boot/include/asm-generic/
H A Datomic-long.h148 atomic_t *v = (atomic_t *)l; in atomic_long_read()
155 atomic_t *v = (atomic_t *)l; in atomic_long_set()
162 atomic_t *v = (atomic_t *)l; in atomic_long_inc()
169 atomic_t *v = (atomic_t *)l; in atomic_long_dec()
176 atomic_t *v = (atomic_t *)l; in atomic_long_add()
183 atomic_t *v = (atomic_t *)l; in atomic_long_sub()
191 atomic_t *v = (atomic_t *)l; in atomic_long_sub_and_test()
198 atomic_t *v = (atomic_t *)l; in atomic_long_dec_and_test()
205 atomic_t *v = (atomic_t *)l; in atomic_long_inc_and_test()
212 atomic_t *v = (atomic_t *)l; in atomic_long_add_negative()
[all …]
H A Datomic.h6 typedef struct { volatile int counter; } atomic_t; typedef
20 static inline void atomic_add(int i, atomic_t *v) in atomic_add()
29 static inline void atomic_sub(int i, atomic_t *v) in atomic_sub()
38 static inline void atomic_inc(atomic_t *v) in atomic_inc()
47 static inline void atomic_dec(atomic_t *v) in atomic_dec()
56 static inline int atomic_dec_and_test(volatile atomic_t *v) in atomic_dec_and_test()
69 static inline int atomic_add_negative(int i, volatile atomic_t *v) in atomic_add_negative()
/openbmc/linux/arch/x86/include/asm/
H A Datomic.h17 static __always_inline int arch_atomic_read(const atomic_t *v) in arch_atomic_read()
26 static __always_inline void arch_atomic_set(atomic_t *v, int i) in arch_atomic_set()
31 static __always_inline void arch_atomic_add(int i, atomic_t *v) in arch_atomic_add()
38 static __always_inline void arch_atomic_sub(int i, atomic_t *v) in arch_atomic_sub()
51 static __always_inline void arch_atomic_inc(atomic_t *v) in arch_atomic_inc()
58 static __always_inline void arch_atomic_dec(atomic_t *v) in arch_atomic_dec()
65 static __always_inline bool arch_atomic_dec_and_test(atomic_t *v) in arch_atomic_dec_and_test()
71 static __always_inline bool arch_atomic_inc_and_test(atomic_t *v) in arch_atomic_inc_and_test()
125 static __always_inline void arch_atomic_and(int i, atomic_t *v) in arch_atomic_and()
143 static __always_inline void arch_atomic_or(int i, atomic_t *v) in arch_atomic_or()
[all …]
/openbmc/linux/net/batman-adv/
H A Dtypes.h83 atomic_t ogm_seqno;
115 atomic_t elp_seqno;
439 atomic_t last_ttvn;
952 atomic_t vn;
1121 atomic_t mode;
1138 atomic_t reselect;
1394 atomic_t sending;
1438 atomic_t dup_acks;
1567 atomic_t bonding;
1681 atomic_t tp_num;
[all …]
/openbmc/linux/arch/sparc/include/asm/
H A Datomic_32.h21 int arch_atomic_add_return(int, atomic_t *);
24 int arch_atomic_fetch_add(int, atomic_t *);
27 int arch_atomic_fetch_and(int, atomic_t *);
30 int arch_atomic_fetch_or(int, atomic_t *);
33 int arch_atomic_fetch_xor(int, atomic_t *);
36 int arch_atomic_cmpxchg(atomic_t *, int, int);
39 int arch_atomic_xchg(atomic_t *, int);
42 int arch_atomic_fetch_add_unless(atomic_t *, int, int);
45 void arch_atomic_set(atomic_t *, int);
/openbmc/linux/arch/m68k/include/asm/
H A Datomic.h33 static inline void arch_atomic_##op(int i, atomic_t *v) \
41 static inline int arch_atomic_##op##_return(int i, atomic_t *v) \
56 static inline int arch_atomic_fetch_##op(int i, atomic_t *v) \
86 static inline int arch_atomic_fetch_##op(int i, atomic_t * v) \
132 static inline void arch_atomic_inc(atomic_t *v) in arch_atomic_inc()
138 static inline void arch_atomic_dec(atomic_t *v) in arch_atomic_dec()
144 static inline int arch_atomic_dec_and_test(atomic_t *v) in arch_atomic_dec_and_test()
152 static inline int arch_atomic_dec_and_test_lt(atomic_t *v) in arch_atomic_dec_and_test_lt()
162 static inline int arch_atomic_inc_and_test(atomic_t *v) in arch_atomic_inc_and_test()
186 static inline int arch_atomic_xchg(atomic_t *v, int new) in arch_atomic_xchg()
[all …]
/openbmc/linux/drivers/infiniband/hw/bnxt_re/
H A Dhw_counters.h148 atomic_t qp_count;
149 atomic_t rc_qp_count;
150 atomic_t ud_qp_count;
151 atomic_t cq_count;
152 atomic_t srq_count;
153 atomic_t mr_count;
154 atomic_t mw_count;
155 atomic_t ah_count;
156 atomic_t pd_count;
157 atomic_t resize_count;
/openbmc/u-boot/arch/x86/include/asm/
H A Datomic.h8 typedef struct { volatile int counter; } atomic_t; typedef
23 static inline int atomic_read(const atomic_t *v) in atomic_read()
35 static inline void atomic_set(atomic_t *v, int i) in atomic_set()
47 static inline void atomic_add(int i, atomic_t *v) in atomic_add()
61 static inline void atomic_sub(int i, atomic_t *v) in atomic_sub()
74 static inline void atomic_inc(atomic_t *v) in atomic_inc()
86 static inline void atomic_dec(atomic_t *v) in atomic_dec()
/openbmc/linux/drivers/md/
H A Draid1.h26 #define BARRIER_BUCKETS_NR_BITS (PAGE_SHIFT - ilog2(sizeof(atomic_t)))
99 atomic_t nr_sync_pending;
100 atomic_t *nr_pending;
101 atomic_t *nr_waiting;
102 atomic_t *nr_queued;
103 atomic_t *barrier;
151 atomic_t remaining; /* 'have we finished' count,
154 atomic_t behind_remaining; /* number of write-behind ios remaining
/openbmc/linux/drivers/md/bcache/
H A Dstats.h6 atomic_t cache_hits;
7 atomic_t cache_misses;
8 atomic_t cache_bypass_hits;
9 atomic_t cache_bypass_misses;
10 atomic_t cache_miss_collisions;
11 atomic_t sectors_bypassed;
30 atomic_t closing;
/openbmc/linux/include/linux/atomic/
H A Datomic-instrumented.h30 atomic_read(const atomic_t *v) in atomic_read()
65 atomic_set(atomic_t *v, int i) in atomic_set()
102 atomic_add(int i, atomic_t *v) in atomic_add()
268 atomic_sub(int i, atomic_t *v) in atomic_sub()
433 atomic_inc(atomic_t *v) in atomic_inc()
450 atomic_inc_return(atomic_t *v) in atomic_inc_return()
520 atomic_fetch_inc(atomic_t *v) in atomic_fetch_inc()
590 atomic_dec(atomic_t *v) in atomic_dec()
607 atomic_dec_return(atomic_t *v) in atomic_dec_return()
677 atomic_fetch_dec(atomic_t *v) in atomic_fetch_dec()
[all …]
H A Datomic-arch-fallback.h442 raw_atomic_read(const atomic_t *v) in raw_atomic_read()
465 if (__native_word(atomic_t)) { in raw_atomic_read_acquire()
488 raw_atomic_set(atomic_t *v, int i) in raw_atomic_set()
510 if (__native_word(atomic_t)) { in raw_atomic_set_release()
531 raw_atomic_add(int i, atomic_t *v) in raw_atomic_add()
754 raw_atomic_sub(int i, atomic_t *v) in raw_atomic_sub()
976 raw_atomic_inc(atomic_t *v) in raw_atomic_inc()
1095 raw_atomic_fetch_inc(atomic_t *v) in raw_atomic_fetch_inc()
1194 raw_atomic_dec(atomic_t *v) in raw_atomic_dec()
1313 raw_atomic_fetch_dec(atomic_t *v) in raw_atomic_fetch_dec()
[all …]
/openbmc/linux/arch/csky/include/asm/
H A Datomic.h16 static __always_inline int arch_atomic_read(const atomic_t *v) in arch_atomic_read()
20 static __always_inline void arch_atomic_set(atomic_t *v, int i) in arch_atomic_set()
27 void arch_atomic_##op(int i, atomic_t *v) \
50 int arch_atomic_fetch_##op##_relaxed(int i, atomic_t *v) \ in ATOMIC_OP()
67 int arch_atomic_##op##_return_relaxed(int i, atomic_t *v) \
104 arch_atomic_fetch_add_unless(atomic_t *v, int a, int u)
128 arch_atomic_inc_unless_negative(atomic_t *v) in arch_atomic_inc_unless_negative()
153 arch_atomic_dec_unless_positive(atomic_t *v) in arch_atomic_dec_unless_positive()
177 arch_atomic_dec_if_positive(atomic_t *v) in arch_atomic_dec_if_positive()
/openbmc/linux/tools/testing/selftests/futex/include/
H A Datomic.h23 } atomic_t; typedef
36 atomic_cmpxchg(atomic_t *addr, int oldval, int newval) in atomic_cmpxchg()
48 atomic_inc(atomic_t *addr) in atomic_inc()
60 atomic_dec(atomic_t *addr) in atomic_dec()
73 atomic_set(atomic_t *addr, int newval) in atomic_set()
/openbmc/linux/arch/xtensa/include/asm/
H A Datomic.h59 static inline void arch_atomic_##op(int i, atomic_t *v) \
77 static inline int arch_atomic_##op##_return(int i, atomic_t *v) \
98 static inline int arch_atomic_fetch_##op(int i, atomic_t *v) \
119 static inline void arch_atomic_##op(int i, atomic_t * v) \
138 static inline int arch_atomic_##op##_return(int i, atomic_t * v) \
160 static inline int arch_atomic_fetch_##op(int i, atomic_t * v) \
183 static inline void arch_atomic_##op(int i, atomic_t * v) \
201 static inline int arch_atomic_##op##_return(int i, atomic_t * v) \
221 static inline int arch_atomic_fetch_##op(int i, atomic_t * v) \
/openbmc/u-boot/arch/powerpc/include/asm/
H A Datomic.h9 typedef struct { volatile int counter; } atomic_t; typedef
11 typedef struct { int counter; } atomic_t; typedef
22 static __inline__ int atomic_add_return(int a, atomic_t *v) in atomic_add_return()
38 static __inline__ int atomic_sub_return(int a, atomic_t *v) in atomic_sub_return()
54 static __inline__ int atomic_inc_return(atomic_t *v) in atomic_inc_return()
70 static __inline__ int atomic_dec_return(atomic_t *v) in atomic_dec_return()
/openbmc/linux/drivers/crypto/bcm/
H A Dcipher.h425 atomic_t session_count; /* number of streams active */
432 atomic_t next_chan;
442 atomic_t op_counts[SPU_OP_NUM];
444 atomic_t cipher_cnt[CIPHER_ALG_LAST][CIPHER_MODE_LAST];
445 atomic_t hash_cnt[HASH_ALG_LAST];
446 atomic_t hmac_cnt[HASH_ALG_LAST];
447 atomic_t aead_cnt[AEAD_TYPE_LAST];
450 atomic_t setkey_cnt[SPU_OP_NUM];
453 atomic_t mb_no_spc;
456 atomic_t mb_send_fail;
[all …]
/openbmc/linux/tools/arch/x86/include/asm/
H A Datomic.h27 static inline int atomic_read(const atomic_t *v) in atomic_read()
39 static inline void atomic_set(atomic_t *v, int i) in atomic_set()
50 static inline void atomic_inc(atomic_t *v) in atomic_inc()
64 static inline int atomic_dec_and_test(atomic_t *v) in atomic_dec_and_test()
69 static __always_inline int atomic_cmpxchg(atomic_t *v, int old, int new) in atomic_cmpxchg()
/openbmc/linux/include/linux/
H A Dfscache-cache.h41 atomic_t n_volumes; /* Number of active volumes; */
42 atomic_t n_accesses; /* Number of in-progress accesses on the cache */
43 atomic_t object_count; /* no. of live objects in this cache */
193 extern atomic_t fscache_n_read;
194 extern atomic_t fscache_n_write;
195 extern atomic_t fscache_n_no_write_space;
196 extern atomic_t fscache_n_no_create_space;
197 extern atomic_t fscache_n_culled;
/openbmc/linux/include/video/
H A Dudlfb.h42 atomic_t usb_active; /* 0 = update virtual buffer, but no usb traffic */
43 atomic_t lost_pixels; /* 1 = a render op failed. Need screen refresh */
60 atomic_t bytes_rendered; /* raw pixel-bytes driver asked to render */
61 atomic_t bytes_identical; /* saved effort with backbuffer comparison */
62 atomic_t bytes_sent; /* to usb, after compression including overhead */
63 atomic_t cpu_kcycles_used; /* transpired during pixel processing */

12345678910>>...63