Lines Matching refs:be16_to_cpu

116 		to->firstused = be16_to_cpu(hdr3->firstused);  in xfs_attr3_leaf_firstused_from_disk()
118 to->firstused = be16_to_cpu(from->hdr.firstused); in xfs_attr3_leaf_firstused_from_disk()
180 to->magic = be16_to_cpu(hdr3->info.hdr.magic); in xfs_attr3_leaf_hdr_from_disk()
181 to->count = be16_to_cpu(hdr3->count); in xfs_attr3_leaf_hdr_from_disk()
182 to->usedbytes = be16_to_cpu(hdr3->usedbytes); in xfs_attr3_leaf_hdr_from_disk()
187 to->freemap[i].base = be16_to_cpu(hdr3->freemap[i].base); in xfs_attr3_leaf_hdr_from_disk()
188 to->freemap[i].size = be16_to_cpu(hdr3->freemap[i].size); in xfs_attr3_leaf_hdr_from_disk()
194 to->magic = be16_to_cpu(from->hdr.info.magic); in xfs_attr3_leaf_hdr_from_disk()
195 to->count = be16_to_cpu(from->hdr.count); in xfs_attr3_leaf_hdr_from_disk()
196 to->usedbytes = be16_to_cpu(from->hdr.usedbytes); in xfs_attr3_leaf_hdr_from_disk()
201 to->freemap[i].base = be16_to_cpu(from->hdr.freemap[i].base); in xfs_attr3_leaf_hdr_from_disk()
202 to->freemap[i].size = be16_to_cpu(from->hdr.freemap[i].size); in xfs_attr3_leaf_hdr_from_disk()
634 totsize = be16_to_cpu(sf->hdr.totsize); in xfs_attr_shortform_remove()
756 size = be16_to_cpu(sf->hdr.totsize); in xfs_attr_shortform_to_leaf()
855 if (be16_to_cpu(name_loc->valuelen) >= XFS_ATTR_SF_ENTSIZE_MAX) in xfs_attr_shortform_allfit()
859 + be16_to_cpu(name_loc->valuelen); in xfs_attr_shortform_allfit()
941 nargs.valuelen = be16_to_cpu(name_loc->valuelen); in xfs_attr3_leaf_to_shortform()
1299 be16_to_cpu(name_loc->valuelen)); in xfs_attr3_leaf_add_work()
1319 if (be16_to_cpu(entry->nameidx) < ichdr->firstused) in xfs_attr3_leaf_add_work()
1320 ichdr->firstused = be16_to_cpu(entry->nameidx); in xfs_attr3_leaf_add_work()
1899 ASSERT(be16_to_cpu(entry->nameidx) >= ichdr.firstused); in xfs_attr3_leaf_remove()
1900 ASSERT(be16_to_cpu(entry->nameidx) < args->geo->blksize); in xfs_attr3_leaf_remove()
1923 be16_to_cpu(entry->nameidx)) { in xfs_attr3_leaf_remove()
1926 (be16_to_cpu(entry->nameidx) + entsize)) { in xfs_attr3_leaf_remove()
1947 ichdr.freemap[after].base = be16_to_cpu(entry->nameidx); in xfs_attr3_leaf_remove()
1955 ichdr.freemap[smallest].base = be16_to_cpu(entry->nameidx); in xfs_attr3_leaf_remove()
1963 if (be16_to_cpu(entry->nameidx) == ichdr.firstused) in xfs_attr3_leaf_remove()
1996 ASSERT(be16_to_cpu(entry->nameidx) >= ichdr.firstused); in xfs_attr3_leaf_remove()
1997 ASSERT(be16_to_cpu(entry->nameidx) < args->geo->blksize); in xfs_attr3_leaf_remove()
1999 if (be16_to_cpu(entry->nameidx) < tmp) in xfs_attr3_leaf_remove()
2000 tmp = be16_to_cpu(entry->nameidx); in xfs_attr3_leaf_remove()
2283 valuelen = be16_to_cpu(name_loc->valuelen); in xfs_attr3_leaf_getvalue()
2384 ASSERT(be16_to_cpu(entry_s->nameidx) >= ichdr_s->firstused); in xfs_attr3_leaf_moveents()
2407 ASSERT(be16_to_cpu(entry_d->nameidx) + tmp in xfs_attr3_leaf_moveents()
2411 ASSERT(be16_to_cpu(entry_s->nameidx) + tmp in xfs_attr3_leaf_moveents()
2502 be16_to_cpu(name_loc->valuelen)); in xfs_attr_leaf_entsize()