Lines Matching full:magic

130 	switch (hdr->magic) {  in __xfs_dir3_data_check()
253 if (hdr->magic == cpu_to_be32(XFS_DIR2_BLOCK_MAGIC) || in __xfs_dir3_data_check()
254 hdr->magic == cpu_to_be32(XFS_DIR3_BLOCK_MAGIC)) { in __xfs_dir3_data_check()
276 if (hdr->magic == cpu_to_be32(XFS_DIR2_BLOCK_MAGIC) || in __xfs_dir3_data_check()
277 hdr->magic == cpu_to_be32(XFS_DIR3_BLOCK_MAGIC)) { in __xfs_dir3_data_check()
319 if (!xfs_verify_magic(bp, hdr3->magic)) in xfs_dir3_data_verify()
344 switch (hdr->magic) { in xfs_dir3_data_reada_verify()
404 .magic = { cpu_to_be32(XFS_DIR2_DATA_MAGIC),
413 .magic = { cpu_to_be32(XFS_DIR2_DATA_MAGIC),
429 if (hdr3->hdr.magic != cpu_to_be32(XFS_DIR3_DATA_MAGIC)) in xfs_dir3_data_header_check()
588 ASSERT(hdr->magic == cpu_to_be32(XFS_DIR2_DATA_MAGIC) || in xfs_dir2_data_freeinsert()
589 hdr->magic == cpu_to_be32(XFS_DIR2_BLOCK_MAGIC) || in xfs_dir2_data_freeinsert()
590 hdr->magic == cpu_to_be32(XFS_DIR3_DATA_MAGIC) || in xfs_dir2_data_freeinsert()
591 hdr->magic == cpu_to_be32(XFS_DIR3_BLOCK_MAGIC)); in xfs_dir2_data_freeinsert()
631 ASSERT(hdr->magic == cpu_to_be32(XFS_DIR2_DATA_MAGIC) || in xfs_dir2_data_freeremove()
632 hdr->magic == cpu_to_be32(XFS_DIR2_BLOCK_MAGIC) || in xfs_dir2_data_freeremove()
633 hdr->magic == cpu_to_be32(XFS_DIR3_DATA_MAGIC) || in xfs_dir2_data_freeremove()
634 hdr->magic == cpu_to_be32(XFS_DIR3_BLOCK_MAGIC)); in xfs_dir2_data_freeremove()
676 ASSERT(hdr->magic == cpu_to_be32(XFS_DIR2_DATA_MAGIC) || in xfs_dir2_data_freescan()
677 hdr->magic == cpu_to_be32(XFS_DIR3_DATA_MAGIC) || in xfs_dir2_data_freescan()
678 hdr->magic == cpu_to_be32(XFS_DIR2_BLOCK_MAGIC) || in xfs_dir2_data_freescan()
679 hdr->magic == cpu_to_be32(XFS_DIR3_BLOCK_MAGIC)); in xfs_dir2_data_freescan()
751 hdr3->magic = cpu_to_be32(XFS_DIR3_DATA_MAGIC); in xfs_dir3_data_init()
757 hdr->magic = cpu_to_be32(XFS_DIR2_DATA_MAGIC); in xfs_dir3_data_init()
796 ASSERT(hdr->magic == cpu_to_be32(XFS_DIR2_DATA_MAGIC) || in xfs_dir2_data_log_entry()
797 hdr->magic == cpu_to_be32(XFS_DIR3_DATA_MAGIC) || in xfs_dir2_data_log_entry()
798 hdr->magic == cpu_to_be32(XFS_DIR2_BLOCK_MAGIC) || in xfs_dir2_data_log_entry()
799 hdr->magic == cpu_to_be32(XFS_DIR3_BLOCK_MAGIC)); in xfs_dir2_data_log_entry()
817 ASSERT(hdr->magic == cpu_to_be32(XFS_DIR2_DATA_MAGIC) || in xfs_dir2_data_log_header()
818 hdr->magic == cpu_to_be32(XFS_DIR3_DATA_MAGIC) || in xfs_dir2_data_log_header()
819 hdr->magic == cpu_to_be32(XFS_DIR2_BLOCK_MAGIC) || in xfs_dir2_data_log_header()
820 hdr->magic == cpu_to_be32(XFS_DIR3_BLOCK_MAGIC)); in xfs_dir2_data_log_header()
837 ASSERT(hdr->magic == cpu_to_be32(XFS_DIR2_DATA_MAGIC) || in xfs_dir2_data_log_unused()
838 hdr->magic == cpu_to_be32(XFS_DIR3_DATA_MAGIC) || in xfs_dir2_data_log_unused()
839 hdr->magic == cpu_to_be32(XFS_DIR2_BLOCK_MAGIC) || in xfs_dir2_data_log_unused()
840 hdr->magic == cpu_to_be32(XFS_DIR3_BLOCK_MAGIC)); in xfs_dir2_data_log_unused()
1043 if (hdr->magic != cpu_to_be32(XFS_DIR2_DATA_MAGIC) && in xfs_dir2_data_check_free()
1044 hdr->magic != cpu_to_be32(XFS_DIR3_DATA_MAGIC) && in xfs_dir2_data_check_free()
1045 hdr->magic != cpu_to_be32(XFS_DIR2_BLOCK_MAGIC) && in xfs_dir2_data_check_free()
1046 hdr->magic != cpu_to_be32(XFS_DIR3_BLOCK_MAGIC)) in xfs_dir2_data_check_free()
1240 switch (hdr->magic) { in xfs_dir3_data_end_offset()