Home
last modified time | relevance | path

Searched refs:percpu_counter (Results 1 – 25 of 37) sorted by relevance

12

/linux/include/linux/
H A Dpercpu_counter.h22 struct percpu_counter { struct
33 int __percpu_counter_init_many(struct percpu_counter *fbc, s64 amount, argument
49 void percpu_counter_destroy_many(struct percpu_counter *fbc, u32 nr_counters);
50 static inline void percpu_counter_destroy(struct percpu_counter *fbc) in percpu_counter_destroy()
55 void percpu_counter_set(struct percpu_counter *fbc, s64 amount);
56 void percpu_counter_add_batch(struct percpu_counter *fbc, s64 amount,
58 s64 __percpu_counter_sum(struct percpu_counter *fbc);
59 int __percpu_counter_compare(struct percpu_counter *fbc, s64 rhs, s32 batch);
60 bool __percpu_counter_limited_add(struct percpu_counter *fbc, s64 limit,
62 void percpu_counter_sync(struct percpu_counter *fbc);
[all …]
H A Dflex_proportions.h30 struct percpu_counter events;
46 struct percpu_counter events;
H A Dipc_namespace.h40 struct percpu_counter percpu_msg_bytes;
41 struct percpu_counter percpu_msg_hdrs;
H A Dmman.h62 extern struct percpu_counter vm_committed_as;
H A Dshmem_fs.h75 struct percpu_counter used_blocks; /* How many are allocated */
H A Dquota.h267 struct percpu_counter counter[_DQST_DQSTAT_LAST];
H A Dio_uring_types.h123 struct percpu_counter inflight;
/linux/lib/
H A Dpercpu_counter.c24 struct percpu_counter *fbc = addr; in percpu_counter_fixup_free()
41 static inline void debug_percpu_counter_activate(struct percpu_counter *fbc) in debug_percpu_counter_activate()
47 static inline void debug_percpu_counter_deactivate(struct percpu_counter *fbc) in debug_percpu_counter_deactivate()
54 static inline void debug_percpu_counter_activate(struct percpu_counter *fbc) in debug_percpu_counter_activate()
56 static inline void debug_percpu_counter_deactivate(struct percpu_counter *fbc) in debug_percpu_counter_deactivate()
60 void percpu_counter_set(struct percpu_counter *fbc, s64 amount) in percpu_counter_set()
93 void percpu_counter_add_batch(struct percpu_counter *fbc, s64 amount, s32 batch) in percpu_counter_add_batch()
120 void percpu_counter_add_batch(struct percpu_counter *fbc, s64 amount, s32 batch) in percpu_counter_add_batch()
146 void percpu_counter_sync(struct percpu_counter *fbc) in percpu_counter_sync()
171 s64 __percpu_counter_sum(struct percpu_counter *fbc) in __percpu_counter_sum()
[all …]
H A DMakefile183 obj-$(CONFIG_SMP) += percpu_counter.o
/linux/fs/ceph/
H A Dmetric.h170 struct percpu_counter d_lease_hit;
171 struct percpu_counter d_lease_mis;
174 struct percpu_counter i_caps_hit;
175 struct percpu_counter i_caps_mis;
183 struct percpu_counter opened_inodes;
184 struct percpu_counter total_inodes;
/linux/include/linux/sunrpc/
H A Dsvc_rdma.h71 extern struct percpu_counter svcrdma_stat_read;
72 extern struct percpu_counter svcrdma_stat_recv;
73 extern struct percpu_counter svcrdma_stat_sq_starve;
74 extern struct percpu_counter svcrdma_stat_write;
H A Dsvc.h44 struct percpu_counter sp_messages_arrived;
45 struct percpu_counter sp_sockets_queued;
46 struct percpu_counter sp_threads_woken;
/linux/fs/btrfs/
H A Dfs.h371 struct percpu_counter bio_counter;
690 struct percpu_counter stats_read_blocks;
693 struct percpu_counter dirty_metadata_bytes;
694 struct percpu_counter delalloc_bytes;
695 struct percpu_counter ordered_bytes;
699 struct percpu_counter evictable_extent_maps;
/linux/fs/xfs/
H A Dxfs_mount.h132 struct percpu_counter count;
264 struct percpu_counter m_icount; /* allocated inodes counter */
265 struct percpu_counter m_ifree; /* free inodes counter */
274 struct percpu_counter m_delalloc_blks;
279 struct percpu_counter m_delalloc_rtextents;
H A Dxfs_buf.h113 struct percpu_counter bt_readahead_count;
/linux/Documentation/admin-guide/cgroup-v1/
H A Dcpuacct.rst43 cpuacct controller uses percpu_counter interface to collect user and
50 due to the batch processing nature of percpu_counter.
/linux/include/linux/sched/
H A Duser.h17 struct percpu_counter epoll_watches; /* The number of file descriptors currently watched */
/linux/include/net/
H A Ddst_ops.h5 #include <linux/percpu_counter.h>
43 struct percpu_counter pcpuc_entries ____cacheline_aligned_in_smp;
/linux/fs/nfsd/
H A Dexport.h60 struct percpu_counter counter[EXP_STATS_COUNTERS_NUM];
H A Dnetns.h182 struct percpu_counter counter[NFSD_STATS_COUNTERS_NUM];
/linux/fs/ext2/
H A Dext2.h99 struct percpu_counter s_freeblocks_counter;
100 struct percpu_counter s_freeinodes_counter;
101 struct percpu_counter s_dirs_counter;
/linux/fs/xfs/scrub/
H A Dfscounters.c477 struct percpu_counter *counter, in xchk_fscount_within_range()
/linux/fs/
H A Dfile_table.c44 static struct percpu_counter nr_files __cacheline_aligned_in_smp;
/linux/block/
H A Dbfq-iosched.h915 struct percpu_counter cpu_cnt;
/linux/include/net/sctp/
H A Dsctp.h98 extern struct percpu_counter sctp_sockets_allocated;

12