scrub.h (48ff40458f871fb19e7b1b40e0e5084b8751d9cb) scrub.h (e74331d6fa2c21a8ecccfe0648dad5193b83defe)
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

--- 155 unchanged lines hidden (view full) ---

164 xfs_extlen_t len);
165#ifdef CONFIG_XFS_RT
166void xchk_xref_is_used_rt_space(struct xfs_scrub *sc, xfs_rtblock_t rtbno,
167 xfs_extlen_t len);
168#else
169# define xchk_xref_is_used_rt_space(sc, rtbno, len) do { } while (0)
170#endif
171
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

--- 155 unchanged lines hidden (view full) ---

164 xfs_extlen_t len);
165#ifdef CONFIG_XFS_RT
166void xchk_xref_is_used_rt_space(struct xfs_scrub *sc, xfs_rtblock_t rtbno,
167 xfs_extlen_t len);
168#else
169# define xchk_xref_is_used_rt_space(sc, rtbno, len) do { } while (0)
170#endif
171
172struct xchk_fscounters {
173 uint64_t icount;
174 uint64_t ifree;
175 uint64_t fdblocks;
176 unsigned long long icount_min;
177 unsigned long long icount_max;
178};
179
180#endif /* __XFS_SCRUB_SCRUB_H__ */
172#endif /* __XFS_SCRUB_SCRUB_H__ */