• Home
  • Raw
  • Download

Lines Matching refs:hdr3

97 	struct xfs_attr3_leaf_hdr	*hdr3;  in xfs_attr3_leaf_firstused_from_disk()  local
100 hdr3 = (struct xfs_attr3_leaf_hdr *) from; in xfs_attr3_leaf_firstused_from_disk()
101 to->firstused = be16_to_cpu(hdr3->firstused); in xfs_attr3_leaf_firstused_from_disk()
124 struct xfs_attr3_leaf_hdr *hdr3; in xfs_attr3_leaf_firstused_to_disk() local
142 hdr3 = (struct xfs_attr3_leaf_hdr *) to; in xfs_attr3_leaf_firstused_to_disk()
143 hdr3->firstused = cpu_to_be16(firstused); in xfs_attr3_leaf_firstused_to_disk()
161 struct xfs_attr3_leaf_hdr *hdr3 = (struct xfs_attr3_leaf_hdr *)from; in xfs_attr3_leaf_hdr_from_disk() local
163 to->forw = be32_to_cpu(hdr3->info.hdr.forw); in xfs_attr3_leaf_hdr_from_disk()
164 to->back = be32_to_cpu(hdr3->info.hdr.back); in xfs_attr3_leaf_hdr_from_disk()
165 to->magic = be16_to_cpu(hdr3->info.hdr.magic); in xfs_attr3_leaf_hdr_from_disk()
166 to->count = be16_to_cpu(hdr3->count); in xfs_attr3_leaf_hdr_from_disk()
167 to->usedbytes = be16_to_cpu(hdr3->usedbytes); in xfs_attr3_leaf_hdr_from_disk()
169 to->holes = hdr3->holes; in xfs_attr3_leaf_hdr_from_disk()
172 to->freemap[i].base = be16_to_cpu(hdr3->freemap[i].base); in xfs_attr3_leaf_hdr_from_disk()
173 to->freemap[i].size = be16_to_cpu(hdr3->freemap[i].size); in xfs_attr3_leaf_hdr_from_disk()
203 struct xfs_attr3_leaf_hdr *hdr3 = (struct xfs_attr3_leaf_hdr *)to; in xfs_attr3_leaf_hdr_to_disk() local
205 hdr3->info.hdr.forw = cpu_to_be32(from->forw); in xfs_attr3_leaf_hdr_to_disk()
206 hdr3->info.hdr.back = cpu_to_be32(from->back); in xfs_attr3_leaf_hdr_to_disk()
207 hdr3->info.hdr.magic = cpu_to_be16(from->magic); in xfs_attr3_leaf_hdr_to_disk()
208 hdr3->count = cpu_to_be16(from->count); in xfs_attr3_leaf_hdr_to_disk()
209 hdr3->usedbytes = cpu_to_be16(from->usedbytes); in xfs_attr3_leaf_hdr_to_disk()
211 hdr3->holes = from->holes; in xfs_attr3_leaf_hdr_to_disk()
212 hdr3->pad1 = 0; in xfs_attr3_leaf_hdr_to_disk()
215 hdr3->freemap[i].base = cpu_to_be16(from->freemap[i].base); in xfs_attr3_leaf_hdr_to_disk()
216 hdr3->freemap[i].size = cpu_to_be16(from->freemap[i].size); in xfs_attr3_leaf_hdr_to_disk()
307 struct xfs_attr3_leaf_hdr *hdr3 = bp->b_addr; in xfs_attr3_leaf_write_verify() local
320 hdr3->info.lsn = cpu_to_be64(bip->bli_item.li_lsn); in xfs_attr3_leaf_write_verify()
1112 struct xfs_da3_blkinfo *hdr3 = bp2->b_addr; in xfs_attr3_leaf_to_node() local
1113 hdr3->blkno = cpu_to_be64(bp2->b_bn); in xfs_attr3_leaf_to_node()
1178 struct xfs_da3_blkinfo *hdr3 = bp->b_addr; in xfs_attr3_leaf_create() local
1182 hdr3->blkno = cpu_to_be64(bp->b_bn); in xfs_attr3_leaf_create()
1183 hdr3->owner = cpu_to_be64(dp->i_ino); in xfs_attr3_leaf_create()
1184 uuid_copy(&hdr3->uuid, &mp->m_sb.sb_meta_uuid); in xfs_attr3_leaf_create()