Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/include/linux/
H A Dpercpu_counter.h20 struct percpu_counter { struct
31 int __percpu_counter_init(struct percpu_counter *fbc, s64 amount, gfp_t gfp, argument
41 void percpu_counter_destroy(struct percpu_counter *fbc);
42 void percpu_counter_set(struct percpu_counter *fbc, s64 amount);
43 void percpu_counter_add_batch(struct percpu_counter *fbc, s64 amount,
45 s64 __percpu_counter_sum(struct percpu_counter *fbc);
46 int __percpu_counter_compare(struct percpu_counter *fbc, s64 rhs, s32 batch);
47 void percpu_counter_sync(struct percpu_counter *fbc);
49 static inline int percpu_counter_compare(struct percpu_counter *fbc, s64 rhs) in percpu_counter_compare()
54 static inline void percpu_counter_add(struct percpu_counter *fbc, s64 amount) in percpu_counter_add()
[all …]
H A Dflex_proportions.h30 struct percpu_counter events;
78 struct percpu_counter events;
H A Dio_uring.h61 struct percpu_counter inflight;
H A Dmman.h56 extern struct percpu_counter vm_committed_as;
H A Dshmem_fs.h31 struct percpu_counter used_blocks; /* How many are allocated */
H A Dbacking-dev-defs.h120 struct percpu_counter stat[NR_WB_STAT_ITEMS];
H A Dquota.h267 struct percpu_counter counter[_DQST_DQSTAT_LAST];
/OK3568_Linux_fs/kernel/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()
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 …]
/OK3568_Linux_fs/kernel/fs/ceph/
H A Dmetric.h90 struct percpu_counter d_lease_hit;
91 struct percpu_counter d_lease_mis;
94 struct percpu_counter i_caps_hit;
95 struct percpu_counter i_caps_mis;
122 struct percpu_counter opened_inodes;
123 struct percpu_counter total_inodes;
/OK3568_Linux_fs/kernel/fs/ext4/
H A Dextents_status.h73 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;
H A Dballoc.c573 struct percpu_counter *fcc = &sbi->s_freeclusters_counter; in ext4_has_free_clusters()
574 struct percpu_counter *dcc = &sbi->s_dirtyclusters_counter; in ext4_has_free_clusters()
H A Dext4.h1467 struct percpu_counter s_freeclusters_counter;
1468 struct percpu_counter s_freeinodes_counter;
1469 struct percpu_counter s_dirs_counter;
1470 struct percpu_counter s_dirtyclusters_counter;
1471 struct percpu_counter s_sra_exceeded_retry_limit;
/OK3568_Linux_fs/kernel/fs/xfs/
H A Dxfs_mount.h164 struct percpu_counter m_icount; /* allocated inodes counter */
165 struct percpu_counter m_ifree; /* free inodes counter */
166 struct percpu_counter m_fdblocks; /* free block counter */
172 struct percpu_counter m_delalloc_blks;
H A Dxfs_buf.h102 struct percpu_counter bt_io_count;
/OK3568_Linux_fs/kernel/block/
H A Dblk-cgroup-rwstat.h27 struct percpu_counter cpu_cnt[BLKG_RWSTAT_NR];
64 struct percpu_counter *cnt; in blkg_rwstat_add()
H A Dbfq-iosched.h809 struct percpu_counter cpu_cnt;
/OK3568_Linux_fs/kernel/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.
/OK3568_Linux_fs/kernel/include/net/
H A Ddst_ops.h43 struct percpu_counter pcpuc_entries ____cacheline_aligned_in_smp;
/OK3568_Linux_fs/kernel/fs/ext2/
H A Dext2.h100 struct percpu_counter s_freeblocks_counter;
101 struct percpu_counter s_freeinodes_counter;
102 struct percpu_counter s_dirs_counter;
/OK3568_Linux_fs/kernel/fs/btrfs/
H A Dlocking.h136 struct percpu_counter writers;
H A Dspace-info.h50 struct percpu_counter total_bytes_pinned;
/OK3568_Linux_fs/kernel/fs/xfs/scrub/
H A Dfscounters.c260 struct percpu_counter *counter, in xchk_fscount_within_range()
/OK3568_Linux_fs/kernel/fs/
H A Dfile_table.c43 static struct percpu_counter nr_files __cacheline_aligned_in_smp;
/OK3568_Linux_fs/kernel/net/dccp/
H A Ddccp.h51 extern struct percpu_counter dccp_orphan_count;
/OK3568_Linux_fs/kernel/include/net/sctp/
H A Dsctp.h102 extern struct percpu_counter sctp_sockets_allocated;

12