Lines Matching +full:scrubber +full:- +full:done

1 /* SPDX-License-Identifier: LGPL-2.1 */
3 * Copyright (c) 1995-2005 Silicon Graphics, Inc.
11 * NOTE: This file must be compile-able with C++ compilers.
37 __s64 bmv_block; /* starting block (64-bit daddr_t) */
56 __s64 bmv_block; /* starting block (64-bit daddr_t) */
67 /* bmv_iflags values - set by XFS_IOC_GETBMAPX caller. */
78 /* bmv_oflags values - returned for each non-header segment */
79 #define BMV_OF_PREALLOC 0x1 /* segment = unwritten pre-allocation */
89 #define XFS_FMR_OWN_AG FMR_OWNER('X', 3) /* per-AG metadata */
224 #define XFS_FSOP_GEOM_FLAGS_NLINK (1 << 1) /* 32-bit nlink values */
228 #define XFS_FSOP_GEOM_FLAGS_SHARED (1 << 5) /* read-only shared */
234 #define XFS_FSOP_GEOM_FLAGS_PROJID32 (1 << 11) /* 32-bit project IDs */
236 /* -- Do not use -- (1 << 13) SGI parent pointers */
244 #define XFS_FSOP_GEOM_FLAGS_BIGTIME (1 << 21) /* 64-bit nsec timestamps */
262 * Limits on sb_agblocks/sb_agblklog -- mkfs won't format AGs smaller than
270 #define XFS_MAX_AGNUMBER ((xfs_agnumber_t)(NULLAGNUMBER - 1))
274 ((2 * 1024 * 1024 * 1024ULL) - XFS_MIN_LOG_BYTES)
277 #define XFS_MAX_DBLOCKS(s) ((xfs_rfsblock_t)(s)->sb_agcount * (s)->sb_agblocks)
278 #define XFS_MIN_DBLOCKS(s) ((xfs_rfsblock_t)((s)->sb_agcount - 1) * \
279 (s)->sb_agblocks + XFS_MIN_AG_BLOCKS)
394 uint32_t bs_extents; /* 32-bit data fork extent counter */
403 uint64_t bs_extents64; /* 64-bit data fork extent counter */
430 return (uint32_t)bs->bs_projid_hi << 16 | bs->bs_projid_lo; in bstat_get_projid()
434 * The user-level BulkStat Request interface structure.
488 * Return data fork extent count via xfs_bulkstat->bs_extents64 field and assign
489 * 0 to xfs_bulkstat->bs_extents when the flag is set. Otherwise, use
490 * xfs_bulkstat->bs_extents for returning data fork extent count and set
491 * xfs_bulkstat->bs_extents64 to 0. In the second case, return -EOVERFLOW and
492 * assign 0 to xfs_bulkstat->bs_extents if data fork extent count is larger than
571 * The user-level Handle Request interface structure.
586 * - ioctls: XFS_IOC_ATTRLIST_BY_HANDLE, and XFS_IOC_ATTRMULTI_BY_HANDLE
615 __s32 al_offset[]; /* byte offsets of attrs [var-sized] */
751 * sv_flags, set the barrier's sv_ret to -ECANCELED and return to userspace.
767 /* o: Cross-referencing failed. */
770 /* o: Metadata object disagrees with cross-referenced metadata. */
826 #define XFS_SCRUB_METAPATH_PROBE (0) /* do we have a metapath scrubber? */
828 #define XFS_SCRUB_METAPATH_RTBITMAP (2) /* per-rtg bitmap */
829 #define XFS_SCRUB_METAPATH_RTSUMMARY (3) /* per-rtg summary */
870 * Returns -EBUSY if there isn't an exact match for the file2 fields.
904 * scatter-gather atomic writes with a temp file if all writes are aligned to
919 /* Cursor is done iterating pptrs */
931 char gpr_name[]; /* Null-terminated filename */
962 return (struct xfs_getparents_rec *)(uintptr_t)gp->gp_buffer; in xfs_getparents_first_rec()
969 void *next = ((char *)gpr + gpr->gpr_reclen); in xfs_getparents_next_rec()
970 void *end = (void *)(uintptr_t)(gp->gp_buffer + gp->gp_bufsize); in xfs_getparents_next_rec()
1015 /* XFS_IOC_ALLOCSP ------- deprecated 10 */
1016 /* XFS_IOC_FREESP -------- deprecated 11 */
1020 /* XFS_IOC_ALLOCSP64 ----- deprecated 36 */
1021 /* XFS_IOC_FREESP64 ------ deprecated 37 */
1023 /* XFS_IOC_FSSETDM ------- deprecated 39 */
1030 /* XFS_IOC_SETBIOSIZE ---- deprecated 46 */
1031 /* XFS_IOC_GETBIOSIZE ---- deprecated 47 */
1035 /* XFS_IOC_GETFSMAP ------ hoisted 59 */
1064 /* XFS_IOC_ATTRCTL_BY_HANDLE -- deprecated 118 */
1069 /* XFS_IOC_FSSETDM_BY_HANDLE -- deprecated 121 */
1080 /* XFS_IOC_GETFSUUID ---------- deprecated 140 */
1091 #define BBMASK (BBSIZE-1)
1092 #define BTOBB(bytes) (((__u64)(bytes) + BBSIZE - 1) >> BBSHIFT)