linux/fs/xfs/xfs_stats.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Copyright (c) 2000-2003,2005 Silicon Graphics, Inc.
 * All Rights Reserved.
 */
#include "xfs.h"

struct xstats xfsstats;

static int counter_val(struct xfsstats __percpu *stats, int idx)
{}

int xfs_stats_format(struct xfsstats __percpu *stats, char *buf)
{}

void xfs_stats_clearall(struct xfsstats __percpu *stats)
{}

#ifdef CONFIG_PROC_FS
/* legacy quota interfaces */
#ifdef CONFIG_XFS_QUOTA

#define XFSSTAT_START_XQMSTAT
#define XFSSTAT_END_XQMSTAT

static int xqm_proc_show(struct seq_file *m, void *v)
{}

/* legacy quota stats interface no 2 */
static int xqmstat_proc_show(struct seq_file *m, void *v)
{}
#endif /* CONFIG_XFS_QUOTA */

int
xfs_init_procfs(void)
{}

void
xfs_cleanup_procfs(void)
{}
#endif /* CONFIG_PROC_FS */