Lines Matching refs:magic
99 if (from->hdr.info.magic == cpu_to_be16(XFS_ATTR3_LEAF_MAGIC)) { in xfs_attr3_leaf_firstused_from_disk()
141 if (from->magic == XFS_ATTR3_LEAF_MAGIC) { in xfs_attr3_leaf_firstused_to_disk()
157 ASSERT(from->hdr.info.magic == cpu_to_be16(XFS_ATTR_LEAF_MAGIC) || in xfs_attr3_leaf_hdr_from_disk()
158 from->hdr.info.magic == cpu_to_be16(XFS_ATTR3_LEAF_MAGIC)); in xfs_attr3_leaf_hdr_from_disk()
160 if (from->hdr.info.magic == cpu_to_be16(XFS_ATTR3_LEAF_MAGIC)) { in xfs_attr3_leaf_hdr_from_disk()
165 to->magic = be16_to_cpu(hdr3->info.hdr.magic); in xfs_attr3_leaf_hdr_from_disk()
179 to->magic = be16_to_cpu(from->hdr.info.magic); in xfs_attr3_leaf_hdr_from_disk()
199 ASSERT(from->magic == XFS_ATTR_LEAF_MAGIC || in xfs_attr3_leaf_hdr_to_disk()
200 from->magic == XFS_ATTR3_LEAF_MAGIC); in xfs_attr3_leaf_hdr_to_disk()
202 if (from->magic == XFS_ATTR3_LEAF_MAGIC) { in xfs_attr3_leaf_hdr_to_disk()
207 hdr3->info.hdr.magic = cpu_to_be16(from->magic); in xfs_attr3_leaf_hdr_to_disk()
222 to->hdr.info.magic = cpu_to_be16(from->magic); in xfs_attr3_leaf_hdr_to_disk()
1179 ichdr.magic = XFS_ATTR3_LEAF_MAGIC; in xfs_attr3_leaf_create()
1187 ichdr.magic = XFS_ATTR_LEAF_MAGIC; in xfs_attr3_leaf_create()
1216 ASSERT(oldblk->magic == XFS_ATTR_LEAF_MAGIC); in xfs_attr3_leaf_split()
1224 newblk->magic = XFS_ATTR_LEAF_MAGIC; in xfs_attr3_leaf_split()
1589 ASSERT(blk1->magic == XFS_ATTR_LEAF_MAGIC); in xfs_attr3_leaf_rebalance()
1590 ASSERT(blk2->magic == XFS_ATTR_LEAF_MAGIC); in xfs_attr3_leaf_rebalance()
2203 tmphdr.magic = savehdr.magic; in xfs_attr3_leaf_unbalance()
2452 ASSERT(ichdr_s->magic == XFS_ATTR_LEAF_MAGIC || in xfs_attr3_leaf_moveents()
2453 ichdr_s->magic == XFS_ATTR3_LEAF_MAGIC); in xfs_attr3_leaf_moveents()
2454 ASSERT(ichdr_s->magic == ichdr_d->magic); in xfs_attr3_leaf_moveents()