/include/linux/ |
A D | page_counter.h | 60 counter->max = PAGE_COUNTER_MAX; in page_counter_init() 61 counter->parent = parent; in page_counter_init() 62 counter->protection_support = protection_support; in page_counter_init() 63 counter->track_failcnt = false; in page_counter_init() 68 return atomic_long_read(&counter->usage); in page_counter_read() 83 WRITE_ONCE(counter->high, nr_pages); in page_counter_set_high() 92 unsigned long usage = page_counter_read(counter); in page_counter_reset_watermark() 98 counter->local_watermark = usage; in page_counter_reset_watermark() 99 counter->watermark = usage; in page_counter_reset_watermark() 104 struct page_counter *counter, [all …]
|
A D | counter.h | 158 int (*action_read)(struct counter_device *counter, 163 int (*count_u8_read)(struct counter_device *counter, 165 int (*signal_u8_read)(struct counter_device *counter, 192 int (*action_write)(struct counter_device *counter, 326 int (*signal_read)(struct counter_device *counter, 329 int (*count_read)(struct counter_device *counter, 331 int (*count_write)(struct counter_device *counter, 333 int (*function_read)(struct counter_device *counter, 339 int (*action_read)(struct counter_device *counter, 343 int (*action_write)(struct counter_device *counter, [all …]
|
A D | atomic.h | 28 #define atomic_cond_read_acquire(v, c) smp_cond_load_acquire(&(v)->counter, (c)) 29 #define atomic_cond_read_relaxed(v, c) smp_cond_load_relaxed(&(v)->counter, (c)) 31 #define atomic64_cond_read_acquire(v, c) smp_cond_load_acquire(&(v)->counter, (c)) 32 #define atomic64_cond_read_relaxed(v, c) smp_cond_load_relaxed(&(v)->counter, (c))
|
A D | alloc_tag.h | 140 struct alloc_tag_counters *counter; in alloc_tag_read() local 144 counter = per_cpu_ptr(tag->counters, cpu); in alloc_tag_read() 145 v.bytes += counter->bytes; in alloc_tag_read() 146 v.calls += counter->calls; in alloc_tag_read()
|
A D | types.h | 182 int counter; member 189 s64 counter; member
|
A D | srcutree.h | 249 this_cpu_inc(scp->srcu_locks.counter); /* Y */ in __srcu_read_lock_fast() 275 this_cpu_inc(scp->srcu_unlocks.counter); /* Z */ in __srcu_read_unlock_fast()
|
A D | quota.h | 267 struct percpu_counter counter[_DQST_DQSTAT_LAST]; member 274 percpu_counter_inc(&dqstats.counter[type]); in dqstats_inc() 279 percpu_counter_dec(&dqstats.counter[type]); in dqstats_dec()
|
/include/asm-generic/ |
A D | atomic.h | 24 c = v->counter; \ 25 while ((old = arch_cmpxchg(&v->counter, c, c c_op i)) != c) \ 34 c = v->counter; \ 35 while ((old = arch_cmpxchg(&v->counter, c, c c_op i)) != c) \ 46 c = v->counter; \ 47 while ((old = arch_cmpxchg(&v->counter, c, c c_op i)) != c) \ 63 v->counter = v->counter c_op i; \ 74 ret = (v->counter = v->counter c_op i); \ 87 ret = v->counter; \ 88 v->counter = v->counter c_op i; \ [all …]
|
A D | qspinlock.h | 73 return !lock.val.counter; in queued_spin_value_unlocked()
|
A D | ticket_spinlock.h | 73 u32 val = lock.val.counter; in ticket_spin_value_unlocked()
|
A D | atomic64.h | 13 s64 counter; member
|
/include/linux/comedi/ |
A D | comedi_8254.h | 116 unsigned int counter); 117 unsigned int comedi_8254_read(struct comedi_8254 *i8254, unsigned int counter); 119 unsigned int counter, unsigned int val); 122 unsigned int counter, unsigned int mode); 124 unsigned int counter, unsigned int val, unsigned int mode); 136 unsigned int counter, bool busy);
|
/include/linux/mlx5/ |
A D | fs.h | 171 struct mlx5_fc *counter; member 308 void mlx5_fc_destroy(struct mlx5_core_dev *dev, struct mlx5_fc *counter); 310 void mlx5_fc_local_destroy(struct mlx5_fc *counter); 311 u64 mlx5_fc_query_lastuse(struct mlx5_fc *counter); 312 void mlx5_fc_query_cached(struct mlx5_fc *counter, 314 void mlx5_fc_query_cached_raw(struct mlx5_fc *counter, 316 int mlx5_fc_query(struct mlx5_core_dev *dev, struct mlx5_fc *counter, 318 u32 mlx5_fc_id(struct mlx5_fc *counter);
|
/include/soc/amlogic/ |
A D | meson_ddr_pmu.h | 44 struct dmc_counter *counter); 46 struct dmc_counter *counter);
|
/include/sound/ |
A D | soundfont.h | 26 int counter; member 36 int counter; member
|
/include/vdso/ |
A D | getrandom.h | 57 extern void __arch_chacha20_blocks_nostack(u8 *dst_bytes, const u32 *key, u32 *counter, size_t nblo…
|
/include/rdma/ |
A D | ib_pma.h | 57 __be32 counter[15]; member 64 __be64 counter[15]; member
|
A D | rdma_counter.h | 56 int rdma_counter_query_stats(struct rdma_counter *counter);
|
/include/net/netfilter/ |
A D | nf_conntrack_acct.h | 20 struct nf_conn_counter counter[IP_CT_DIR_MAX]; member
|
/include/trace/events/ |
A D | rcu.h | 482 TP_PROTO(const char *polarity, long oldnesting, long newnesting, int counter), 484 TP_ARGS(polarity, oldnesting, newnesting, counter), 490 __field(int, counter) 497 __entry->counter = counter; 502 __entry->counter & 0xfff)
|
/include/linux/atomic/ |
A D | atomic-arch-fallback.h | 479 ret = smp_load_acquire(&(v)->counter); in raw_atomic_read_acquire() 524 smp_store_release(&(v)->counter, i); in raw_atomic_set_release() 1921 return raw_xchg(&v->counter, new); in raw_atomic_xchg() 1948 return raw_xchg_acquire(&v->counter, new); in raw_atomic_xchg_acquire() 1974 return raw_xchg_release(&v->counter, new); in raw_atomic_xchg_release() 1997 return raw_xchg_relaxed(&v->counter, new); in raw_atomic_xchg_relaxed() 2026 return raw_cmpxchg(&v->counter, old, new); in raw_atomic_cmpxchg() 2605 ret = smp_load_acquire(&(v)->counter); in raw_atomic64_read_acquire() 2650 smp_store_release(&(v)->counter, i); in raw_atomic64_set_release() 4047 return raw_xchg(&v->counter, new); in raw_atomic64_xchg() [all …]
|
/include/linux/platform_data/ |
A D | mlxreg.h | 199 int counter; member
|
/include/linux/netfilter/ipset/ |
A D | ip_set.h | 506 ip_set_init_counter(struct ip_set_counter *counter, in ip_set_init_counter() argument 510 atomic64_set(&(counter)->bytes, (long long)(ext->bytes)); in ip_set_init_counter() 512 atomic64_set(&(counter)->packets, (long long)(ext->packets)); in ip_set_init_counter()
|
/include/uapi/drm/ |
A D | v3d_drm.h | 757 __u8 counter; member
|
/include/linux/mlx4/ |
A D | device.h | 812 #define ASSIGN_32BIT_COUNTER(counter, value) do { \ argument 814 counter = cpu_to_be32(U32_MAX); \ 816 counter = cpu_to_be32(value); \ 836 int counter; member
|