Lines Matching refs:hdr3
110 struct xfs_dir3_blk_hdr *hdr3 = bp->b_addr; in xfs_dir3_free_verify() local
112 if (!uuid_equal(&hdr3->uuid, &mp->m_sb.sb_meta_uuid)) in xfs_dir3_free_verify()
114 if (be64_to_cpu(hdr3->blkno) != xfs_buf_daddr(bp)) in xfs_dir3_free_verify()
116 if (!xfs_log_check_lsn(mp, be64_to_cpu(hdr3->lsn))) in xfs_dir3_free_verify()
148 struct xfs_dir3_blk_hdr *hdr3 = bp->b_addr; in xfs_dir3_free_write_verify() local
161 hdr3->lsn = cpu_to_be64(bip->bli_item.li_lsn); in xfs_dir3_free_write_verify()
190 struct xfs_dir3_free_hdr *hdr3 = bp->b_addr; in xfs_dir3_free_header_check() local
192 if (be32_to_cpu(hdr3->firstdb) != firstdb) in xfs_dir3_free_header_check()
194 if (be32_to_cpu(hdr3->nvalid) > maxbests) in xfs_dir3_free_header_check()
196 if (be32_to_cpu(hdr3->nvalid) < be32_to_cpu(hdr3->nused)) in xfs_dir3_free_header_check()
198 if (be64_to_cpu(hdr3->hdr.owner) != owner) in xfs_dir3_free_header_check()
351 struct xfs_dir3_free_hdr *hdr3 = bp->b_addr; in xfs_dir3_free_get_buf() local
355 hdr3->hdr.blkno = cpu_to_be64(xfs_buf_daddr(bp)); in xfs_dir3_free_get_buf()
356 hdr3->hdr.owner = cpu_to_be64(args->owner); in xfs_dir3_free_get_buf()
357 uuid_copy(&hdr3->hdr.uuid, &mp->m_sb.sb_meta_uuid); in xfs_dir3_free_get_buf()