Lines Matching refs:be32_to_cpu

330 	ASSERT(be32_to_cpu(ltp->bestcount) <=  in xfs_dir2_leaf_to_node()
339 for (i = n = 0; i < be32_to_cpu(ltp->bestcount); i++, from++, to++) { in xfs_dir2_leaf_to_node()
349 freehdr.nvalid = be32_to_cpu(ltp->bestcount); in xfs_dir2_leaf_to_node()
420 ASSERT(index == 0 || be32_to_cpu(ents[index - 1].hashval) <= args->hashval); in xfs_dir2_leafn_add()
422 be32_to_cpu(ents[index].hashval) >= args->hashval); in xfs_dir2_leafn_add()
504 return be32_to_cpu(ents[leafhdr.count - 1].hashval); in xfs_dir2_leafn_lasthash()
566 index < leafhdr.count && be32_to_cpu(lep->hashval) == args->hashval; in xfs_dir2_leafn_lookup_for_addname()
571 if (be32_to_cpu(lep->address) == XFS_DIR2_NULL_DATAPTR) in xfs_dir2_leafn_lookup_for_addname()
577 be32_to_cpu(lep->address)); in xfs_dir2_leafn_lookup_for_addname()
713 index < leafhdr.count && be32_to_cpu(lep->hashval) == args->hashval; in xfs_dir2_leafn_lookup_for_entry()
718 if (be32_to_cpu(lep->address) == XFS_DIR2_NULL_DATAPTR) in xfs_dir2_leafn_lookup_for_entry()
724 be32_to_cpu(lep->address)); in xfs_dir2_leafn_lookup_for_entry()
763 be32_to_cpu(lep->address))); in xfs_dir2_leafn_lookup_for_entry()
933 (be32_to_cpu(ents2[0].hashval) < be32_to_cpu(ents1[0].hashval) || in xfs_dir2_leafn_order()
934 be32_to_cpu(ents2[hdr2.count - 1].hashval) < in xfs_dir2_leafn_order()
935 be32_to_cpu(ents1[hdr1.count - 1].hashval))) in xfs_dir2_leafn_order()
1002 midhash = be32_to_cpu(ents2[mid - hdr1.count].hashval); in xfs_dir2_leafn_rebalance()
1004 midhash = be32_to_cpu(ents1[mid].hashval); in xfs_dir2_leafn_rebalance()
1192 db = xfs_dir2_dataptr_to_db(args->geo, be32_to_cpu(lep->address)); in xfs_dir2_leafn_remove()
1194 off = xfs_dir2_dataptr_to_off(args->geo, be32_to_cpu(lep->address)); in xfs_dir2_leafn_remove()
1546 drop_blk->hashval = be32_to_cpu(dents[drophdr.count - 1].hashval); in xfs_dir2_leafn_unbalance()
1555 save_blk->hashval = be32_to_cpu(sents[savehdr.count - 1].hashval); in xfs_dir2_leafn_unbalance()
2191 be32_to_cpu(lep->address))); in xfs_dir2_node_replace()