scrub.h (9a1f3049f47330b2467b9eecfc3a3298c46592d1) | scrub.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_SCRUB_H__ 7#define __XFS_SCRUB_SCRUB_H__ 8 --- 113 unchanged lines hidden (view full) --- 122int xchk_quota(struct xfs_scrub *sc); 123#else 124static inline int 125xchk_quota(struct xfs_scrub *sc) 126{ 127 return -ENOENT; 128} 129#endif | 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_SCRUB_H__ 7#define __XFS_SCRUB_SCRUB_H__ 8 --- 113 unchanged lines hidden (view full) --- 122int xchk_quota(struct xfs_scrub *sc); 123#else 124static inline int 125xchk_quota(struct xfs_scrub *sc) 126{ 127 return -ENOENT; 128} 129#endif |
130int xchk_fscounters(struct xfs_scrub *sc); |
|
130 131/* cross-referencing helpers */ 132void xchk_xref_is_used_space(struct xfs_scrub *sc, xfs_agblock_t agbno, 133 xfs_extlen_t len); 134void xchk_xref_is_not_inode_chunk(struct xfs_scrub *sc, xfs_agblock_t agbno, 135 xfs_extlen_t len); 136void xchk_xref_is_inode_chunk(struct xfs_scrub *sc, xfs_agblock_t agbno, 137 xfs_extlen_t len); --- 9 unchanged lines hidden (view full) --- 147 xfs_extlen_t len); 148#ifdef CONFIG_XFS_RT 149void xchk_xref_is_used_rt_space(struct xfs_scrub *sc, xfs_rtblock_t rtbno, 150 xfs_extlen_t len); 151#else 152# define xchk_xref_is_used_rt_space(sc, rtbno, len) do { } while (0) 153#endif 154 | 131 132/* cross-referencing helpers */ 133void xchk_xref_is_used_space(struct xfs_scrub *sc, xfs_agblock_t agbno, 134 xfs_extlen_t len); 135void xchk_xref_is_not_inode_chunk(struct xfs_scrub *sc, xfs_agblock_t agbno, 136 xfs_extlen_t len); 137void xchk_xref_is_inode_chunk(struct xfs_scrub *sc, xfs_agblock_t agbno, 138 xfs_extlen_t len); --- 9 unchanged lines hidden (view full) --- 148 xfs_extlen_t len); 149#ifdef CONFIG_XFS_RT 150void xchk_xref_is_used_rt_space(struct xfs_scrub *sc, xfs_rtblock_t rtbno, 151 xfs_extlen_t len); 152#else 153# define xchk_xref_is_used_rt_space(sc, rtbno, len) do { } while (0) 154#endif 155 |
156struct xchk_fscounters { 157 uint64_t icount; 158 uint64_t ifree; 159 uint64_t fdblocks; 160 unsigned long long icount_min; 161 unsigned long long icount_max; 162}; 163 |
|
155#endif /* __XFS_SCRUB_SCRUB_H__ */ | 164#endif /* __XFS_SCRUB_SCRUB_H__ */ |