]>
git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blob - repair/dinode.h
2 * Copyright (c) 2000-2001,2005 Silicon Graphics, Inc.
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License as
7 * published by the Free Software Foundation.
9 * This program is distributed in the hope that it would be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write the Free Software Foundation,
16 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
24 verify_agbno(xfs_mount_t
*mp
,
29 verify_dfsbno(xfs_mount_t
*mp
,
34 xfs_bmbt_rec_32_t
*rp
,
35 xfs_dfiloff_t
*op
, /* starting offset (blockno in file) */
36 xfs_dfsbno_t
*sp
, /* starting block (fs blockno) */
37 xfs_dfilblks_t
*cp
, /* blockcount */
38 int *fp
); /* extent flag */
41 process_bmbt_reclist(xfs_mount_t
*mp
,
42 xfs_bmbt_rec_32_t
*rp
,
47 struct blkmap
**blkmapp
,
48 __uint64_t
*first_key
,
55 xfs_bmbt_rec_32_t
*rp
,
63 verify_inode_chunk(xfs_mount_t
*mp
,
65 xfs_ino_t
*start_ino
);
67 int verify_aginode_chunk(xfs_mount_t
*mp
,
70 xfs_agino_t
*agino_start
);
73 clear_dinode(xfs_mount_t
*mp
, xfs_dinode_t
*dino
, xfs_ino_t ino_num
);
76 update_rootino(xfs_mount_t
*mp
);
79 process_dinode(xfs_mount_t
*mp
,
94 verify_dinode(xfs_mount_t
*mp
,
100 verify_uncertain_dinode(xfs_mount_t
*mp
,
106 verify_inum(xfs_mount_t
*mp
,
110 verify_aginum(xfs_mount_t
*mp
,
115 process_uncertain_aginodes(xfs_mount_t
*mp
,
116 xfs_agnumber_t agno
);
118 process_aginodes(xfs_mount_t
*mp
,
122 int extra_attr_check
);
125 check_uncertain_aginodes(xfs_mount_t
*mp
,
126 xfs_agnumber_t agno
);
129 get_agino_buf(xfs_mount_t
*mp
,
132 xfs_dinode_t
**dipp
);
135 get_bmapi(xfs_mount_t
*mp
,
141 #endif /* _XR_DINODE_H */