Searched refs:percpu_counter (Results 1 – 25 of 46) sorted by relevance
12
| /Linux-v6.1/include/linux/ |
| D | percpu_counter.h | 23 struct percpu_counter { struct 34 int __percpu_counter_init(struct percpu_counter *fbc, s64 amount, gfp_t gfp, argument 44 void percpu_counter_destroy(struct percpu_counter *fbc); 45 void percpu_counter_set(struct percpu_counter *fbc, s64 amount); 46 void percpu_counter_add_batch(struct percpu_counter *fbc, s64 amount, 48 s64 __percpu_counter_sum(struct percpu_counter *fbc); 49 int __percpu_counter_compare(struct percpu_counter *fbc, s64 rhs, s32 batch); 50 void percpu_counter_sync(struct percpu_counter *fbc); 52 static inline int percpu_counter_compare(struct percpu_counter *fbc, s64 rhs) in percpu_counter_compare() 57 static inline void percpu_counter_add(struct percpu_counter *fbc, s64 amount) in percpu_counter_add() [all …]
|
| D | flex_proportions.h | 30 struct percpu_counter events; 78 struct percpu_counter events;
|
| D | ipc_namespace.h | 40 struct percpu_counter percpu_msg_bytes; 41 struct percpu_counter percpu_msg_hdrs;
|
| D | mman.h | 59 extern struct percpu_counter vm_committed_as;
|
| D | backing-dev-defs.h | 118 struct percpu_counter stat[NR_WB_STAT_ITEMS];
|
| D | shmem_fs.h | 39 struct percpu_counter used_blocks; /* How many are allocated */
|
| D | io_uring_types.h | 63 struct percpu_counter inflight;
|
| /Linux-v6.1/lib/ |
| 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() 82 void percpu_counter_add_batch(struct percpu_counter *fbc, s64 amount, s32 batch) in percpu_counter_add_batch() 107 void percpu_counter_sync(struct percpu_counter *fbc) in percpu_counter_sync() 124 s64 __percpu_counter_sum(struct percpu_counter *fbc) in __percpu_counter_sum() 141 int __percpu_counter_init(struct percpu_counter *fbc, s64 amount, gfp_t gfp, in __percpu_counter_init() [all …]
|
| /Linux-v6.1/fs/ceph/ |
| 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;
|
| /Linux-v6.1/net/sunrpc/xprtrdma/ |
| 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()
|
| /Linux-v6.1/fs/nfsd/ |
| D | stats.h | 30 struct percpu_counter counter[NFSD_STATS_COUNTERS_NUM]; 39 int nfsd_percpu_counters_init(struct percpu_counter counters[], int num); 40 void nfsd_percpu_counters_reset(struct percpu_counter counters[], int num); 41 void nfsd_percpu_counters_destroy(struct percpu_counter counters[], int num);
|
| D | stats.c | 77 int nfsd_percpu_counters_init(struct percpu_counter counters[], int num) in nfsd_percpu_counters_init() 93 void nfsd_percpu_counters_reset(struct percpu_counter counters[], int num) in nfsd_percpu_counters_reset() 101 void nfsd_percpu_counters_destroy(struct percpu_counter counters[], int num) in nfsd_percpu_counters_destroy()
|
| D | export.h | 60 struct percpu_counter counter[EXP_STATS_COUNTERS_NUM];
|
| D | netns.h | 171 struct percpu_counter counter[NFSD_NET_COUNTERS_NUM];
|
| /Linux-v6.1/include/linux/sunrpc/ |
| 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;
|
| /Linux-v6.1/fs/ext4/ |
| 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;
|
| /Linux-v6.1/fs/xfs/ |
| D | xfs_mount.h | 183 struct percpu_counter m_icount; /* allocated inodes counter */ 184 struct percpu_counter m_ifree; /* free inodes counter */ 185 struct percpu_counter m_fdblocks; /* free block counter */ 186 struct percpu_counter m_frextents; /* free rt extent counter */ 193 struct percpu_counter m_delalloc_blks; 517 int xfs_mod_freecounter(struct xfs_mount *mp, struct percpu_counter *counter,
|
| D | xfs_buf.h | 108 struct percpu_counter bt_io_count;
|
| /Linux-v6.1/block/ |
| D | blk-cgroup-rwstat.h | 27 struct percpu_counter cpu_cnt[BLKG_RWSTAT_NR]; 64 struct percpu_counter *cnt; in blkg_rwstat_add()
|
| /Linux-v6.1/Documentation/admin-guide/cgroup-v1/ |
| 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-v6.1/include/linux/sched/ |
| D | user.h | 17 struct percpu_counter epoll_watches; /* The number of file descriptors currently watched */
|
| /Linux-v6.1/include/net/ |
| D | dst_ops.h | 43 struct percpu_counter pcpuc_entries ____cacheline_aligned_in_smp;
|
| /Linux-v6.1/fs/btrfs/ |
| D | locking.h | 122 struct percpu_counter writers;
|
| /Linux-v6.1/fs/ext2/ |
| D | ext2.h | 102 struct percpu_counter s_freeblocks_counter; 103 struct percpu_counter s_freeinodes_counter; 104 struct percpu_counter s_dirs_counter;
|
| /Linux-v6.1/fs/xfs/scrub/ |
| D | fscounters.c | 287 struct percpu_counter *counter, in xchk_fscount_within_range()
|
12