• Home
  • Raw
  • Download

Lines Matching refs:magic

439 	to->magic = be16_to_cpu(from->hdr.info.magic);  in xfs_dir2_leaf_hdr_from_disk()
443 ASSERT(to->magic == XFS_DIR2_LEAF1_MAGIC || in xfs_dir2_leaf_hdr_from_disk()
444 to->magic == XFS_DIR2_LEAFN_MAGIC); in xfs_dir2_leaf_hdr_from_disk()
452 ASSERT(from->magic == XFS_DIR2_LEAF1_MAGIC || in xfs_dir2_leaf_hdr_to_disk()
453 from->magic == XFS_DIR2_LEAFN_MAGIC); in xfs_dir2_leaf_hdr_to_disk()
457 to->hdr.info.magic = cpu_to_be16(from->magic); in xfs_dir2_leaf_hdr_to_disk()
471 to->magic = be16_to_cpu(hdr3->info.hdr.magic); in xfs_dir3_leaf_hdr_from_disk()
475 ASSERT(to->magic == XFS_DIR3_LEAF1_MAGIC || in xfs_dir3_leaf_hdr_from_disk()
476 to->magic == XFS_DIR3_LEAFN_MAGIC); in xfs_dir3_leaf_hdr_from_disk()
486 ASSERT(from->magic == XFS_DIR3_LEAF1_MAGIC || in xfs_dir3_leaf_hdr_to_disk()
487 from->magic == XFS_DIR3_LEAFN_MAGIC); in xfs_dir3_leaf_hdr_to_disk()
491 hdr3->info.hdr.magic = cpu_to_be16(from->magic); in xfs_dir3_leaf_hdr_to_disk()
517 ASSERT(from->hdr.info.magic == cpu_to_be16(XFS_DA_NODE_MAGIC)); in xfs_da2_node_hdr_from_disk()
520 to->magic = be16_to_cpu(from->hdr.info.magic); in xfs_da2_node_hdr_from_disk()
530 ASSERT(from->magic == XFS_DA_NODE_MAGIC); in xfs_da2_node_hdr_to_disk()
533 to->hdr.info.magic = cpu_to_be16(from->magic); in xfs_da2_node_hdr_to_disk()
545 ASSERT(from->hdr.info.magic == cpu_to_be16(XFS_DA3_NODE_MAGIC)); in xfs_da3_node_hdr_from_disk()
548 to->magic = be16_to_cpu(hdr3->info.hdr.magic); in xfs_da3_node_hdr_from_disk()
560 ASSERT(from->magic == XFS_DA3_NODE_MAGIC); in xfs_da3_node_hdr_to_disk()
563 hdr3->info.hdr.magic = cpu_to_be16(from->magic); in xfs_da3_node_hdr_to_disk()
641 to->magic = be32_to_cpu(from->hdr.magic); in xfs_dir2_free_hdr_from_disk()
645 ASSERT(to->magic == XFS_DIR2_FREE_MAGIC); in xfs_dir2_free_hdr_from_disk()
653 ASSERT(from->magic == XFS_DIR2_FREE_MAGIC); in xfs_dir2_free_hdr_to_disk()
655 to->hdr.magic = cpu_to_be32(from->magic); in xfs_dir2_free_hdr_to_disk()
668 to->magic = be32_to_cpu(hdr3->hdr.magic); in xfs_dir3_free_hdr_from_disk()
673 ASSERT(to->magic == XFS_DIR3_FREE_MAGIC); in xfs_dir3_free_hdr_from_disk()
683 ASSERT(from->magic == XFS_DIR3_FREE_MAGIC); in xfs_dir3_free_hdr_to_disk()
685 hdr3->hdr.magic = cpu_to_be32(from->magic); in xfs_dir3_free_hdr_to_disk()