Lines Matching refs:leaf3
52 struct xfs_dir3_leaf_hdr *leaf3 = bp->b_addr; in xfs_dir3_leaf1_check() local
53 if (be64_to_cpu(leaf3->info.blkno) != bp->b_bn) in xfs_dir3_leaf1_check()
154 struct xfs_dir3_leaf_hdr *leaf3 = bp->b_addr; in xfs_dir3_leaf_verify() local
160 if (leaf3->info.hdr.magic != cpu_to_be16(magic3)) in xfs_dir3_leaf_verify()
162 if (!uuid_equal(&leaf3->info.uuid, &mp->m_sb.sb_meta_uuid)) in xfs_dir3_leaf_verify()
164 if (be64_to_cpu(leaf3->info.blkno) != bp->b_bn) in xfs_dir3_leaf_verify()
166 if (!xfs_log_check_lsn(mp, be64_to_cpu(leaf3->info.lsn))) in xfs_dir3_leaf_verify()
325 struct xfs_dir3_leaf_hdr *leaf3 = bp->b_addr; in xfs_dir3_leaf_init() local
327 memset(leaf3, 0, sizeof(*leaf3)); in xfs_dir3_leaf_init()
329 leaf3->info.hdr.magic = (type == XFS_DIR2_LEAF1_MAGIC) in xfs_dir3_leaf_init()
332 leaf3->info.blkno = cpu_to_be64(bp->b_bn); in xfs_dir3_leaf_init()
333 leaf3->info.owner = cpu_to_be64(owner); in xfs_dir3_leaf_init()
334 uuid_copy(&leaf3->info.uuid, &mp->m_sb.sb_meta_uuid); in xfs_dir3_leaf_init()