common.h (9a1f3049f47330b2467b9eecfc3a3298c46592d1) | common.h (75efa57d0bf5fcf650a183f0ce0dc011ba8c4bc8) |
---|---|
1// SPDX-License-Identifier: GPL-2.0+ 2/* 3 * Copyright (C) 2017 Oracle. All Rights Reserved. 4 * Author: Darrick J. Wong <darrick.wong@oracle.com> 5 */ 6#ifndef __XFS_SCRUB_COMMON_H__ 7#define __XFS_SCRUB_COMMON_H__ 8 --- 25 unchanged lines hidden (view full) --- 34 xfs_agnumber_t agno, xfs_agblock_t bno, int *error); 35bool xchk_fblock_xref_process_error(struct xfs_scrub *sc, 36 int whichfork, xfs_fileoff_t offset, int *error); 37 38void xchk_block_set_preen(struct xfs_scrub *sc, 39 struct xfs_buf *bp); 40void xchk_ino_set_preen(struct xfs_scrub *sc, xfs_ino_t ino); 41 | 1// SPDX-License-Identifier: GPL-2.0+ 2/* 3 * Copyright (C) 2017 Oracle. All Rights Reserved. 4 * Author: Darrick J. Wong <darrick.wong@oracle.com> 5 */ 6#ifndef __XFS_SCRUB_COMMON_H__ 7#define __XFS_SCRUB_COMMON_H__ 8 --- 25 unchanged lines hidden (view full) --- 34 xfs_agnumber_t agno, xfs_agblock_t bno, int *error); 35bool xchk_fblock_xref_process_error(struct xfs_scrub *sc, 36 int whichfork, xfs_fileoff_t offset, int *error); 37 38void xchk_block_set_preen(struct xfs_scrub *sc, 39 struct xfs_buf *bp); 40void xchk_ino_set_preen(struct xfs_scrub *sc, xfs_ino_t ino); 41 |
42void xchk_set_corrupt(struct xfs_scrub *sc); |
|
42void xchk_block_set_corrupt(struct xfs_scrub *sc, 43 struct xfs_buf *bp); 44void xchk_ino_set_corrupt(struct xfs_scrub *sc, xfs_ino_t ino); 45void xchk_fblock_set_corrupt(struct xfs_scrub *sc, int whichfork, 46 xfs_fileoff_t offset); 47 48void xchk_block_xref_set_corrupt(struct xfs_scrub *sc, 49 struct xfs_buf *bp); --- 50 unchanged lines hidden (view full) --- 100int xchk_setup_quota(struct xfs_scrub *sc, struct xfs_inode *ip); 101#else 102static inline int 103xchk_setup_quota(struct xfs_scrub *sc, struct xfs_inode *ip) 104{ 105 return -ENOENT; 106} 107#endif | 43void xchk_block_set_corrupt(struct xfs_scrub *sc, 44 struct xfs_buf *bp); 45void xchk_ino_set_corrupt(struct xfs_scrub *sc, xfs_ino_t ino); 46void xchk_fblock_set_corrupt(struct xfs_scrub *sc, int whichfork, 47 xfs_fileoff_t offset); 48 49void xchk_block_xref_set_corrupt(struct xfs_scrub *sc, 50 struct xfs_buf *bp); --- 50 unchanged lines hidden (view full) --- 101int xchk_setup_quota(struct xfs_scrub *sc, struct xfs_inode *ip); 102#else 103static inline int 104xchk_setup_quota(struct xfs_scrub *sc, struct xfs_inode *ip) 105{ 106 return -ENOENT; 107} 108#endif |
109int xchk_setup_fscounters(struct xfs_scrub *sc, struct xfs_inode *ip); |
|
108 109void xchk_ag_free(struct xfs_scrub *sc, struct xchk_ag *sa); 110int xchk_ag_init(struct xfs_scrub *sc, xfs_agnumber_t agno, 111 struct xchk_ag *sa); 112void xchk_perag_get(struct xfs_mount *mp, struct xchk_ag *sa); 113int xchk_ag_read_headers(struct xfs_scrub *sc, xfs_agnumber_t agno, 114 struct xfs_buf **agi, struct xfs_buf **agf, 115 struct xfs_buf **agfl); --- 28 unchanged lines hidden --- | 110 111void xchk_ag_free(struct xfs_scrub *sc, struct xchk_ag *sa); 112int xchk_ag_init(struct xfs_scrub *sc, xfs_agnumber_t agno, 113 struct xchk_ag *sa); 114void xchk_perag_get(struct xfs_mount *mp, struct xchk_ag *sa); 115int xchk_ag_read_headers(struct xfs_scrub *sc, xfs_agnumber_t agno, 116 struct xfs_buf **agi, struct xfs_buf **agf, 117 struct xfs_buf **agfl); --- 28 unchanged lines hidden --- |