• Home
  • Raw
  • Download

Lines Matching refs:be32_to_cpu

78 	ASSERT(be32_to_cpu(free->hdr.magic) == XFS_DIR2_FREE_MAGIC);  in xfs_dir2_free_log_bests()
96 ASSERT(be32_to_cpu(free->hdr.magic) == XFS_DIR2_FREE_MAGIC); in xfs_dir2_free_log_header()
153 ASSERT(be32_to_cpu(ltp->bestcount) <= (uint)dp->i_d.di_size / mp->m_dirblksize); in xfs_dir2_leaf_to_node()
160 i < be32_to_cpu(ltp->bestcount); i++, from++, to++) { in xfs_dir2_leaf_to_node()
172 xfs_dir2_free_log_bests(tp, fbp, 0, be32_to_cpu(free->hdr.nvalid) - 1); in xfs_dir2_leaf_to_node()
225 ASSERT(index == 0 || be32_to_cpu(leaf->ents[index - 1].hashval) <= args->hashval); in xfs_dir2_leafn_add()
227 be32_to_cpu(leaf->ents[index].hashval) >= args->hashval); in xfs_dir2_leafn_add()
273 be32_to_cpu(leaf->ents[lowstale].address) != in xfs_dir2_leafn_add()
284 be32_to_cpu(leaf->ents[highstale].address) != in xfs_dir2_leafn_add()
298 ASSERT(be32_to_cpu(leaf->ents[lowstale].address) == in xfs_dir2_leafn_add()
314 ASSERT(be32_to_cpu(leaf->ents[highstale].address) == in xfs_dir2_leafn_add()
359 ASSERT(be32_to_cpu(leaf->ents[i].hashval) <= in xfs_dir2_leafn_check()
360 be32_to_cpu(leaf->ents[i + 1].hashval)); in xfs_dir2_leafn_check()
362 if (be32_to_cpu(leaf->ents[i].address) == XFS_DIR2_NULL_DATAPTR) in xfs_dir2_leafn_check()
386 return be32_to_cpu(leaf->ents[be16_to_cpu(leaf->hdr.count) - 1].hashval); in xfs_dir2_leafn_lasthash()
437 ASSERT(be32_to_cpu(free->hdr.magic) == XFS_DIR2_FREE_MAGIC); in xfs_dir2_leafn_lookup_for_addname()
444 be32_to_cpu(lep->hashval) == args->hashval; in xfs_dir2_leafn_lookup_for_addname()
449 if (be32_to_cpu(lep->address) == XFS_DIR2_NULL_DATAPTR) in xfs_dir2_leafn_lookup_for_addname()
454 newdb = xfs_dir2_dataptr_to_db(mp, be32_to_cpu(lep->address)); in xfs_dir2_leafn_lookup_for_addname()
488 ASSERT(be32_to_cpu(free->hdr.magic) == in xfs_dir2_leafn_lookup_for_addname()
490 ASSERT((be32_to_cpu(free->hdr.firstdb) % in xfs_dir2_leafn_lookup_for_addname()
492 ASSERT(be32_to_cpu(free->hdr.firstdb) <= curdb); in xfs_dir2_leafn_lookup_for_addname()
493 ASSERT(curdb < be32_to_cpu(free->hdr.firstdb) + in xfs_dir2_leafn_lookup_for_addname()
494 be32_to_cpu(free->hdr.nvalid)); in xfs_dir2_leafn_lookup_for_addname()
584 be32_to_cpu(lep->hashval) == args->hashval; in xfs_dir2_leafn_lookup_for_entry()
589 if (be32_to_cpu(lep->address) == XFS_DIR2_NULL_DATAPTR) in xfs_dir2_leafn_lookup_for_entry()
594 newdb = xfs_dir2_dataptr_to_db(mp, be32_to_cpu(lep->address)); in xfs_dir2_leafn_lookup_for_entry()
631 xfs_dir2_dataptr_to_off(mp, be32_to_cpu(lep->address))); in xfs_dir2_leafn_lookup_for_entry()
745 if (be32_to_cpu(leaf_s->ents[i].address) == XFS_DIR2_NULL_DATAPTR) in xfs_dir2_leafn_moveents()
796 (be32_to_cpu(leaf2->ents[0].hashval) < be32_to_cpu(leaf1->ents[0].hashval) || in xfs_dir2_leafn_order()
797 be32_to_cpu(leaf2->ents[be16_to_cpu(leaf2->hdr.count) - 1].hashval) < in xfs_dir2_leafn_order()
798 be32_to_cpu(leaf1->ents[be16_to_cpu(leaf1->hdr.count) - 1].hashval))) in xfs_dir2_leafn_order()
854 midhash = be32_to_cpu(leaf2->ents[mid - be16_to_cpu(leaf1->hdr.count)].hashval); in xfs_dir2_leafn_rebalance()
856 midhash = be32_to_cpu(leaf1->ents[mid].hashval); in xfs_dir2_leafn_rebalance()
949 db = xfs_dir2_dataptr_to_db(mp, be32_to_cpu(lep->address)); in xfs_dir2_leafn_remove()
951 off = xfs_dir2_dataptr_to_off(mp, be32_to_cpu(lep->address)); in xfs_dir2_leafn_remove()
1003 ASSERT(be32_to_cpu(free->hdr.magic) == XFS_DIR2_FREE_MAGIC); in xfs_dir2_leafn_remove()
1004 ASSERT(be32_to_cpu(free->hdr.firstdb) == in xfs_dir2_leafn_remove()
1051 if (findex == be32_to_cpu(free->hdr.nvalid) - 1) { in xfs_dir2_leafn_remove()
1250 forward = be32_to_cpu(info->forw) < be32_to_cpu(info->back); in xfs_dir2_leafn_toosmall()
1252 blkno = forward ? be32_to_cpu(info->forw) : be32_to_cpu(info->back); in xfs_dir2_leafn_toosmall()
1343 drop_blk->hashval = be32_to_cpu(drop_leaf->ents[be16_to_cpu(drop_leaf->hdr.count) - 1].hashval); in xfs_dir2_leafn_unbalance()
1350 save_blk->hashval = be32_to_cpu(save_leaf->ents[be16_to_cpu(save_leaf->hdr.count) - 1].hashval); in xfs_dir2_leafn_unbalance()
1471 ASSERT(be32_to_cpu(free->hdr.magic) == XFS_DIR2_FREE_MAGIC); in xfs_dir2_node_addname_int()
1479 ASSERT(findex < be32_to_cpu(free->hdr.nvalid)); in xfs_dir2_node_addname_int()
1482 dbno = be32_to_cpu(free->hdr.firstdb) + findex; in xfs_dir2_node_addname_int()
1555 ASSERT(be32_to_cpu(free->hdr.magic) == XFS_DIR2_FREE_MAGIC); in xfs_dir2_node_addname_int()
1563 dbno = be32_to_cpu(free->hdr.firstdb) + findex; in xfs_dir2_node_addname_int()
1568 if (++findex == be32_to_cpu(free->hdr.nvalid)) { in xfs_dir2_node_addname_int()
1691 ASSERT(be32_to_cpu(free->hdr.magic) == XFS_DIR2_FREE_MAGIC); in xfs_dir2_node_addname_int()
1702 if (findex >= be32_to_cpu(free->hdr.nvalid)) { in xfs_dir2_node_addname_int()
1981 ASSERT(be32_to_cpu(data->hdr.magic) == XFS_DIR2_DATA_MAGIC); in xfs_dir2_node_replace()
1984 xfs_dir2_dataptr_to_off(state->mp, be32_to_cpu(lep->address))); in xfs_dir2_node_replace()
2047 ASSERT(be32_to_cpu(free->hdr.magic) == XFS_DIR2_FREE_MAGIC); in xfs_dir2_node_trim_free()
2051 if (be32_to_cpu(free->hdr.nused) > 0) { in xfs_dir2_node_trim_free()