Lines Matching refs:hdr3
99 struct xfs_attr3_leaf_hdr *hdr3; in xfs_attr3_leaf_firstused_from_disk() local
102 hdr3 = (struct xfs_attr3_leaf_hdr *) from; in xfs_attr3_leaf_firstused_from_disk()
103 to->firstused = be16_to_cpu(hdr3->firstused); in xfs_attr3_leaf_firstused_from_disk()
126 struct xfs_attr3_leaf_hdr *hdr3; in xfs_attr3_leaf_firstused_to_disk() local
144 hdr3 = (struct xfs_attr3_leaf_hdr *) to; in xfs_attr3_leaf_firstused_to_disk()
145 hdr3->firstused = cpu_to_be16(firstused); in xfs_attr3_leaf_firstused_to_disk()
163 struct xfs_attr3_leaf_hdr *hdr3 = (struct xfs_attr3_leaf_hdr *)from; in xfs_attr3_leaf_hdr_from_disk() local
165 to->forw = be32_to_cpu(hdr3->info.hdr.forw); in xfs_attr3_leaf_hdr_from_disk()
166 to->back = be32_to_cpu(hdr3->info.hdr.back); in xfs_attr3_leaf_hdr_from_disk()
167 to->magic = be16_to_cpu(hdr3->info.hdr.magic); in xfs_attr3_leaf_hdr_from_disk()
168 to->count = be16_to_cpu(hdr3->count); in xfs_attr3_leaf_hdr_from_disk()
169 to->usedbytes = be16_to_cpu(hdr3->usedbytes); in xfs_attr3_leaf_hdr_from_disk()
171 to->holes = hdr3->holes; in xfs_attr3_leaf_hdr_from_disk()
174 to->freemap[i].base = be16_to_cpu(hdr3->freemap[i].base); in xfs_attr3_leaf_hdr_from_disk()
175 to->freemap[i].size = be16_to_cpu(hdr3->freemap[i].size); in xfs_attr3_leaf_hdr_from_disk()
205 struct xfs_attr3_leaf_hdr *hdr3 = (struct xfs_attr3_leaf_hdr *)to; in xfs_attr3_leaf_hdr_to_disk() local
207 hdr3->info.hdr.forw = cpu_to_be32(from->forw); in xfs_attr3_leaf_hdr_to_disk()
208 hdr3->info.hdr.back = cpu_to_be32(from->back); in xfs_attr3_leaf_hdr_to_disk()
209 hdr3->info.hdr.magic = cpu_to_be16(from->magic); in xfs_attr3_leaf_hdr_to_disk()
210 hdr3->count = cpu_to_be16(from->count); in xfs_attr3_leaf_hdr_to_disk()
211 hdr3->usedbytes = cpu_to_be16(from->usedbytes); in xfs_attr3_leaf_hdr_to_disk()
213 hdr3->holes = from->holes; in xfs_attr3_leaf_hdr_to_disk()
214 hdr3->pad1 = 0; in xfs_attr3_leaf_hdr_to_disk()
217 hdr3->freemap[i].base = cpu_to_be16(from->freemap[i].base); in xfs_attr3_leaf_hdr_to_disk()
218 hdr3->freemap[i].size = cpu_to_be16(from->freemap[i].size); in xfs_attr3_leaf_hdr_to_disk()
396 struct xfs_attr3_leaf_hdr *hdr3 = bp->b_addr; in xfs_attr3_leaf_write_verify() local
409 hdr3->info.lsn = cpu_to_be64(bip->bli_item.li_lsn); in xfs_attr3_leaf_write_verify()
1252 struct xfs_da3_blkinfo *hdr3 = bp2->b_addr; in xfs_attr3_leaf_to_node() local
1253 hdr3->blkno = cpu_to_be64(xfs_buf_daddr(bp2)); in xfs_attr3_leaf_to_node()
1317 struct xfs_da3_blkinfo *hdr3 = bp->b_addr; in xfs_attr3_leaf_create() local
1321 hdr3->blkno = cpu_to_be64(xfs_buf_daddr(bp)); in xfs_attr3_leaf_create()
1322 hdr3->owner = cpu_to_be64(dp->i_ino); in xfs_attr3_leaf_create()
1323 uuid_copy(&hdr3->uuid, &mp->m_sb.sb_meta_uuid); in xfs_attr3_leaf_create()