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

/linux-4.4.14/fs/xfs/
H A Dxfs_stats.c21 struct xstats xfsstats; variable in typeref:struct:xstats
23 static int counter_val(struct xfsstats __percpu *stats, int idx) counter_val()
32 int xfs_stats_format(struct xfsstats __percpu *stats, char *buf) xfs_stats_format()
98 void xfs_stats_clearall(struct xfsstats __percpu *stats) xfs_stats_clearall()
103 xfs_notice(NULL, "Clearing xfsstats"); for_each_possible_cpu()
120 0, counter_val(xfsstats.xs_stats, XFSSTAT_END_XQMSTAT), xqm_proc_show()
121 0, counter_val(xfsstats.xs_stats, XFSSTAT_END_XQMSTAT + 1)); xqm_proc_show()
145 seq_printf(m, " %u", counter_val(xfsstats.xs_stats, j)); xqmstat_proc_show()
H A Dxfs_stats.h27 struct xfsstats { struct
216 int xfs_stats_format(struct xfsstats __percpu *stats, char *buf);
217 void xfs_stats_clearall(struct xfsstats __percpu *stats);
218 extern struct xstats xfsstats;
222 per_cpu_ptr(xfsstats.xs_stats, current_cpu())->v++; \
228 per_cpu_ptr(xfsstats.xs_stats, current_cpu())->v--; \
234 per_cpu_ptr(xfsstats.xs_stats, current_cpu())->v += (inc); \
H A Dxfs_super.c1489 mp->m_stats.xs_stats = alloc_percpu(struct xfsstats); xfs_fs_fill_super()
1865 xfsstats.xs_kobj.kobject.kset = xfs_kset; init_xfs_fs()
1867 xfsstats.xs_stats = alloc_percpu(struct xfsstats); init_xfs_fs()
1868 if (!xfsstats.xs_stats) { init_xfs_fs()
1873 error = xfs_sysfs_init(&xfsstats.xs_kobj, &xfs_stats_ktype, NULL, init_xfs_fs()
1901 xfs_sysfs_del(&xfsstats.xs_kobj); init_xfs_fs()
1903 free_percpu(xfsstats.xs_stats); init_xfs_fs()
1930 xfs_sysfs_del(&xfsstats.xs_kobj); exit_xfs_fs()
1931 free_percpu(xfsstats.xs_stats); exit_xfs_fs()
H A Dxfs_sysctl.c40 xfs_stats_clearall(xfsstats.xs_stats); xfs_stats_clear_proc_handler()
H A Dxfs_linux.h175 struct xfsstats __percpu *xs_stats;
179 extern struct xstats xfsstats;

Completed in 148 milliseconds