Home
last modified time | relevance | path

Searched refs:sb_features2 (Results 1 - 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/fs/xfs/libxfs/
H A Dxfs_format.h69 * word, sb_versionnum, and sb_features2. Whenever a bit is set in
70 * sb_features2, the feature bit XFS_SB_VERSION_MOREBITSBIT must be set.
72 * These defines represent bits in sb_features2.
150 uint32_t sb_features2; /* additional feature bits */ member
158 * the value in sb_features2 when formatting the incore superblock to
241 __be32 sb_features2; /* additional feature bits */ member
296 (sbp->sb_features2 & ~XFS_SB_VERSION2_OKBITS))) in xfs_sb_good_v4_features()
322 return sbp->sb_bad_features2 != sbp->sb_features2; in xfs_sb_has_mismatched_features2()
379 * sb_features2 bit version macros.
385 (sbp->sb_features2 in xfs_sb_version_haslazysbcount()
[all...]
H A Dxfs_sb.c532 to->sb_features2 = be32_to_cpu(from->sb_features2); in __xfs_sb_from_disk()
679 from->sb_bad_features2 = from->sb_features2; in xfs_sb_to_disk()
680 to->sb_features2 = cpu_to_be32(from->sb_features2); in xfs_sb_to_disk()
/kernel/linux/linux-6.6/fs/xfs/libxfs/
H A Dxfs_sb.c49 if (sbp->sb_features2 & ~(XFS_SB_VERSION2_OKBITS | in xfs_sb_validate_v5_features()
69 if ((sbp->sb_features2 & V5_FEAT_FLAGS) != V5_FEAT_FLAGS) in xfs_sb_validate_v5_features()
97 (sbp->sb_features2 & ~XFS_SB_VERSION2_OKBITS))) in xfs_sb_good_version()
138 if (sbp->sb_features2 & XFS_SB_VERSION2_LAZYSBCOUNTBIT) in xfs_sb_version_to_features()
140 if (sbp->sb_features2 & XFS_SB_VERSION2_ATTR2BIT) in xfs_sb_version_to_features()
142 if (sbp->sb_features2 & XFS_SB_VERSION2_PROJID32BIT) in xfs_sb_version_to_features()
144 if (sbp->sb_features2 & XFS_SB_VERSION2_FTYPE) in xfs_sb_version_to_features()
654 to->sb_features2 = be32_to_cpu(from->sb_features2); in __xfs_sb_from_disk()
807 from->sb_bad_features2 = from->sb_features2; in xfs_sb_to_disk()
[all...]
H A Dxfs_format.h69 * word, sb_versionnum, and sb_features2. Whenever a bit is set in
70 * sb_features2, the feature bit XFS_SB_VERSION_MOREBITSBIT must be set.
72 * These defines represent bits in sb_features2.
150 uint32_t sb_features2; /* additional feature bits */ member
158 * the value in sb_features2 when formatting the incore superblock to
241 __be32 sb_features2; /* additional feature bits */ member
293 return sbp->sb_bad_features2 != sbp->sb_features2; in xfs_sb_has_mismatched_features2()
315 sbp->sb_features2 |= XFS_SB_VERSION2_ATTR2BIT; in xfs_sb_version_addattr2()
321 sbp->sb_features2 |= XFS_SB_VERSION2_PROJID32BIT; in xfs_sb_version_addprojid32()
H A Dxfs_attr_leaf.c666 if (mp->m_sb.sb_features2 & XFS_SB_VERSION2_ATTR2BIT) in xfs_sbversion_add_attr2()
/kernel/linux/linux-6.6/fs/xfs/scrub/
H A Dagheader.c265 /* Do we see any invalid bits in sb_features2? */ in xchk_superblock()
267 if (sb->sb_features2 != 0) in xchk_superblock()
274 if (!!(sb->sb_features2 & cpu_to_be32(~v2_ok))) in xchk_superblock()
277 if (sb->sb_features2 != sb->sb_bad_features2) in xchk_superblock()
281 /* Check sb_features2 flags that are set at mkfs time. */ in xchk_superblock()
286 if ((sb->sb_features2 & features_mask) != in xchk_superblock()
287 (cpu_to_be32(mp->m_sb.sb_features2) & features_mask)) in xchk_superblock()
290 /* Check sb_features2 flags that can be set after mkfs time. */ in xchk_superblock()
292 if ((sb->sb_features2 & features_mask) != in xchk_superblock()
293 (cpu_to_be32(mp->m_sb.sb_features2) in xchk_superblock()
[all...]
/kernel/linux/linux-5.10/fs/xfs/scrub/
H A Dagheader.c243 /* Do we see any invalid bits in sb_features2? */ in xchk_superblock()
245 if (sb->sb_features2 != 0) in xchk_superblock()
252 if (!!(sb->sb_features2 & cpu_to_be32(~v2_ok))) in xchk_superblock()
255 if (sb->sb_features2 != sb->sb_bad_features2) in xchk_superblock()
259 /* Check sb_features2 flags that are set at mkfs time. */ in xchk_superblock()
264 if ((sb->sb_features2 & features_mask) != in xchk_superblock()
265 (cpu_to_be32(mp->m_sb.sb_features2) & features_mask)) in xchk_superblock()
268 /* Check sb_features2 flags that can be set after mkfs time. */ in xchk_superblock()
270 if ((sb->sb_features2 & features_mask) != in xchk_superblock()
271 (cpu_to_be32(mp->m_sb.sb_features2) in xchk_superblock()
[all...]
/kernel/linux/linux-5.10/fs/xfs/
H A Dxfs_mount.c700 * into the wrong sb offset for sb_features2 on some platforms due to in xfs_mountfs()
701 * xfs_sb_t not being 64bit size aligned when sb_features2 was added, in xfs_mountfs()
711 * superblock writeback code ensures the new sb_features2 is copied to in xfs_mountfs()
716 sbp->sb_features2 |= sbp->sb_bad_features2; in xfs_mountfs()
734 if (!sbp->sb_features2) in xfs_mountfs()
/kernel/linux/linux-6.6/fs/xfs/
H A Dxfs_mount.c649 * into the wrong sb offset for sb_features2 on some platforms due to in xfs_mountfs()
650 * xfs_sb_t not being 64bit size aligned when sb_features2 was added, in xfs_mountfs()
660 * superblock writeback code ensures the new sb_features2 is copied to in xfs_mountfs()
665 sbp->sb_features2 |= sbp->sb_bad_features2; in xfs_mountfs()
843 (mp->m_sb.sb_features2 & XFS_SB_VERSION2_ATTR2BIT)) { in xfs_mountfs()

Completed in 19 milliseconds