Lines Matching defs:nodehdr1
886 struct xfs_da3_icnode_hdr nodehdr1;
898 xfs_da3_node_hdr_from_disk(dp->i_mount, &nodehdr1, node1);
900 btree1 = nodehdr1.btree;
907 if (nodehdr1.count > 0 && nodehdr2.count > 0 &&
910 be32_to_cpu(btree1[nodehdr1.count - 1].hashval)))) {
912 xfs_da3_node_hdr_from_disk(dp->i_mount, &nodehdr1, node1);
914 btree1 = nodehdr1.btree;
919 count = (nodehdr1.count - nodehdr2.count) / 2;
944 btree_s = &btree1[nodehdr1.count - count];
947 nodehdr1.count -= count;
956 btree_d = &btree1[nodehdr1.count];
958 nodehdr1.count += count;
977 xfs_da3_node_hdr_to_disk(dp->i_mount, node1, &nodehdr1);
995 xfs_da3_node_hdr_from_disk(dp->i_mount, &nodehdr1, node1);
997 btree1 = nodehdr1.btree;
1000 blk1->hashval = be32_to_cpu(btree1[nodehdr1.count - 1].hashval);
1006 if (blk1->index >= nodehdr1.count) {
1007 blk2->index = blk1->index - nodehdr1.count;
1008 blk1->index = nodehdr1.count + 1; /* make it invalid */