Lines Matching refs:nodehdr2
762 struct xfs_da3_icnode_hdr nodehdr2; in xfs_da3_node_rebalance() local
774 dp->d_ops->node_hdr_from_disk(&nodehdr2, node2); in xfs_da3_node_rebalance()
782 if (nodehdr1.count > 0 && nodehdr2.count > 0 && in xfs_da3_node_rebalance()
784 (be32_to_cpu(btree2[nodehdr2.count - 1].hashval) < in xfs_da3_node_rebalance()
790 dp->d_ops->node_hdr_from_disk(&nodehdr2, node2); in xfs_da3_node_rebalance()
796 count = (nodehdr1.count - nodehdr2.count) / 2; in xfs_da3_node_rebalance()
807 tmp = nodehdr2.count; in xfs_da3_node_rebalance()
819 nodehdr2.count += count; in xfs_da3_node_rebalance()
843 tmp = nodehdr2.count - count; in xfs_da3_node_rebalance()
848 nodehdr2.count -= count; in xfs_da3_node_rebalance()
858 dp->d_ops->node_hdr_to_disk(node2, &nodehdr2); in xfs_da3_node_rebalance()
862 (sizeof(btree2[0]) * nodehdr2.count))); in xfs_da3_node_rebalance()
872 dp->d_ops->node_hdr_from_disk(&nodehdr2, node2); in xfs_da3_node_rebalance()
877 blk2->hashval = be32_to_cpu(btree2[nodehdr2.count - 1].hashval); in xfs_da3_node_rebalance()