Lines Matching refs:be32_to_cpu
135 to->forw = be32_to_cpu(from3->hdr.info.hdr.forw); in xfs_da3_node_hdr_from_disk()
136 to->back = be32_to_cpu(from3->hdr.info.hdr.back); in xfs_da3_node_hdr_from_disk()
143 to->forw = be32_to_cpu(from->hdr.info.forw); in xfs_da3_node_hdr_from_disk()
144 to->back = be32_to_cpu(from->hdr.info.back); in xfs_da3_node_hdr_from_disk()
598 if (be32_to_cpu(node->hdr.info.forw) != addblk->blkno) { in xfs_da3_split()
611 if (be32_to_cpu(node->hdr.info.back) != addblk->blkno) { in xfs_da3_split()
893 ((be32_to_cpu(btree2[0].hashval) < be32_to_cpu(btree1[0].hashval)) || in xfs_da3_node_rebalance()
894 (be32_to_cpu(btree2[nodehdr2.count - 1].hashval) < in xfs_da3_node_rebalance()
895 be32_to_cpu(btree1[nodehdr1.count - 1].hashval)))) { in xfs_da3_node_rebalance()
985 blk1->hashval = be32_to_cpu(btree1[nodehdr1.count - 1].hashval); in xfs_da3_node_rebalance()
986 blk2->hashval = be32_to_cpu(btree2[nodehdr2.count - 1].hashval); in xfs_da3_node_rebalance()
1047 oldblk->hashval = be32_to_cpu(btree[nodehdr.count - 1].hashval); in xfs_da3_node_add()
1200 child = be32_to_cpu(oldroothdr.btree[0].before); in xfs_da3_root_join()
1371 return be32_to_cpu(nodehdr.btree[nodehdr.count - 1].hashval); in xfs_da3_node_lasthash()
1418 if (be32_to_cpu(btree[blk->index].hashval) == lasthash) in xfs_da3_fixhashpath()
1426 lasthash = be32_to_cpu(btree[nodehdr.count - 1].hashval); in xfs_da3_fixhashpath()
1476 drop_blk->hashval = be32_to_cpu(btree[index - 1].hashval); in xfs_da3_node_remove()
1514 if ((be32_to_cpu(drop_btree[0].hashval) < in xfs_da3_node_unbalance()
1515 be32_to_cpu(save_btree[0].hashval)) || in xfs_da3_node_unbalance()
1516 (be32_to_cpu(drop_btree[drop_hdr.count - 1].hashval) < in xfs_da3_node_unbalance()
1517 be32_to_cpu(save_btree[save_hdr.count - 1].hashval))) { in xfs_da3_node_unbalance()
1549 save_blk->hashval = be32_to_cpu(save_btree[save_hdr.count - 1].hashval); in xfs_da3_node_unbalance()
1659 blk->hashval = be32_to_cpu(btree[max - 1].hashval); in xfs_da3_node_lookup_int()
1668 btreehashval = be32_to_cpu(btree[probe].hashval); in xfs_da3_node_lookup_int()
1678 (be32_to_cpu(btree[probe].hashval) == hashval)); in xfs_da3_node_lookup_int()
1685 be32_to_cpu(btree[probe].hashval) >= hashval) { in xfs_da3_node_lookup_int()
1689 be32_to_cpu(btree[probe].hashval) < hashval) { in xfs_da3_node_lookup_int()
1698 blkno = be32_to_cpu(btree[max - 1].before); in xfs_da3_node_lookup_int()
1701 blkno = be32_to_cpu(btree[probe].before); in xfs_da3_node_lookup_int()
1777 ((be32_to_cpu(btree2[0].hashval) < be32_to_cpu(btree1[0].hashval)) || in xfs_da3_node_order()
1778 (be32_to_cpu(btree2[node2hdr.count - 1].hashval) < in xfs_da3_node_order()
1779 be32_to_cpu(btree1[node1hdr.count - 1].hashval)))) { in xfs_da3_node_order()
1838 be32_to_cpu(old_info->back), in xfs_da3_blk_link()
1845 ASSERT(be32_to_cpu(tmp_info->forw) == old_blk->blkno); in xfs_da3_blk_link()
1859 be32_to_cpu(old_info->forw), in xfs_da3_blk_link()
1866 ASSERT(be32_to_cpu(tmp_info->back) == old_blk->blkno); in xfs_da3_blk_link()
1905 ASSERT((be32_to_cpu(save_info->forw) == drop_blk->blkno) || in xfs_da3_blk_unlink()
1906 (be32_to_cpu(save_info->back) == drop_blk->blkno)); in xfs_da3_blk_unlink()
1907 ASSERT((be32_to_cpu(drop_info->forw) == save_blk->blkno) || in xfs_da3_blk_unlink()
1908 (be32_to_cpu(drop_info->back) == save_blk->blkno)); in xfs_da3_blk_unlink()
1913 if (be32_to_cpu(save_info->back) == drop_blk->blkno) { in xfs_da3_blk_unlink()
1918 be32_to_cpu(drop_info->back), in xfs_da3_blk_unlink()
1925 ASSERT(be32_to_cpu(tmp_info->forw) == drop_blk->blkno); in xfs_da3_blk_unlink()
1935 be32_to_cpu(drop_info->forw), in xfs_da3_blk_unlink()
1942 ASSERT(be32_to_cpu(tmp_info->back) == drop_blk->blkno); in xfs_da3_blk_unlink()
1999 blkno = be32_to_cpu(nodehdr.btree[blk->index].before); in xfs_da3_path_shift()
2003 blkno = be32_to_cpu(nodehdr.btree[blk->index].before); in xfs_da3_path_shift()
2057 blk->hashval = be32_to_cpu(btree[nodehdr.count - 1].hashval); in xfs_da3_path_shift()
2062 blkno = be32_to_cpu(btree[blk->index].before); in xfs_da3_path_shift()
2321 dead_hash = be32_to_cpu(ents[leafhdr.count - 1].hashval); in xfs_da3_swap_lastblock()
2329 dead_hash = be32_to_cpu(btree[deadhdr.count - 1].hashval); in xfs_da3_swap_lastblock()
2335 if ((sib_blkno = be32_to_cpu(dead_info->back))) { in xfs_da3_swap_lastblock()
2341 be32_to_cpu(sib_info->forw) != last_blkno || in xfs_da3_swap_lastblock()
2355 if ((sib_blkno = be32_to_cpu(dead_info->forw))) { in xfs_da3_swap_lastblock()
2361 be32_to_cpu(sib_info->back) != last_blkno || in xfs_da3_swap_lastblock()
2392 be32_to_cpu(btree[entno].hashval) < dead_hash; in xfs_da3_swap_lastblock()
2399 par_blkno = be32_to_cpu(btree[entno].before); in xfs_da3_swap_lastblock()
2412 be32_to_cpu(btree[entno].before) != last_blkno; in xfs_da3_swap_lastblock()