]>
git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blob - repair/protos.h
1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2000-2001,2005 Silicon Graphics, Inc.
7 void xfs_init(libxfs_init_t
*args
);
9 int verify_sb(char *sb_buf
,
12 int verify_set_primary_sb(xfs_sb_t
*root_sb
,
15 int get_sb(xfs_sb_t
*sbp
,
19 int retain_primary_sb(struct xfs_mount
*mp
);
20 void write_primary_sb(xfs_sb_t
*sbp
,
23 int find_secondary_sb(xfs_sb_t
*sb
);
26 void get_sb_geometry(struct fs_geometry
*geo
,
29 char *alloc_ag_buf(int size
);
31 void print_inode_list(xfs_agnumber_t i
);
32 char *err_string(int err_code
);
34 void thread_init(void);
36 void phase1(struct xfs_mount
*);
37 void phase2(struct xfs_mount
*, int);
38 void phase3(struct xfs_mount
*, int);
39 void phase4(struct xfs_mount
*);
40 void check_rtmetadata(struct xfs_mount
*mp
);
41 void phase5(struct xfs_mount
*);
42 void phase6(struct xfs_mount
*);
43 void phase7(struct xfs_mount
*, int);
45 int verify_set_agheader(struct xfs_mount
*, struct xfs_buf
*,
46 struct xfs_sb
*, struct xfs_agf
*, struct xfs_agi
*,