Lines Matching refs:nodehdr2
941 struct xfs_da3_icnode_hdr nodehdr2; in xfs_da3_node_rebalance() local
953 xfs_da3_node_hdr_from_disk(dp->i_mount, &nodehdr2, node2); in xfs_da3_node_rebalance()
955 btree2 = nodehdr2.btree; in xfs_da3_node_rebalance()
961 if (nodehdr1.count > 0 && nodehdr2.count > 0 && in xfs_da3_node_rebalance()
963 (be32_to_cpu(btree2[nodehdr2.count - 1].hashval) < in xfs_da3_node_rebalance()
967 xfs_da3_node_hdr_from_disk(dp->i_mount, &nodehdr2, node2); in xfs_da3_node_rebalance()
969 btree2 = nodehdr2.btree; in xfs_da3_node_rebalance()
973 count = (nodehdr1.count - nodehdr2.count) / 2; in xfs_da3_node_rebalance()
984 tmp = nodehdr2.count; in xfs_da3_node_rebalance()
996 nodehdr2.count += count; in xfs_da3_node_rebalance()
1020 tmp = nodehdr2.count - count; in xfs_da3_node_rebalance()
1025 nodehdr2.count -= count; in xfs_da3_node_rebalance()
1036 xfs_da3_node_hdr_to_disk(dp->i_mount, node2, &nodehdr2); in xfs_da3_node_rebalance()
1040 (sizeof(btree2[0]) * nodehdr2.count))); in xfs_da3_node_rebalance()
1050 xfs_da3_node_hdr_from_disk(dp->i_mount, &nodehdr2, node2); in xfs_da3_node_rebalance()
1052 btree2 = nodehdr2.btree; in xfs_da3_node_rebalance()
1055 blk2->hashval = be32_to_cpu(btree2[nodehdr2.count - 1].hashval); in xfs_da3_node_rebalance()