Lines Matching refs:be32_to_cpu

128 			if (be32_to_cpu(ents[i].hashval) >  in xfs_dir3_leaf_check_int()
129 be32_to_cpu(ents[i + 1].hashval)) in xfs_dir3_leaf_check_int()
430 leafhdr.count = be32_to_cpu(btp->count); in xfs_dir2_block_to_leaf()
431 leafhdr.stale = be32_to_cpu(btp->stale); in xfs_dir2_block_to_leaf()
439 memcpy(ents, blp, be32_to_cpu(btp->count) * sizeof(xfs_dir2_leaf_entry_t)); in xfs_dir2_block_to_leaf()
670 index < leafhdr.count && be32_to_cpu(lep->hashval) == args->hashval; in xfs_dir2_leaf_addname()
672 if (be32_to_cpu(lep->address) == XFS_DIR2_NULL_DATAPTR) in xfs_dir2_leaf_addname()
674 i = xfs_dir2_dataptr_to_db(args->geo, be32_to_cpu(lep->address)); in xfs_dir2_leaf_addname()
675 ASSERT(i < be32_to_cpu(ltp->bestcount)); in xfs_dir2_leaf_addname()
686 for (i = 0; i < be32_to_cpu(ltp->bestcount); i++) { in xfs_dir2_leaf_addname()
809 if (use_block >= be32_to_cpu(ltp->bestcount)) { in xfs_dir2_leaf_addname()
812 be32_to_cpu(ltp->bestcount) * sizeof(bestsp[0])); in xfs_dir2_leaf_addname()
816 be32_to_cpu(ltp->bestcount) - 1); in xfs_dir2_leaf_addname()
1191 xfs_dir2_dataptr_to_off(args->geo, be32_to_cpu(lep->address))); in xfs_dir2_leaf_lookup()
1256 index < leafhdr.count && be32_to_cpu(lep->hashval) == args->hashval; in xfs_dir2_leaf_lookup_int()
1261 if (be32_to_cpu(lep->address) == XFS_DIR2_NULL_DATAPTR) in xfs_dir2_leaf_lookup_int()
1267 be32_to_cpu(lep->address)); in xfs_dir2_leaf_lookup_int()
1289 be32_to_cpu(lep->address))); in xfs_dir2_leaf_lookup_int()
1384 db = xfs_dir2_dataptr_to_db(args->geo, be32_to_cpu(lep->address)); in xfs_dir2_leaf_removename()
1386 xfs_dir2_dataptr_to_off(args->geo, be32_to_cpu(lep->address))); in xfs_dir2_leaf_removename()
1448 if (db == be32_to_cpu(ltp->bestcount) - 1) { in xfs_dir2_leaf_removename()
1461 (be32_to_cpu(ltp->bestcount) - (db - i)) * sizeof(*bestsp)); in xfs_dir2_leaf_removename()
1465 be32_to_cpu(ltp->bestcount) - 1); in xfs_dir2_leaf_removename()
1520 xfs_dir2_dataptr_to_off(args->geo, be32_to_cpu(lep->address))); in xfs_dir2_leaf_replace()
1566 if ((hash = be32_to_cpu(lep[mid].hashval)) == hashwant) in xfs_dir2_leaf_search_hash()
1577 while (mid > 0 && be32_to_cpu(lep[mid - 1].hashval) == hashwant) { in xfs_dir2_leaf_search_hash()
1629 ASSERT(db == be32_to_cpu(ltp->bestcount) - 1); in xfs_dir2_leaf_trim_data()
1646 memmove(&bestsp[1], &bestsp[0], be32_to_cpu(ltp->bestcount) * sizeof(*bestsp)); in xfs_dir2_leaf_trim_data()
1648 xfs_dir3_leaf_log_bests(args, lbp, 0, be32_to_cpu(ltp->bestcount) - 1); in xfs_dir2_leaf_trim_data()
1795 xfs_dir3_leaf_log_bests(args, lbp, 0, be32_to_cpu(ltp->bestcount) - 1); in xfs_dir2_node_to_leaf()