Lines Matching defs:blk1
293 xfs_da_root_split(xfs_da_state_t *state, xfs_da_state_blk_t *blk1,
323 oldroot = blk1->bp->data;
335 xfs_da_buf_done(blk1->bp);
336 blk1->bp = bp;
337 blk1->blkno = blkno;
348 node->btree[0].hashval = cpu_to_be32(blk1->hashval);
349 node->btree[0].before = cpu_to_be32(blk1->blkno);
356 ASSERT(blk1->blkno >= mp->m_dirleafblk &&
357 blk1->blkno < mp->m_dirfreeblk);
461 * NOTE: if blk2 is empty, then it will get the upper half of blk1.
464 xfs_da_node_rebalance(xfs_da_state_t *state, xfs_da_state_blk_t *blk1,
472 node1 = blk1->bp->data;
527 xfs_da_log_buf(tp, blk1->bp,
544 xfs_da_log_buf(tp, blk1->bp,
555 node1 = blk1->bp->data;
557 blk1->hashval = be32_to_cpu(node1->btree[be16_to_cpu(node1->hdr.count)-1].hashval);
563 if (blk1->index >= be16_to_cpu(node1->hdr.count)) {
564 blk2->index = blk1->index - be16_to_cpu(node1->hdr.count);
565 blk1->index = be16_to_cpu(node1->hdr.count) + 1; /* make it invalid */