#include "xfs.h"
#include "xfs_fs.h"
#include "xfs_shared.h"
#include "xfs_format.h"
#include "xfs_log_format.h"
#include "xfs_trans_resv.h"
#include "xfs_mount.h"
#include "xfs_inode.h"
#include "xfs_trace.h"
#include "xfs_health.h"
#include "xfs_ag.h"
#include "xfs_btree.h"
#include "xfs_da_format.h"
#include "xfs_da_btree.h"
#include "xfs_quota_defs.h"
void
xfs_health_unmount(
struct xfs_mount *mp)
{ … }
void
xfs_fs_mark_sick(
struct xfs_mount *mp,
unsigned int mask)
{ … }
void
xfs_fs_mark_corrupt(
struct xfs_mount *mp,
unsigned int mask)
{ … }
void
xfs_fs_mark_healthy(
struct xfs_mount *mp,
unsigned int mask)
{ … }
void
xfs_fs_measure_sickness(
struct xfs_mount *mp,
unsigned int *sick,
unsigned int *checked)
{ … }
void
xfs_rt_mark_sick(
struct xfs_mount *mp,
unsigned int mask)
{ … }
void
xfs_rt_mark_corrupt(
struct xfs_mount *mp,
unsigned int mask)
{ … }
void
xfs_rt_mark_healthy(
struct xfs_mount *mp,
unsigned int mask)
{ … }
void
xfs_rt_measure_sickness(
struct xfs_mount *mp,
unsigned int *sick,
unsigned int *checked)
{ … }
void
xfs_agno_mark_sick(
struct xfs_mount *mp,
xfs_agnumber_t agno,
unsigned int mask)
{ … }
void
xfs_ag_mark_sick(
struct xfs_perag *pag,
unsigned int mask)
{ … }
void
xfs_ag_mark_corrupt(
struct xfs_perag *pag,
unsigned int mask)
{ … }
void
xfs_ag_mark_healthy(
struct xfs_perag *pag,
unsigned int mask)
{ … }
void
xfs_ag_measure_sickness(
struct xfs_perag *pag,
unsigned int *sick,
unsigned int *checked)
{ … }
void
xfs_inode_mark_sick(
struct xfs_inode *ip,
unsigned int mask)
{ … }
void
xfs_inode_mark_corrupt(
struct xfs_inode *ip,
unsigned int mask)
{ … }
void
xfs_inode_mark_healthy(
struct xfs_inode *ip,
unsigned int mask)
{ … }
void
xfs_inode_measure_sickness(
struct xfs_inode *ip,
unsigned int *sick,
unsigned int *checked)
{ … }
struct ioctl_sick_map { … };
static const struct ioctl_sick_map fs_map[] = …;
static const struct ioctl_sick_map rt_map[] = …;
static inline void
xfgeo_health_tick(
struct xfs_fsop_geom *geo,
unsigned int sick,
unsigned int checked,
const struct ioctl_sick_map *m)
{ … }
void
xfs_fsop_geom_health(
struct xfs_mount *mp,
struct xfs_fsop_geom *geo)
{ … }
static const struct ioctl_sick_map ag_map[] = …;
void
xfs_ag_geom_health(
struct xfs_perag *pag,
struct xfs_ag_geometry *ageo)
{ … }
static const struct ioctl_sick_map ino_map[] = …;
void
xfs_bulkstat_health(
struct xfs_inode *ip,
struct xfs_bulkstat *bs)
{ … }
void
xfs_bmap_mark_sick(
struct xfs_inode *ip,
int whichfork)
{ … }
void
xfs_btree_mark_sick(
struct xfs_btree_cur *cur)
{ … }
void
xfs_dirattr_mark_sick(
struct xfs_inode *ip,
int whichfork)
{ … }
void
xfs_da_mark_sick(
struct xfs_da_args *args)
{ … }