Lines Matching refs:hdr3

111 	struct xfs_attr3_leaf_hdr	*hdr3;  in xfs_attr3_leaf_firstused_from_disk()  local
114 hdr3 = (struct xfs_attr3_leaf_hdr *) from; in xfs_attr3_leaf_firstused_from_disk()
115 to->firstused = be16_to_cpu(hdr3->firstused); in xfs_attr3_leaf_firstused_from_disk()
138 struct xfs_attr3_leaf_hdr *hdr3; in xfs_attr3_leaf_firstused_to_disk() local
156 hdr3 = (struct xfs_attr3_leaf_hdr *) to; in xfs_attr3_leaf_firstused_to_disk()
157 hdr3->firstused = cpu_to_be16(firstused); in xfs_attr3_leaf_firstused_to_disk()
175 struct xfs_attr3_leaf_hdr *hdr3 = (struct xfs_attr3_leaf_hdr *)from; in xfs_attr3_leaf_hdr_from_disk() local
177 to->forw = be32_to_cpu(hdr3->info.hdr.forw); in xfs_attr3_leaf_hdr_from_disk()
178 to->back = be32_to_cpu(hdr3->info.hdr.back); in xfs_attr3_leaf_hdr_from_disk()
179 to->magic = be16_to_cpu(hdr3->info.hdr.magic); in xfs_attr3_leaf_hdr_from_disk()
180 to->count = be16_to_cpu(hdr3->count); in xfs_attr3_leaf_hdr_from_disk()
181 to->usedbytes = be16_to_cpu(hdr3->usedbytes); in xfs_attr3_leaf_hdr_from_disk()
183 to->holes = hdr3->holes; in xfs_attr3_leaf_hdr_from_disk()
186 to->freemap[i].base = be16_to_cpu(hdr3->freemap[i].base); in xfs_attr3_leaf_hdr_from_disk()
187 to->freemap[i].size = be16_to_cpu(hdr3->freemap[i].size); in xfs_attr3_leaf_hdr_from_disk()
217 struct xfs_attr3_leaf_hdr *hdr3 = (struct xfs_attr3_leaf_hdr *)to; in xfs_attr3_leaf_hdr_to_disk() local
219 hdr3->info.hdr.forw = cpu_to_be32(from->forw); in xfs_attr3_leaf_hdr_to_disk()
220 hdr3->info.hdr.back = cpu_to_be32(from->back); in xfs_attr3_leaf_hdr_to_disk()
221 hdr3->info.hdr.magic = cpu_to_be16(from->magic); in xfs_attr3_leaf_hdr_to_disk()
222 hdr3->count = cpu_to_be16(from->count); in xfs_attr3_leaf_hdr_to_disk()
223 hdr3->usedbytes = cpu_to_be16(from->usedbytes); in xfs_attr3_leaf_hdr_to_disk()
225 hdr3->holes = from->holes; in xfs_attr3_leaf_hdr_to_disk()
226 hdr3->pad1 = 0; in xfs_attr3_leaf_hdr_to_disk()
229 hdr3->freemap[i].base = cpu_to_be16(from->freemap[i].base); in xfs_attr3_leaf_hdr_to_disk()
230 hdr3->freemap[i].size = cpu_to_be16(from->freemap[i].size); in xfs_attr3_leaf_hdr_to_disk()
260 struct xfs_da3_node_hdr *hdr3 = bp->b_addr; in xfs_attr3_leaf_verify() local
265 if (!uuid_equal(&hdr3->info.uuid, &mp->m_sb.sb_uuid)) in xfs_attr3_leaf_verify()
267 if (be64_to_cpu(hdr3->info.blkno) != bp->b_bn) in xfs_attr3_leaf_verify()
288 struct xfs_attr3_leaf_hdr *hdr3 = bp->b_addr; in xfs_attr3_leaf_write_verify() local
300 hdr3->info.lsn = cpu_to_be64(bip->bli_item.li_lsn); in xfs_attr3_leaf_write_verify()
987 struct xfs_da3_blkinfo *hdr3 = bp2->b_addr; in xfs_attr3_leaf_to_node() local
988 hdr3->blkno = cpu_to_be64(bp2->b_bn); in xfs_attr3_leaf_to_node()
1053 struct xfs_da3_blkinfo *hdr3 = bp->b_addr; in xfs_attr3_leaf_create() local
1057 hdr3->blkno = cpu_to_be64(bp->b_bn); in xfs_attr3_leaf_create()
1058 hdr3->owner = cpu_to_be64(dp->i_ino); in xfs_attr3_leaf_create()
1059 uuid_copy(&hdr3->uuid, &mp->m_sb.sb_uuid); in xfs_attr3_leaf_create()