Lines Matching refs:nodehdr1
872 struct xfs_da3_icnode_hdr nodehdr1;
884 xfs_da3_node_hdr_from_disk(dp->i_mount, &nodehdr1, node1);
886 btree1 = nodehdr1.btree;
893 if (nodehdr1.count > 0 && nodehdr2.count > 0 &&
896 be32_to_cpu(btree1[nodehdr1.count - 1].hashval)))) {
900 xfs_da3_node_hdr_from_disk(dp->i_mount, &nodehdr1, node1);
902 btree1 = nodehdr1.btree;
907 count = (nodehdr1.count - nodehdr2.count) / 2;
932 btree_s = &btree1[nodehdr1.count - count];
935 nodehdr1.count -= count;
944 btree_d = &btree1[nodehdr1.count];
946 nodehdr1.count += count;
965 xfs_da3_node_hdr_to_disk(dp->i_mount, node1, &nodehdr1);
983 xfs_da3_node_hdr_from_disk(dp->i_mount, &nodehdr1, node1);
985 btree1 = nodehdr1.btree;
988 blk1->hashval = be32_to_cpu(btree1[nodehdr1.count - 1].hashval);
994 if (blk1->index >= nodehdr1.count) {
995 blk2->index = blk1->index - nodehdr1.count;
996 blk1->index = nodehdr1.count + 1; /* make it invalid */