Lines Matching refs:be16_to_cpu

115 		to->firstused = be16_to_cpu(hdr3->firstused);  in xfs_attr3_leaf_firstused_from_disk()
117 to->firstused = be16_to_cpu(from->hdr.firstused); in xfs_attr3_leaf_firstused_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()
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()
193 to->magic = be16_to_cpu(from->hdr.info.magic); in xfs_attr3_leaf_hdr_from_disk()
194 to->count = be16_to_cpu(from->hdr.count); in xfs_attr3_leaf_hdr_from_disk()
195 to->usedbytes = be16_to_cpu(from->hdr.usedbytes); in xfs_attr3_leaf_hdr_from_disk()
200 to->freemap[i].base = be16_to_cpu(from->hdr.freemap[i].base); in xfs_attr3_leaf_hdr_from_disk()
201 to->freemap[i].size = be16_to_cpu(from->hdr.freemap[i].size); in xfs_attr3_leaf_hdr_from_disk()
630 totsize = be16_to_cpu(sf->hdr.totsize); in xfs_attr_shortform_remove()
752 size = be16_to_cpu(sf->hdr.totsize); in xfs_attr_shortform_to_leaf()
851 if (be16_to_cpu(name_loc->valuelen) >= XFS_ATTR_SF_ENTSIZE_MAX) in xfs_attr_shortform_allfit()
855 + be16_to_cpu(name_loc->valuelen); in xfs_attr_shortform_allfit()
937 nargs.valuelen = be16_to_cpu(name_loc->valuelen); in xfs_attr3_leaf_to_shortform()
1295 be16_to_cpu(name_loc->valuelen)); in xfs_attr3_leaf_add_work()
1315 if (be16_to_cpu(entry->nameidx) < ichdr->firstused) in xfs_attr3_leaf_add_work()
1316 ichdr->firstused = be16_to_cpu(entry->nameidx); in xfs_attr3_leaf_add_work()
1895 ASSERT(be16_to_cpu(entry->nameidx) >= ichdr.firstused); in xfs_attr3_leaf_remove()
1896 ASSERT(be16_to_cpu(entry->nameidx) < args->geo->blksize); in xfs_attr3_leaf_remove()
1919 be16_to_cpu(entry->nameidx)) { in xfs_attr3_leaf_remove()
1922 (be16_to_cpu(entry->nameidx) + entsize)) { in xfs_attr3_leaf_remove()
1943 ichdr.freemap[after].base = be16_to_cpu(entry->nameidx); in xfs_attr3_leaf_remove()
1951 ichdr.freemap[smallest].base = be16_to_cpu(entry->nameidx); in xfs_attr3_leaf_remove()
1959 if (be16_to_cpu(entry->nameidx) == ichdr.firstused) in xfs_attr3_leaf_remove()
1992 ASSERT(be16_to_cpu(entry->nameidx) >= ichdr.firstused); in xfs_attr3_leaf_remove()
1993 ASSERT(be16_to_cpu(entry->nameidx) < args->geo->blksize); in xfs_attr3_leaf_remove()
1995 if (be16_to_cpu(entry->nameidx) < tmp) in xfs_attr3_leaf_remove()
1996 tmp = be16_to_cpu(entry->nameidx); in xfs_attr3_leaf_remove()
2279 valuelen = be16_to_cpu(name_loc->valuelen); in xfs_attr3_leaf_getvalue()
2380 ASSERT(be16_to_cpu(entry_s->nameidx) >= ichdr_s->firstused); in xfs_attr3_leaf_moveents()
2403 ASSERT(be16_to_cpu(entry_d->nameidx) + tmp in xfs_attr3_leaf_moveents()
2407 ASSERT(be16_to_cpu(entry_s->nameidx) + tmp in xfs_attr3_leaf_moveents()
2498 be16_to_cpu(name_loc->valuelen)); in xfs_attr_leaf_entsize()