Searched refs:xfsstats (Results 1 – 5 of 5) sorted by relevance
/fs/xfs/ |
D | xfs_stats.h | 178 struct xfsstats { struct 192 int xfs_stats_format(struct xfsstats __percpu *stats, char *buf); argument 193 void xfs_stats_clearall(struct xfsstats __percpu *stats); 194 extern struct xstats xfsstats; 198 per_cpu_ptr(xfsstats.xs_stats, current_cpu())->s.v++; \ 204 per_cpu_ptr(xfsstats.xs_stats, current_cpu())->s.v--; \ 210 per_cpu_ptr(xfsstats.xs_stats, current_cpu())->s.v += (inc); \ 216 per_cpu_ptr(xfsstats.xs_stats, current_cpu())->a[off]++; \ 222 per_cpu_ptr(xfsstats.xs_stats, current_cpu())->a[off]; \ 228 per_cpu_ptr(xfsstats.xs_stats, current_cpu())->a[off] += (inc); \
|
D | xfs_stats.c | 21 struct xstats xfsstats; variable 23 static int counter_val(struct xfsstats __percpu *stats, int idx) in counter_val() 32 int xfs_stats_format(struct xfsstats __percpu *stats, char *buf) in xfs_stats_format() 100 void xfs_stats_clearall(struct xfsstats __percpu *stats) in xfs_stats_clearall() 122 0, counter_val(xfsstats.xs_stats, XFSSTAT_END_XQMSTAT), in xqm_proc_show() 123 0, counter_val(xfsstats.xs_stats, XFSSTAT_END_XQMSTAT + 1)); in xqm_proc_show() 146 seq_printf(m, " %u", counter_val(xfsstats.xs_stats, j)); in xqmstat_proc_show()
|
D | xfs_super.c | 1604 mp->m_stats.xs_stats = alloc_percpu(struct xfsstats); in xfs_fs_fill_super() 2076 xfsstats.xs_kobj.kobject.kset = xfs_kset; in init_xfs_fs() 2078 xfsstats.xs_stats = alloc_percpu(struct xfsstats); in init_xfs_fs() 2079 if (!xfsstats.xs_stats) { in init_xfs_fs() 2084 error = xfs_sysfs_init(&xfsstats.xs_kobj, &xfs_stats_ktype, NULL, in init_xfs_fs() 2112 xfs_sysfs_del(&xfsstats.xs_kobj); in init_xfs_fs() 2114 free_percpu(xfsstats.xs_stats); in init_xfs_fs() 2141 xfs_sysfs_del(&xfsstats.xs_kobj); in exit_xfs_fs() 2142 free_percpu(xfsstats.xs_stats); in exit_xfs_fs()
|
D | xfs_linux.h | 168 struct xfsstats __percpu *xs_stats; 172 extern struct xstats xfsstats;
|
D | xfs_sysctl.c | 40 xfs_stats_clearall(xfsstats.xs_stats); in xfs_stats_clear_proc_handler()
|