| /linux/include/linux/ |
| H A D | percpu_counter.h | 22 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 D | flex_proportions.h | 30 struct percpu_counter events; 46 struct percpu_counter events;
|
| H A D | ipc_namespace.h | 40 struct percpu_counter percpu_msg_bytes; 41 struct percpu_counter percpu_msg_hdrs;
|
| H A D | quota.h | 267 struct percpu_counter counter[_DQST_DQSTAT_LAST];
|
| H A D | jbd2.h | 905 struct percpu_counter j_checkpoint_jh_count;
|
| /linux/lib/ |
| H A D | percpu_counter.c | 24 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 D | Makefile | 184 obj-$(CONFIG_SMP) += percpu_counter.o
|
| /linux/fs/ceph/ |
| H A D | metric.h | 207 struct percpu_counter d_lease_hit; 208 struct percpu_counter d_lease_mis; 211 struct percpu_counter i_caps_hit; 212 struct percpu_counter i_caps_mis; 220 struct percpu_counter opened_inodes; 221 struct percpu_counter total_inodes;
|
| /linux/fs/nfsd/ |
| H A D | netns.h | 206 struct percpu_counter counter[NFSD_STATS_COUNTERS_NUM]; 210 struct percpu_counter cb_counter[NFSD_STATS_CB_OPS_NUM];
|
| /linux/fs/xfs/ |
| H A D | xfs_mount.h | 133 struct percpu_counter count; 265 struct percpu_counter m_icount; /* allocated inodes counter */ 266 struct percpu_counter m_ifree; /* free inodes counter */ 275 struct percpu_counter m_delalloc_blks; 280 struct percpu_counter m_delalloc_rtextents;
|
| H A D | xfs_buf.h | 98 struct percpu_counter bt_readahead_count;
|
| /linux/fs/btrfs/ |
| H A D | fs.h | 392 struct percpu_counter bio_counter; 730 struct percpu_counter stats_read_blocks; 733 struct percpu_counter dirty_metadata_bytes; 734 struct percpu_counter delalloc_bytes; 735 struct percpu_counter ordered_bytes; 739 struct percpu_counter evictable_extent_maps;
|
| H A D | disk-io.c | 1226 struct percpu_counter *em_counter = &fs_info->evictable_extent_maps; in btrfs_free_fs_info()
|
| /linux/Documentation/admin-guide/cgroup-v1/ |
| H A D | cpuacct.rst | 43 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 D | user.h | 17 struct percpu_counter epoll_watches; /* The number of file descriptors currently watched */
|
| /linux/include/linux/sunrpc/ |
| H A D | svc.h | 46 struct percpu_counter sp_messages_arrived; 47 struct percpu_counter sp_sockets_queued; 48 struct percpu_counter sp_threads_woken;
|
| /linux/include/net/ |
| H A D | dst_ops.h | 5 #include <linux/percpu_counter.h> 43 struct percpu_counter pcpuc_entries ____cacheline_aligned_in_smp;
|
| /linux/fs/xfs/scrub/ |
| H A D | fscounters.c | 477 struct percpu_counter *counter, in xchk_fscount_within_range()
|
| /linux/fs/ext4/ |
| H A D | balloc.c | 628 struct percpu_counter *fcc = &sbi->s_freeclusters_counter; in ext4_has_free_clusters() 629 struct percpu_counter *dcc = &sbi->s_dirtyclusters_counter; in ext4_has_free_clusters()
|
| H A D | ext4.h | 1631 struct percpu_counter s_freeclusters_counter; 1632 struct percpu_counter s_freeinodes_counter; 1633 struct percpu_counter s_dirs_counter; 1634 struct percpu_counter s_dirtyclusters_counter; 1635 struct percpu_counter s_sra_exceeded_retry_limit;
|
| /linux/block/ |
| H A D | bfq-iosched.h | 915 struct percpu_counter cpu_cnt;
|
| /linux/include/net/sctp/ |
| H A D | sctp.h | 98 extern struct percpu_counter sctp_sockets_allocated;
|
| /linux/tools/memory-model/Documentation/ |
| H A D | simple.txt | 121 by the percpu_counter infrastructure. In many cases, there are already
|
| /linux/kernel/bpf/ |
| H A D | hashtab.c | 100 struct percpu_counter pcount;
|
| /linux/net/mptcp/ |
| H A D | protocol.c | 48 static struct percpu_counter mptcp_sockets_allocated ____cacheline_aligned_in_smp;
|