Lines Matching refs:drop_node
1002 xfs_da_intnode_t *drop_node, *save_node; in xfs_da_node_unbalance() local
1009 drop_node = drop_blk->bp->data; in xfs_da_node_unbalance()
1011 ASSERT(drop_node->hdr.info.magic == cpu_to_be16(XFS_DA_NODE_MAGIC)); in xfs_da_node_unbalance()
1019 if ((be32_to_cpu(drop_node->btree[0].hashval) < be32_to_cpu(save_node->btree[ 0 ].hashval)) || in xfs_da_node_unbalance()
1020 (be32_to_cpu(drop_node->btree[be16_to_cpu(drop_node->hdr.count)-1].hashval) < in xfs_da_node_unbalance()
1023 btree = &save_node->btree[be16_to_cpu(drop_node->hdr.count)]; in xfs_da_node_unbalance()
1029 (be16_to_cpu(save_node->hdr.count) + be16_to_cpu(drop_node->hdr.count)) * in xfs_da_node_unbalance()
1035 be16_to_cpu(drop_node->hdr.count) * in xfs_da_node_unbalance()
1042 tmp = be16_to_cpu(drop_node->hdr.count) * (uint)sizeof(xfs_da_node_entry_t); in xfs_da_node_unbalance()
1043 memcpy(btree, &drop_node->btree[0], tmp); in xfs_da_node_unbalance()
1044 be16_add_cpu(&save_node->hdr.count, be16_to_cpu(drop_node->hdr.count)); in xfs_da_node_unbalance()