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

/linux-master/fs/xfs/libxfs/
H A Dxfs_sb.c50 if (sbp->sb_features2 & ~(XFS_SB_VERSION2_OKBITS |
70 if ((sbp->sb_features2 & V5_FEAT_FLAGS) != V5_FEAT_FLAGS)
98 (sbp->sb_features2 & ~XFS_SB_VERSION2_OKBITS)))
139 if (sbp->sb_features2 & XFS_SB_VERSION2_LAZYSBCOUNTBIT)
141 if (sbp->sb_features2 & XFS_SB_VERSION2_ATTR2BIT)
143 if (sbp->sb_features2 & XFS_SB_VERSION2_PROJID32BIT)
145 if (sbp->sb_features2 & XFS_SB_VERSION2_FTYPE)
657 to->sb_features2 = be32_to_cpu(from->sb_features2);
810 from->sb_bad_features2 = from->sb_features2;
[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 in struct:xfs_sb
158 * the value in sb_features2 when formatting the incore superblock to
241 __be32 sb_features2; /* additional feature bits */ member in struct:xfs_dsb
293 return sbp->sb_bad_features2 != sbp->sb_features2;
315 sbp->sb_features2 |= XFS_SB_VERSION2_ATTR2BIT;
321 sbp->sb_features2 |= XFS_SB_VERSION2_PROJID32BIT;
H A Dxfs_attr_leaf.c667 if (mp->m_sb.sb_features2 & XFS_SB_VERSION2_ATTR2BIT)
/linux-master/fs/xfs/scrub/
H A Dagheader.c265 /* Do we see any invalid bits in sb_features2? */
267 if (sb->sb_features2 != 0)
274 if (!!(sb->sb_features2 & cpu_to_be32(~v2_ok)))
277 if (sb->sb_features2 != sb->sb_bad_features2)
281 /* Check sb_features2 flags that are set at mkfs time. */
286 if ((sb->sb_features2 & features_mask) !=
287 (cpu_to_be32(mp->m_sb.sb_features2) & features_mask))
290 /* Check sb_features2 flags that can be set after mkfs time. */
292 if ((sb->sb_features2 & features_mask) !=
293 (cpu_to_be32(mp->m_sb.sb_features2)
[all...]
/linux-master/fs/xfs/
H A Dxfs_mount.c648 * into the wrong sb offset for sb_features2 on some platforms due to
649 * xfs_sb_t not being 64bit size aligned when sb_features2 was added,
659 * superblock writeback code ensures the new sb_features2 is copied to
664 sbp->sb_features2 |= sbp->sb_bad_features2;
844 (mp->m_sb.sb_features2 & XFS_SB_VERSION2_ATTR2BIT)) {

Completed in 229 milliseconds