Lines Matching refs:be32_to_cpu
76 ASSERT(be32_to_cpu(free->hdr.magic) == XFS_DIR2_FREE_MAGIC);
94 ASSERT(be32_to_cpu(free->hdr.magic) == XFS_DIR2_FREE_MAGIC);
152 ASSERT(be32_to_cpu(ltp->bestcount) <= (uint)dp->i_d.di_size / mp->m_dirblksize);
159 i < be32_to_cpu(ltp->bestcount); i++, from++, to++) {
171 xfs_dir2_free_log_bests(tp, fbp, 0, be32_to_cpu(free->hdr.nvalid) - 1);
225 ASSERT(index == 0 || be32_to_cpu(leaf->ents[index - 1].hashval) <= args->hashval);
227 be32_to_cpu(leaf->ents[index].hashval) >= args->hashval);
273 be32_to_cpu(leaf->ents[lowstale].address) !=
284 be32_to_cpu(leaf->ents[highstale].address) !=
298 ASSERT(be32_to_cpu(leaf->ents[lowstale].address) ==
314 ASSERT(be32_to_cpu(leaf->ents[highstale].address) ==
359 ASSERT(be32_to_cpu(leaf->ents[i].hashval) <=
360 be32_to_cpu(leaf->ents[i + 1].hashval));
362 if (be32_to_cpu(leaf->ents[i].address) == XFS_DIR2_NULL_DATAPTR)
386 return be32_to_cpu(leaf->ents[be16_to_cpu(leaf->hdr.count) - 1].hashval);
437 ASSERT(be32_to_cpu(free->hdr.magic) == XFS_DIR2_FREE_MAGIC);
444 be32_to_cpu(lep->hashval) == args->hashval;
449 if (be32_to_cpu(lep->address) == XFS_DIR2_NULL_DATAPTR)
454 newdb = xfs_dir2_dataptr_to_db(mp, be32_to_cpu(lep->address));
488 ASSERT(be32_to_cpu(free->hdr.magic) ==
490 ASSERT((be32_to_cpu(free->hdr.firstdb) %
492 ASSERT(be32_to_cpu(free->hdr.firstdb) <= curdb);
493 ASSERT(curdb < be32_to_cpu(free->hdr.firstdb) +
494 be32_to_cpu(free->hdr.nvalid));
584 be32_to_cpu(lep->hashval) == args->hashval;
589 if (be32_to_cpu(lep->address) == XFS_DIR2_NULL_DATAPTR)
594 newdb = xfs_dir2_dataptr_to_db(mp, be32_to_cpu(lep->address));
631 xfs_dir2_dataptr_to_off(mp, be32_to_cpu(lep->address)));
745 if (be32_to_cpu(leaf_s->ents[i].address) == XFS_DIR2_NULL_DATAPTR)
796 (be32_to_cpu(leaf2->ents[0].hashval) < be32_to_cpu(leaf1->ents[0].hashval) ||
797 be32_to_cpu(leaf2->ents[be16_to_cpu(leaf2->hdr.count) - 1].hashval) <
798 be32_to_cpu(leaf1->ents[be16_to_cpu(leaf1->hdr.count) - 1].hashval)))
854 midhash = be32_to_cpu(leaf2->ents[mid - be16_to_cpu(leaf1->hdr.count)].hashval);
856 midhash = be32_to_cpu(leaf1->ents[mid].hashval);
950 db = xfs_dir2_dataptr_to_db(mp, be32_to_cpu(lep->address));
952 off = xfs_dir2_dataptr_to_off(mp, be32_to_cpu(lep->address));
1004 ASSERT(be32_to_cpu(free->hdr.magic) == XFS_DIR2_FREE_MAGIC);
1005 ASSERT(be32_to_cpu(free->hdr.firstdb) ==
1052 if (findex == be32_to_cpu(free->hdr.nvalid) - 1) {
1251 forward = be32_to_cpu(info->forw) < be32_to_cpu(info->back);
1253 blkno = forward ? be32_to_cpu(info->forw) : be32_to_cpu(info->back);
1344 drop_blk->hashval = be32_to_cpu(drop_leaf->ents[be16_to_cpu(drop_leaf->hdr.count) - 1].hashval);
1351 save_blk->hashval = be32_to_cpu(save_leaf->ents[be16_to_cpu(save_leaf->hdr.count) - 1].hashval);
1473 ASSERT(be32_to_cpu(free->hdr.magic) == XFS_DIR2_FREE_MAGIC);
1481 ASSERT(findex < be32_to_cpu(free->hdr.nvalid));
1484 dbno = be32_to_cpu(free->hdr.firstdb) + findex;
1557 ASSERT(be32_to_cpu(free->hdr.magic) == XFS_DIR2_FREE_MAGIC);
1565 dbno = be32_to_cpu(free->hdr.firstdb) + findex;
1570 if (++findex == be32_to_cpu(free->hdr.nvalid)) {
1693 ASSERT(be32_to_cpu(free->hdr.magic) == XFS_DIR2_FREE_MAGIC);
1704 if (findex >= be32_to_cpu(free->hdr.nvalid)) {
1986 ASSERT(be32_to_cpu(data->hdr.magic) == XFS_DIR2_DATA_MAGIC);
1989 xfs_dir2_dataptr_to_off(state->mp, be32_to_cpu(lep->address)));
2052 ASSERT(be32_to_cpu(free->hdr.magic) == XFS_DIR2_FREE_MAGIC);
2056 if (be32_to_cpu(free->hdr.nused) > 0) {