Lines Matching refs:XFS_DIR2_LEAF1_MAGIC
60 ASSERT(to->magic == XFS_DIR2_LEAF1_MAGIC || in xfs_dir2_leaf_hdr_from_disk()
83 ASSERT(from->magic == XFS_DIR2_LEAF1_MAGIC || in xfs_dir2_leaf_hdr_to_disk()
113 } else if (leafhdr.magic != XFS_DIR2_LEAF1_MAGIC) in xfs_dir3_leaf1_check()
149 bool isleaf1 = (hdr->magic == XFS_DIR2_LEAF1_MAGIC || in xfs_dir3_leaf_check_int()
253 .magic16 = { cpu_to_be16(XFS_DIR2_LEAF1_MAGIC),
314 ASSERT(type == XFS_DIR2_LEAF1_MAGIC || type == XFS_DIR2_LEAFN_MAGIC); in xfs_dir3_leaf_init()
321 leaf3->info.hdr.magic = (type == XFS_DIR2_LEAF1_MAGIC) in xfs_dir3_leaf_init()
336 if (type == XFS_DIR2_LEAF1_MAGIC) { in xfs_dir3_leaf_init()
362 ASSERT(magic == XFS_DIR2_LEAF1_MAGIC || magic == XFS_DIR2_LEAFN_MAGIC); in xfs_dir3_leaf_get_buf()
373 if (magic == XFS_DIR2_LEAF1_MAGIC) in xfs_dir3_leaf_get_buf()
421 error = xfs_dir3_leaf_get_buf(args, ldb, &lbp, XFS_DIR2_LEAF1_MAGIC); in xfs_dir2_block_to_leaf()
1074 ASSERT(leaf->hdr.info.magic == cpu_to_be16(XFS_DIR2_LEAF1_MAGIC) || in xfs_dir3_leaf_log_bests()
1100 ASSERT(leaf->hdr.info.magic == cpu_to_be16(XFS_DIR2_LEAF1_MAGIC) || in xfs_dir3_leaf_log_ents()
1122 ASSERT(leaf->hdr.info.magic == cpu_to_be16(XFS_DIR2_LEAF1_MAGIC) || in xfs_dir3_leaf_log_header()
1143 ASSERT(leaf->hdr.info.magic == cpu_to_be16(XFS_DIR2_LEAF1_MAGIC) || in xfs_dir3_leaf_log_tail()
1663 if (hdr->magic == XFS_DIR2_LEAF1_MAGIC || in xfs_dir3_leaf_size()
1778 ? XFS_DIR2_LEAF1_MAGIC in xfs_dir2_node_to_leaf()