Home
last modified time | relevance | path

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

12

/linux/include/linux/
A Dpercpu_counter.h22 struct percpu_counter { struct
55 void percpu_counter_set(struct percpu_counter *fbc, s64 amount);
58 s64 __percpu_counter_sum(struct percpu_counter *fbc);
62 void percpu_counter_sync(struct percpu_counter *fbc);
92 percpu_counter_add_local(struct percpu_counter *fbc, s64 amount) in percpu_counter_add_local()
103 static inline s64 percpu_counter_sum(struct percpu_counter *fbc) in percpu_counter_sum()
108 static inline s64 percpu_counter_read(struct percpu_counter *fbc) in percpu_counter_read()
135 struct percpu_counter { struct
188 percpu_counter_add(struct percpu_counter *fbc, s64 amount) in percpu_counter_add()
220 percpu_counter_add_local(struct percpu_counter *fbc, s64 amount) in percpu_counter_add_local()
[all …]
A Dflex_proportions.h30 struct percpu_counter events;
46 struct percpu_counter events;
A Dipc_namespace.h40 struct percpu_counter percpu_msg_bytes;
41 struct percpu_counter percpu_msg_hdrs;
A Dmman.h64 extern struct percpu_counter vm_committed_as;
A Dbacking-dev-defs.h118 struct percpu_counter stat[NR_WB_STAT_ITEMS];
A Dshmem_fs.h59 struct percpu_counter used_blocks; /* How many are allocated */
A Dquota.h267 struct percpu_counter counter[_DQST_DQSTAT_LAST];
A Dio_uring_types.h95 struct percpu_counter inflight;
/linux/lib/
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()
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()
188 int __percpu_counter_init_many(struct percpu_counter *fbc, s64 amount, in __percpu_counter_init_many()
269 struct percpu_counter *fbc; in percpu_counter_cpu_dead()
[all …]
/linux/fs/ceph/
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/net/sunrpc/xprtrdma/
A Dsvc_rdma.c68 struct percpu_counter svcrdma_stat_read;
69 struct percpu_counter svcrdma_stat_recv;
70 struct percpu_counter svcrdma_stat_sq_starve;
71 struct percpu_counter svcrdma_stat_write;
80 struct percpu_counter *stat = (struct percpu_counter *)table->data; in svcrdma_counter_handler()
/linux/fs/xfs/
A Dxfs_mount.h187 struct percpu_counter m_icount; /* allocated inodes counter */
188 struct percpu_counter m_ifree; /* free inodes counter */
189 struct percpu_counter m_fdblocks; /* free block counter */
190 struct percpu_counter m_frextents; /* free rt extent counter */
197 struct percpu_counter m_delalloc_blks;
202 struct percpu_counter m_delalloc_rtextents;
574 int xfs_dec_freecounter(struct xfs_mount *mp, struct percpu_counter *counter,
576 void xfs_add_freecounter(struct xfs_mount *mp, struct percpu_counter *counter,
A Dxfs_buf.h124 struct percpu_counter bt_io_count;
/linux/fs/ext4/
A Dextents_status.h79 struct percpu_counter es_stats_cache_hits;
80 struct percpu_counter es_stats_cache_misses;
83 struct percpu_counter es_stats_all_cnt;
84 struct percpu_counter es_stats_shk_cnt;
/linux/include/linux/sunrpc/
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;
A Dsvc.h44 struct percpu_counter sp_messages_arrived;
45 struct percpu_counter sp_sockets_queued;
46 struct percpu_counter sp_threads_woken;
/linux/block/
A Dblk-cgroup-rwstat.h27 struct percpu_counter cpu_cnt[BLKG_RWSTAT_NR];
64 struct percpu_counter *cnt; in blkg_rwstat_add()
/linux/fs/btrfs/
A Dfs.h318 struct percpu_counter bio_counter;
629 struct percpu_counter dirty_metadata_bytes;
630 struct percpu_counter delalloc_bytes;
631 struct percpu_counter ordered_bytes;
635 struct percpu_counter evictable_extent_maps;
/linux/Documentation/admin-guide/cgroup-v1/
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/
A Duser.h17 struct percpu_counter epoll_watches; /* The number of file descriptors currently watched */
/linux/include/net/
A Ddst_ops.h43 struct percpu_counter pcpuc_entries ____cacheline_aligned_in_smp;
/linux/fs/nfsd/
A Dexport.h60 struct percpu_counter counter[EXP_STATS_COUNTERS_NUM];
A Dnetns.h185 struct percpu_counter counter[NFSD_STATS_COUNTERS_NUM];
/linux/fs/ext2/
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/
A Dfscounters.c469 struct percpu_counter *counter, in xchk_fscount_within_range()

Completed in 60 milliseconds

12