]>
Commit | Line | Data |
---|---|---|
959ef981 | 1 | // SPDX-License-Identifier: GPL-2.0 |
2bd0ea18 | 2 | /* |
da23017d NS |
3 | * Copyright (c) 2000-2001,2005 Silicon Graphics, Inc. |
4 | * All Rights Reserved. | |
2bd0ea18 NS |
5 | */ |
6 | ||
01dcfd9e | 7 | void xfs_init(struct libxfs_init *args); |
2bd0ea18 | 8 | |
88f364a9 DC |
9 | int verify_sb(char *sb_buf, |
10 | xfs_sb_t *sb, | |
2bd0ea18 NS |
11 | int is_primary_sb); |
12 | int verify_set_primary_sb(xfs_sb_t *root_sb, | |
13 | int sb_index, | |
14 | int *sb_modified); | |
15 | int get_sb(xfs_sb_t *sbp, | |
16 | xfs_off_t off, | |
17 | int size, | |
18 | xfs_agnumber_t agno); | |
945c7341 | 19 | int retain_primary_sb(struct xfs_mount *mp); |
2bd0ea18 NS |
20 | void write_primary_sb(xfs_sb_t *sbp, |
21 | int size); | |
22 | ||
23 | int find_secondary_sb(xfs_sb_t *sb); | |
24 | ||
2814f3d6 MV |
25 | struct fs_geometry; |
26 | void get_sb_geometry(struct fs_geometry *geo, | |
2bd0ea18 NS |
27 | xfs_sb_t *sbp); |
28 | ||
29 | char *alloc_ag_buf(int size); | |
30 | ||
31 | void print_inode_list(xfs_agnumber_t i); | |
52cb19dc CH |
32 | char *err_string(int err_code); |
33 | ||
52cb19dc CH |
34 | void thread_init(void); |
35 | ||
36 | void phase1(struct xfs_mount *); | |
37 | void phase2(struct xfs_mount *, int); | |
8100dd79 | 38 | void phase3(struct xfs_mount *, int); |
52cb19dc | 39 | void phase4(struct xfs_mount *); |
f2e38861 | 40 | void check_rtmetadata(struct xfs_mount *mp); |
52cb19dc CH |
41 | void phase5(struct xfs_mount *); |
42 | void phase6(struct xfs_mount *); | |
e161d4a8 | 43 | void phase7(struct xfs_mount *, int); |
52cb19dc CH |
44 | |
45 | int verify_set_agheader(struct xfs_mount *, struct xfs_buf *, | |
46 | struct xfs_sb *, struct xfs_agf *, struct xfs_agi *, | |
47 | xfs_agnumber_t); |