]>
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
25 verify_agbno(xfs_mount_t
*mp
,
30 verify_dfsbno(xfs_mount_t
*mp
,
36 xfs_fileoff_t
*op
, /* starting offset (blockno in file) */
37 xfs_fsblock_t
*sp
, /* starting block (fs blockno) */
38 xfs_filblks_t
*cp
, /* blockcount */
39 int *fp
); /* extent flag */
42 process_bmbt_reclist(xfs_mount_t
*mp
,
48 struct blkmap
**blkmapp
,
64 update_rootino(xfs_mount_t
*mp
);
67 process_dinode(xfs_mount_t
*mp
,
81 verify_dinode(xfs_mount_t
*mp
,
87 verify_uncertain_dinode(xfs_mount_t
*mp
,
93 verify_inum(xfs_mount_t
*mp
,
97 verify_aginum(xfs_mount_t
*mp
,
102 process_uncertain_aginodes(xfs_mount_t
*mp
,
103 xfs_agnumber_t agno
);
105 process_aginodes(xfs_mount_t
*mp
,
106 struct prefetch_args
*pf_args
,
110 int extra_attr_check
);
113 check_uncertain_aginodes(xfs_mount_t
*mp
,
114 xfs_agnumber_t agno
);
118 struct xfs_mount
*mp
,
121 struct xfs_dinode
**dipp
);
123 void dinode_bmbt_translation_init(void);
124 char * get_forkname(int whichfork
);
126 #endif /* _XR_DINODE_H */