Lines Matching refs:be16_to_cpu

104 		to->firstused = be16_to_cpu(hdr3->firstused);  in xfs_attr3_leaf_firstused_from_disk()
106 to->firstused = be16_to_cpu(from->hdr.firstused); in xfs_attr3_leaf_firstused_from_disk()
168 to->magic = be16_to_cpu(hdr3->info.hdr.magic); in xfs_attr3_leaf_hdr_from_disk()
169 to->count = be16_to_cpu(hdr3->count); in xfs_attr3_leaf_hdr_from_disk()
170 to->usedbytes = be16_to_cpu(hdr3->usedbytes); in xfs_attr3_leaf_hdr_from_disk()
175 to->freemap[i].base = be16_to_cpu(hdr3->freemap[i].base); in xfs_attr3_leaf_hdr_from_disk()
176 to->freemap[i].size = be16_to_cpu(hdr3->freemap[i].size); in xfs_attr3_leaf_hdr_from_disk()
182 to->magic = be16_to_cpu(from->hdr.info.magic); in xfs_attr3_leaf_hdr_from_disk()
183 to->count = be16_to_cpu(from->hdr.count); in xfs_attr3_leaf_hdr_from_disk()
184 to->usedbytes = be16_to_cpu(from->hdr.usedbytes); in xfs_attr3_leaf_hdr_from_disk()
189 to->freemap[i].base = be16_to_cpu(from->hdr.freemap[i].base); in xfs_attr3_leaf_hdr_from_disk()
190 to->freemap[i].size = be16_to_cpu(from->hdr.freemap[i].size); in xfs_attr3_leaf_hdr_from_disk()
671 totsize = be16_to_cpu(sf->hdr.totsize); in xfs_attr_shortform_remove()
796 size = be16_to_cpu(sf->hdr.totsize); in xfs_attr_shortform_to_leaf()
892 if (be16_to_cpu(name_loc->valuelen) >= XFS_ATTR_SF_ENTSIZE_MAX) in xfs_attr_shortform_allfit()
896 + be16_to_cpu(name_loc->valuelen); in xfs_attr_shortform_allfit()
1052 nargs.valuelen = be16_to_cpu(name_loc->valuelen); in xfs_attr3_leaf_to_shortform()
1410 be16_to_cpu(name_loc->valuelen)); in xfs_attr3_leaf_add_work()
1430 if (be16_to_cpu(entry->nameidx) < ichdr->firstused) in xfs_attr3_leaf_add_work()
1431 ichdr->firstused = be16_to_cpu(entry->nameidx); in xfs_attr3_leaf_add_work()
2005 ASSERT(be16_to_cpu(entry->nameidx) >= ichdr.firstused); in xfs_attr3_leaf_remove()
2006 ASSERT(be16_to_cpu(entry->nameidx) < args->geo->blksize); in xfs_attr3_leaf_remove()
2029 be16_to_cpu(entry->nameidx)) { in xfs_attr3_leaf_remove()
2032 (be16_to_cpu(entry->nameidx) + entsize)) { in xfs_attr3_leaf_remove()
2053 ichdr.freemap[after].base = be16_to_cpu(entry->nameidx); in xfs_attr3_leaf_remove()
2061 ichdr.freemap[smallest].base = be16_to_cpu(entry->nameidx); in xfs_attr3_leaf_remove()
2069 if (be16_to_cpu(entry->nameidx) == ichdr.firstused) in xfs_attr3_leaf_remove()
2102 ASSERT(be16_to_cpu(entry->nameidx) >= ichdr.firstused); in xfs_attr3_leaf_remove()
2103 ASSERT(be16_to_cpu(entry->nameidx) < args->geo->blksize); in xfs_attr3_leaf_remove()
2105 if (be16_to_cpu(entry->nameidx) < tmp) in xfs_attr3_leaf_remove()
2106 tmp = be16_to_cpu(entry->nameidx); in xfs_attr3_leaf_remove()
2392 valuelen = be16_to_cpu(name_loc->valuelen); in xfs_attr3_leaf_getvalue()
2493 ASSERT(be16_to_cpu(entry_s->nameidx) >= ichdr_s->firstused); in xfs_attr3_leaf_moveents()
2516 ASSERT(be16_to_cpu(entry_d->nameidx) + tmp in xfs_attr3_leaf_moveents()
2520 ASSERT(be16_to_cpu(entry_s->nameidx) + tmp in xfs_attr3_leaf_moveents()
2611 be16_to_cpu(name_loc->valuelen)); in xfs_attr_leaf_entsize()