Lines Matching refs:hdr3
109 struct xfs_dir3_blk_hdr *hdr3 = bp->b_addr; in xfs_dir3_free_verify() local
111 if (!uuid_equal(&hdr3->uuid, &mp->m_sb.sb_meta_uuid)) in xfs_dir3_free_verify()
113 if (be64_to_cpu(hdr3->blkno) != xfs_buf_daddr(bp)) in xfs_dir3_free_verify()
115 if (!xfs_log_check_lsn(mp, be64_to_cpu(hdr3->lsn))) in xfs_dir3_free_verify()
147 struct xfs_dir3_blk_hdr *hdr3 = bp->b_addr; in xfs_dir3_free_write_verify() local
160 hdr3->lsn = cpu_to_be64(bip->bli_item.li_lsn); in xfs_dir3_free_write_verify()
189 struct xfs_dir3_free_hdr *hdr3 = bp->b_addr; in xfs_dir3_free_header_check() local
191 if (be32_to_cpu(hdr3->firstdb) != firstdb) in xfs_dir3_free_header_check()
193 if (be32_to_cpu(hdr3->nvalid) > maxbests) in xfs_dir3_free_header_check()
195 if (be32_to_cpu(hdr3->nvalid) < be32_to_cpu(hdr3->nused)) in xfs_dir3_free_header_check()
197 if (be64_to_cpu(hdr3->hdr.owner) != dp->i_ino) in xfs_dir3_free_header_check()
345 struct xfs_dir3_free_hdr *hdr3 = bp->b_addr; in xfs_dir3_free_get_buf() local
349 hdr3->hdr.blkno = cpu_to_be64(xfs_buf_daddr(bp)); in xfs_dir3_free_get_buf()
350 hdr3->hdr.owner = cpu_to_be64(dp->i_ino); in xfs_dir3_free_get_buf()
351 uuid_copy(&hdr3->hdr.uuid, &mp->m_sb.sb_meta_uuid); in xfs_dir3_free_get_buf()