| /include/linux/ |
| D | page_counter.h | 53 static inline void page_counter_init(struct page_counter *counter, in page_counter_init() argument 57 counter->usage = (atomic_long_t)ATOMIC_LONG_INIT(0); in page_counter_init() 58 counter->max = PAGE_COUNTER_MAX; in page_counter_init() 59 counter->parent = parent; in page_counter_init() 60 counter->protection_support = protection_support; in page_counter_init() 63 static inline unsigned long page_counter_read(struct page_counter *counter) in page_counter_read() argument 65 return atomic_long_read(&counter->usage); in page_counter_read() 68 void page_counter_cancel(struct page_counter *counter, unsigned long nr_pages); 69 void page_counter_charge(struct page_counter *counter, unsigned long nr_pages); 70 bool page_counter_try_charge(struct page_counter *counter, [all …]
|
| D | counter.h | 158 int (*action_read)(struct counter_device *counter, 162 int (*device_u8_read)(struct counter_device *counter, u8 *val); 163 int (*count_u8_read)(struct counter_device *counter, 165 int (*signal_u8_read)(struct counter_device *counter, 167 int (*device_u32_read)(struct counter_device *counter, 169 int (*count_u32_read)(struct counter_device *counter, 171 int (*signal_u32_read)(struct counter_device *counter, 173 int (*device_u64_read)(struct counter_device *counter, 175 int (*count_u64_read)(struct counter_device *counter, 177 int (*signal_u64_read)(struct counter_device *counter, [all …]
|
| 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))
|
| D | alloc_tag.h | 128 struct alloc_tag_counters *counter; in alloc_tag_read() local 132 counter = per_cpu_ptr(tag->counters, cpu); in alloc_tag_read() 133 v.bytes += counter->bytes; in alloc_tag_read() 134 v.calls += counter->calls; in alloc_tag_read()
|
| D | types.h | 177 int counter; member 184 s64 counter; member
|
| 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/ |
| 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 …]
|
| D | spinlock.h | 73 u32 val = lock.counter; in arch_spin_value_unlocked()
|
| D | qspinlock.h | 73 return !lock.val.counter; in queued_spin_value_unlocked()
|
| D | atomic64.h | 13 s64 counter; member
|
| /include/linux/comedi/ |
| 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/soc/amlogic/ |
| D | meson_ddr_pmu.h | 44 struct dmc_counter *counter); 46 struct dmc_counter *counter);
|
| /include/linux/mlx5/ |
| D | fs.h | 306 void mlx5_fc_destroy(struct mlx5_core_dev *dev, struct mlx5_fc *counter); 307 u64 mlx5_fc_query_lastuse(struct mlx5_fc *counter); 308 void mlx5_fc_query_cached(struct mlx5_fc *counter, 310 void mlx5_fc_query_cached_raw(struct mlx5_fc *counter, 312 int mlx5_fc_query(struct mlx5_core_dev *dev, struct mlx5_fc *counter, 314 u32 mlx5_fc_id(struct mlx5_fc *counter);
|
| /include/sound/ |
| D | soundfont.h | 26 int counter; member 36 int counter; member
|
| /include/linux/platform_data/ |
| D | mlxreg.h | 199 int counter; member 227 int counter; member
|
| /include/vdso/ |
| D | getrandom.h | 57 extern void __arch_chacha20_blocks_nostack(u8 *dst_bytes, const u32 *key, u32 *counter, size_t nblo…
|
| /include/rdma/ |
| D | ib_pma.h | 57 __be32 counter[15]; member 64 __be64 counter[15]; member
|
| D | rdma_counter.h | 54 int rdma_counter_query_stats(struct rdma_counter *counter);
|
| /include/net/netfilter/ |
| D | nf_conntrack_acct.h | 20 struct nf_conn_counter counter[IP_CT_DIR_MAX]; member
|
| /include/trace/events/ |
| 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/ |
| 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() 2055 return raw_cmpxchg_acquire(&v->counter, old, new); in raw_atomic_cmpxchg_acquire() 2083 return raw_cmpxchg_release(&v->counter, old, new); in raw_atomic_cmpxchg_release() 2108 return raw_cmpxchg_relaxed(&v->counter, old, new); in raw_atomic_cmpxchg_relaxed() [all …]
|
| /include/linux/netfilter/ipset/ |
| D | ip_set.h | 513 ip_set_init_counter(struct ip_set_counter *counter, in ip_set_init_counter() argument 517 atomic64_set(&(counter)->bytes, (long long)(ext->bytes)); in ip_set_init_counter() 519 atomic64_set(&(counter)->packets, (long long)(ext->packets)); in ip_set_init_counter()
|
| /include/uapi/drm/ |
| D | v3d_drm.h | 753 __u8 counter; member
|
| /include/linux/mlx4/ |
| 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
|
| /include/uapi/linux/ |
| D | kfd_ioctl.h | 618 #define KFD_EVENT_FMT_THERMAL_THROTTLING(bitmask, counter)\ argument 619 "%llx:%llx\n", (bitmask), (counter)
|