/openbmc/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 void percpu_counter_sync(struct percpu_counter *fbc); 62 static inline int percpu_counter_compare(struct percpu_counter *fbc, s64 rhs) in percpu_counter_compare() [all …]
|
H A D | flex_proportions.h | 30 struct percpu_counter events; 78 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 | mman.h | 64 extern struct percpu_counter vm_committed_as;
|
H A D | backing-dev-defs.h | 118 struct percpu_counter stat[NR_WB_STAT_ITEMS];
|
H A D | shmem_fs.h | 55 struct percpu_counter used_blocks; /* How many are allocated */
|
H A D | io_uring_types.h | 63 struct percpu_counter inflight;
|
/openbmc/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() 87 void percpu_counter_add_batch(struct percpu_counter *fbc, s64 amount, s32 batch) in percpu_counter_add_batch() 112 void percpu_counter_sync(struct percpu_counter *fbc) in percpu_counter_sync() 137 s64 __percpu_counter_sum(struct percpu_counter *fbc) in __percpu_counter_sum() 154 int __percpu_counter_init_many(struct percpu_counter *fbc, s64 amount, in __percpu_counter_init_many() [all …]
|
/openbmc/linux/fs/ceph/ |
H A D | metric.h | 170 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;
|
/openbmc/linux/net/sunrpc/xprtrdma/ |
H A D | svc_rdma.c | 68 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()
|
/openbmc/linux/include/linux/sunrpc/ |
H A D | svc_rdma.h | 69 extern struct percpu_counter svcrdma_stat_read; 70 extern struct percpu_counter svcrdma_stat_recv; 71 extern struct percpu_counter svcrdma_stat_sq_starve; 72 extern struct percpu_counter svcrdma_stat_write;
|
H A D | svc.h | 42 struct percpu_counter sp_messages_arrived; 43 struct percpu_counter sp_sockets_queued; 44 struct percpu_counter sp_threads_woken;
|
/openbmc/linux/fs/nfsd/ |
H A D | stats.h | 13 int nfsd_percpu_counters_init(struct percpu_counter *counters, int num); 14 void nfsd_percpu_counters_reset(struct percpu_counter *counters, int num); 15 void nfsd_percpu_counters_destroy(struct percpu_counter *counters, int num);
|
H A D | stats.c | 76 int nfsd_percpu_counters_init(struct percpu_counter *counters, int num) in nfsd_percpu_counters_init() 92 void nfsd_percpu_counters_reset(struct percpu_counter counters[], int num) in nfsd_percpu_counters_reset() 100 void nfsd_percpu_counters_destroy(struct percpu_counter counters[], int num) in nfsd_percpu_counters_destroy()
|
H A D | export.h | 60 struct percpu_counter counter[EXP_STATS_COUNTERS_NUM];
|
H A D | netns.h | 187 struct percpu_counter counter[NFSD_STATS_COUNTERS_NUM];
|
/openbmc/linux/fs/ext4/ |
H A D | extents_status.h | 73 struct percpu_counter es_stats_cache_hits; 74 struct percpu_counter es_stats_cache_misses; 77 struct percpu_counter es_stats_all_cnt; 78 struct percpu_counter es_stats_shk_cnt;
|
/openbmc/linux/fs/xfs/ |
H A D | xfs_mount.h | 185 struct percpu_counter m_icount; /* allocated inodes counter */ 186 struct percpu_counter m_ifree; /* free inodes counter */ 187 struct percpu_counter m_fdblocks; /* free block counter */ 188 struct percpu_counter m_frextents; /* free rt extent counter */ 195 struct percpu_counter m_delalloc_blks; 535 int xfs_mod_freecounter(struct xfs_mount *mp, struct percpu_counter *counter,
|
H A D | xfs_buf.h | 114 struct percpu_counter bt_io_count;
|
/openbmc/linux/block/ |
H A D | blk-cgroup-rwstat.h | 27 struct percpu_counter cpu_cnt[BLKG_RWSTAT_NR]; 64 struct percpu_counter *cnt; in blkg_rwstat_add()
|
/openbmc/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.
|
/openbmc/linux/fs/btrfs/ |
H A D | fs.h | 272 struct percpu_counter bio_counter; 573 struct percpu_counter dirty_metadata_bytes; 574 struct percpu_counter delalloc_bytes; 575 struct percpu_counter ordered_bytes;
|
/openbmc/linux/include/linux/sched/ |
H A D | user.h | 17 struct percpu_counter epoll_watches; /* The number of file descriptors currently watched */
|
/openbmc/linux/include/net/ |
H A D | dst_ops.h | 43 struct percpu_counter pcpuc_entries ____cacheline_aligned_in_smp;
|
/openbmc/linux/fs/ext2/ |
H A D | ext2.h | 99 struct percpu_counter s_freeblocks_counter; 100 struct percpu_counter s_freeinodes_counter; 101 struct percpu_counter s_dirs_counter;
|