• Home
  • Raw
  • Download

Lines Matching refs:be32_to_cpu

259 		if (be32_to_cpu(node->hdr.info.forw) == addblk->blkno) {  in xfs_da_split()
273 if (be32_to_cpu(node->hdr.info.back) == addblk->blkno) { in xfs_da_split()
483 ((be32_to_cpu(node2->btree[0].hashval) < be32_to_cpu(node1->btree[0].hashval)) || in xfs_da_node_rebalance()
484 (be32_to_cpu(node2->btree[be16_to_cpu(node2->hdr.count)-1].hashval) < in xfs_da_node_rebalance()
485 be32_to_cpu(node1->btree[be16_to_cpu(node1->hdr.count)-1].hashval)))) { in xfs_da_node_rebalance()
561 blk1->hashval = be32_to_cpu(node1->btree[be16_to_cpu(node1->hdr.count)-1].hashval); in xfs_da_node_rebalance()
562 blk2->hashval = be32_to_cpu(node2->btree[be16_to_cpu(node2->hdr.count)-1].hashval); in xfs_da_node_rebalance()
614 oldblk->hashval = be32_to_cpu(node->btree[be16_to_cpu(node->hdr.count)-1 ].hashval); in xfs_da_node_add()
737 child = be32_to_cpu(oldroot->btree[0].before); in xfs_da_root_join()
826 forward = (be32_to_cpu(info->forw) < be32_to_cpu(info->back)); in xfs_da_node_toosmall()
829 blkno = be32_to_cpu(info->forw); in xfs_da_node_toosmall()
831 blkno = be32_to_cpu(info->back); in xfs_da_node_toosmall()
922 if (be32_to_cpu(btree->hashval) == lasthash) in xfs_da_fixhashpath()
929 lasthash = be32_to_cpu(node->btree[be16_to_cpu(node->hdr.count)-1].hashval); in xfs_da_fixhashpath()
970 drop_blk->hashval = be32_to_cpu(btree->hashval); in xfs_da_node_remove()
996 if ((be32_to_cpu(drop_node->btree[0].hashval) < be32_to_cpu(save_node->btree[ 0 ].hashval)) || in xfs_da_node_unbalance()
997 (be32_to_cpu(drop_node->btree[be16_to_cpu(drop_node->hdr.count)-1].hashval) < in xfs_da_node_unbalance()
998 be32_to_cpu(save_node->btree[be16_to_cpu(save_node->hdr.count)-1].hashval))) in xfs_da_node_unbalance()
1030 save_blk->hashval = be32_to_cpu(save_node->btree[be16_to_cpu(save_node->hdr.count)-1].hashval); in xfs_da_node_unbalance()
1093 blk->hashval = be32_to_cpu(node->btree[max-1].hashval); in xfs_da_node_lookup_int()
1103 btreehashval = be32_to_cpu(btree->hashval); in xfs_da_node_lookup_int()
1112 ASSERT((span <= 4) || (be32_to_cpu(btree->hashval) == hashval)); in xfs_da_node_lookup_int()
1118 while ((probe > 0) && (be32_to_cpu(btree->hashval) >= hashval)) { in xfs_da_node_lookup_int()
1122 while ((probe < max) && (be32_to_cpu(btree->hashval) < hashval)) { in xfs_da_node_lookup_int()
1132 blkno = be32_to_cpu(node->btree[max-1].before); in xfs_da_node_lookup_int()
1135 blkno = be32_to_cpu(btree->before); in xfs_da_node_lookup_int()
1236 be32_to_cpu(old_info->back), in xfs_da_blk_link()
1243 ASSERT(be32_to_cpu(tmp_info->forw) == old_blk->blkno); in xfs_da_blk_link()
1257 be32_to_cpu(old_info->forw), in xfs_da_blk_link()
1264 ASSERT(be32_to_cpu(tmp_info->back) == old_blk->blkno); in xfs_da_blk_link()
1290 ((be32_to_cpu(node2->btree[0].hashval) < in xfs_da_node_order()
1291 be32_to_cpu(node1->btree[0].hashval)) || in xfs_da_node_order()
1292 (be32_to_cpu(node2->btree[be16_to_cpu(node2->hdr.count)-1].hashval) < in xfs_da_node_order()
1293 be32_to_cpu(node1->btree[be16_to_cpu(node1->hdr.count)-1].hashval)))) { in xfs_da_node_order()
1313 return be32_to_cpu(node->btree[be16_to_cpu(node->hdr.count)-1].hashval); in xfs_da_node_lasthash()
1341 ASSERT((be32_to_cpu(save_info->forw) == drop_blk->blkno) || in xfs_da_blk_unlink()
1342 (be32_to_cpu(save_info->back) == drop_blk->blkno)); in xfs_da_blk_unlink()
1343 ASSERT((be32_to_cpu(drop_info->forw) == save_blk->blkno) || in xfs_da_blk_unlink()
1344 (be32_to_cpu(drop_info->back) == save_blk->blkno)); in xfs_da_blk_unlink()
1349 if (be32_to_cpu(save_info->back) == drop_blk->blkno) { in xfs_da_blk_unlink()
1353 be32_to_cpu(drop_info->back), in xfs_da_blk_unlink()
1360 ASSERT(be32_to_cpu(tmp_info->forw) == drop_blk->blkno); in xfs_da_blk_unlink()
1370 be32_to_cpu(drop_info->forw), in xfs_da_blk_unlink()
1377 ASSERT(be32_to_cpu(tmp_info->back) == drop_blk->blkno); in xfs_da_blk_unlink()
1424 blkno = be32_to_cpu(node->btree[blk->index].before); in xfs_da_path_shift()
1428 blkno = be32_to_cpu(node->btree[blk->index].before); in xfs_da_path_shift()
1466 blk->hashval = be32_to_cpu(node->btree[be16_to_cpu(node->hdr.count)-1].hashval); in xfs_da_path_shift()
1471 blkno = be32_to_cpu(node->btree[blk->index].before); in xfs_da_path_shift()
1717 dead_hash = be32_to_cpu(dead_leaf2->ents[be16_to_cpu(dead_leaf2->hdr.count) - 1].hashval); in xfs_da_swap_lastblock()
1722 dead_hash = be32_to_cpu(dead_node->btree[be16_to_cpu(dead_node->hdr.count) - 1].hashval); in xfs_da_swap_lastblock()
1728 if ((sib_blkno = be32_to_cpu(dead_info->back))) { in xfs_da_swap_lastblock()
1733 be32_to_cpu(sib_info->forw) != last_blkno || in xfs_da_swap_lastblock()
1750 if ((sib_blkno = be32_to_cpu(dead_info->forw))) { in xfs_da_swap_lastblock()
1755 be32_to_cpu(sib_info->back) != last_blkno || in xfs_da_swap_lastblock()
1789 be32_to_cpu(par_node->btree[entno].hashval) < dead_hash; in xfs_da_swap_lastblock()
1798 par_blkno = be32_to_cpu(par_node->btree[entno].before); in xfs_da_swap_lastblock()
1811 be32_to_cpu(par_node->btree[entno].before) != last_blkno; in xfs_da_swap_lastblock()
1816 par_blkno = be32_to_cpu(par_node->hdr.info.forw); in xfs_da_swap_lastblock()
2099 magic1 = be32_to_cpu(data->hdr.magic); in xfs_da_do_buf()
2107 (be32_to_cpu(free->hdr.magic) != XFS_DIR2_FREE_MAGIC), in xfs_da_do_buf()