• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/xfs/

Lines Matching defs:node1

471 	xfs_da_intnode_t *node1, *node2, *tmpnode;
476 node1 = blk1->bp->data;
482 if ((be16_to_cpu(node1->hdr.count) > 0) && (be16_to_cpu(node2->hdr.count) > 0) &&
483 ((be32_to_cpu(node2->btree[0].hashval) < be32_to_cpu(node1->btree[0].hashval)) ||
485 be32_to_cpu(node1->btree[be16_to_cpu(node1->hdr.count)-1].hashval)))) {
486 tmpnode = node1;
487 node1 = node2;
490 ASSERT(be16_to_cpu(node1->hdr.info.magic) == XFS_DA_NODE_MAGIC);
492 count = (be16_to_cpu(node1->hdr.count) - be16_to_cpu(node2->hdr.count)) / 2;
511 * Move the req'd B-tree elements from high in node1 to
516 btree_s = &node1->btree[be16_to_cpu(node1->hdr.count) - count];
519 be16_add(&node1->hdr.count, -count);
523 * high in node1.
528 btree_d = &node1->btree[be16_to_cpu(node1->hdr.count)];
530 be16_add(&node1->hdr.count, count);
532 XFS_DA_LOGRANGE(node1, btree_d, tmp));
549 XFS_DA_LOGRANGE(node1, &node1->hdr, sizeof(node1->hdr)));
559 node1 = blk1->bp->data;
561 blk1->hashval = be32_to_cpu(node1->btree[be16_to_cpu(node1->hdr.count)-1].hashval);
567 if (blk1->index >= be16_to_cpu(node1->hdr.count)) {
568 blk2->index = blk1->index - be16_to_cpu(node1->hdr.count);
569 blk1->index = be16_to_cpu(node1->hdr.count) + 1; /* make it invalid */
1283 xfs_da_intnode_t *node1, *node2;
1285 node1 = node1_bp->data;
1287 ASSERT((be16_to_cpu(node1->hdr.info.magic) == XFS_DA_NODE_MAGIC) &&
1289 if ((be16_to_cpu(node1->hdr.count) > 0) && (be16_to_cpu(node2->hdr.count) > 0) &&
1291 be32_to_cpu(node1->btree[0].hashval)) ||
1293 be32_to_cpu(node1->btree[be16_to_cpu(node1->hdr.count)-1].hashval)))) {