Home
last modified time | relevance | path

Searched refs:xfsstats (Results 1 – 5 of 5) sorted by relevance

/linux-6.3-rc2/fs/xfs/
A Dxfs_stats.h145 struct xfsstats { struct
159 int xfs_stats_format(struct xfsstats __percpu *stats, char *buf); argument
160 void xfs_stats_clearall(struct xfsstats __percpu *stats);
161 extern struct xstats xfsstats;
165 per_cpu_ptr(xfsstats.xs_stats, current_cpu())->s.v++; \
171 per_cpu_ptr(xfsstats.xs_stats, current_cpu())->s.v--; \
177 per_cpu_ptr(xfsstats.xs_stats, current_cpu())->s.v += (inc); \
183 per_cpu_ptr(xfsstats.xs_stats, current_cpu())->a[off]++; \
189 per_cpu_ptr(xfsstats.xs_stats, current_cpu())->a[off]; \
195 per_cpu_ptr(xfsstats.xs_stats, current_cpu())->a[off] += (inc); \
A Dxfs_stats.c8 struct xstats xfsstats; variable
10 static int counter_val(struct xfsstats __percpu *stats, int idx) in counter_val()
19 int xfs_stats_format(struct xfsstats __percpu *stats, char *buf) in xfs_stats_format()
91 void xfs_stats_clearall(struct xfsstats __percpu *stats) in xfs_stats_clearall()
118 0, counter_val(xfsstats.xs_stats, XFSSTAT_END_XQMSTAT), in xqm_proc_show()
119 0, counter_val(xfsstats.xs_stats, XFSSTAT_END_XQMSTAT + 1)); in xqm_proc_show()
130 seq_printf(m, " %u", counter_val(xfsstats.xs_stats, j)); in xqmstat_proc_show()
A Dxfs_linux.h157 struct xfsstats __percpu *xs_stats;
161 extern struct xstats xfsstats;
A Dxfs_super.c1519 mp->m_stats.xs_stats = alloc_percpu(struct xfsstats); in xfs_fs_fill_super()
2324 xfsstats.xs_kobj.kobject.kset = xfs_kset; in init_xfs_fs()
2326 xfsstats.xs_stats = alloc_percpu(struct xfsstats); in init_xfs_fs()
2327 if (!xfsstats.xs_stats) { in init_xfs_fs()
2332 error = xfs_sysfs_init(&xfsstats.xs_kobj, &xfs_stats_ktype, NULL, in init_xfs_fs()
2360 xfs_sysfs_del(&xfsstats.xs_kobj); in init_xfs_fs()
2362 free_percpu(xfsstats.xs_stats); in init_xfs_fs()
2389 xfs_sysfs_del(&xfsstats.xs_kobj); in exit_xfs_fs()
2390 free_percpu(xfsstats.xs_stats); in exit_xfs_fs()
A Dxfs_sysctl.c25 xfs_stats_clearall(xfsstats.xs_stats); in xfs_stats_clear_proc_handler()

Completed in 13 milliseconds