• Home
  • Raw
  • Download

Lines Matching refs:magic

76 	switch (hdr->magic) {  in __xfs_dir3_data_check()
185 if (hdr->magic == cpu_to_be32(XFS_DIR2_BLOCK_MAGIC) || in __xfs_dir3_data_check()
186 hdr->magic == cpu_to_be32(XFS_DIR3_BLOCK_MAGIC)) { in __xfs_dir3_data_check()
208 if (hdr->magic == cpu_to_be32(XFS_DIR2_BLOCK_MAGIC) || in __xfs_dir3_data_check()
209 hdr->magic == cpu_to_be32(XFS_DIR3_BLOCK_MAGIC)) { in __xfs_dir3_data_check()
251 if (!xfs_verify_magic(bp, hdr3->magic)) in xfs_dir3_data_verify()
276 switch (hdr->magic) { in xfs_dir3_data_reada_verify()
336 .magic = { cpu_to_be32(XFS_DIR2_DATA_MAGIC),
345 .magic = { cpu_to_be32(XFS_DIR2_DATA_MAGIC),
487 ASSERT(hdr->magic == cpu_to_be32(XFS_DIR2_DATA_MAGIC) || in xfs_dir2_data_freeinsert()
488 hdr->magic == cpu_to_be32(XFS_DIR2_BLOCK_MAGIC) || in xfs_dir2_data_freeinsert()
489 hdr->magic == cpu_to_be32(XFS_DIR3_DATA_MAGIC) || in xfs_dir2_data_freeinsert()
490 hdr->magic == cpu_to_be32(XFS_DIR3_BLOCK_MAGIC)); in xfs_dir2_data_freeinsert()
530 ASSERT(hdr->magic == cpu_to_be32(XFS_DIR2_DATA_MAGIC) || in xfs_dir2_data_freeremove()
531 hdr->magic == cpu_to_be32(XFS_DIR2_BLOCK_MAGIC) || in xfs_dir2_data_freeremove()
532 hdr->magic == cpu_to_be32(XFS_DIR3_DATA_MAGIC) || in xfs_dir2_data_freeremove()
533 hdr->magic == cpu_to_be32(XFS_DIR3_BLOCK_MAGIC)); in xfs_dir2_data_freeremove()
576 ASSERT(hdr->magic == cpu_to_be32(XFS_DIR2_DATA_MAGIC) || in xfs_dir2_data_freescan_int()
577 hdr->magic == cpu_to_be32(XFS_DIR3_DATA_MAGIC) || in xfs_dir2_data_freescan_int()
578 hdr->magic == cpu_to_be32(XFS_DIR2_BLOCK_MAGIC) || in xfs_dir2_data_freescan_int()
579 hdr->magic == cpu_to_be32(XFS_DIR3_BLOCK_MAGIC)); in xfs_dir2_data_freescan_int()
670 hdr3->magic = cpu_to_be32(XFS_DIR3_DATA_MAGIC); in xfs_dir3_data_init()
676 hdr->magic = cpu_to_be32(XFS_DIR2_DATA_MAGIC); in xfs_dir3_data_init()
715 ASSERT(hdr->magic == cpu_to_be32(XFS_DIR2_DATA_MAGIC) || in xfs_dir2_data_log_entry()
716 hdr->magic == cpu_to_be32(XFS_DIR3_DATA_MAGIC) || in xfs_dir2_data_log_entry()
717 hdr->magic == cpu_to_be32(XFS_DIR2_BLOCK_MAGIC) || in xfs_dir2_data_log_entry()
718 hdr->magic == cpu_to_be32(XFS_DIR3_BLOCK_MAGIC)); in xfs_dir2_data_log_entry()
736 ASSERT(hdr->magic == cpu_to_be32(XFS_DIR2_DATA_MAGIC) || in xfs_dir2_data_log_header()
737 hdr->magic == cpu_to_be32(XFS_DIR3_DATA_MAGIC) || in xfs_dir2_data_log_header()
738 hdr->magic == cpu_to_be32(XFS_DIR2_BLOCK_MAGIC) || in xfs_dir2_data_log_header()
739 hdr->magic == cpu_to_be32(XFS_DIR3_BLOCK_MAGIC)); in xfs_dir2_data_log_header()
757 ASSERT(hdr->magic == cpu_to_be32(XFS_DIR2_DATA_MAGIC) || in xfs_dir2_data_log_unused()
758 hdr->magic == cpu_to_be32(XFS_DIR3_DATA_MAGIC) || in xfs_dir2_data_log_unused()
759 hdr->magic == cpu_to_be32(XFS_DIR2_BLOCK_MAGIC) || in xfs_dir2_data_log_unused()
760 hdr->magic == cpu_to_be32(XFS_DIR3_BLOCK_MAGIC)); in xfs_dir2_data_log_unused()
963 if (hdr->magic != cpu_to_be32(XFS_DIR2_DATA_MAGIC) && in xfs_dir2_data_check_free()
964 hdr->magic != cpu_to_be32(XFS_DIR3_DATA_MAGIC) && in xfs_dir2_data_check_free()
965 hdr->magic != cpu_to_be32(XFS_DIR2_BLOCK_MAGIC) && in xfs_dir2_data_check_free()
966 hdr->magic != cpu_to_be32(XFS_DIR3_BLOCK_MAGIC)) in xfs_dir2_data_check_free()
1157 switch (hdr->magic) { in xfs_dir3_data_endp()