Lines Matching defs:blk1
63 xfs_da_state_blk_t *blk1,
1243 xfs_attr_leaf_rebalance(xfs_da_state_t *state, xfs_da_state_blk_t *blk1,
1255 ASSERT(blk1->magic == XFS_ATTR_LEAF_MAGIC);
1257 leaf1 = blk1->bp->data;
1270 if (xfs_attr_leaf_order(blk1->bp, blk2->bp)) {
1271 tmp_blk = blk1;
1272 blk1 = blk2;
1274 leaf1 = blk1->bp->data;
1286 * "inleaf" is true if the new entry should be inserted into blk1.
1289 state->inleaf = xfs_attr_leaf_figure_balance(state, blk1, blk2,
1322 xfs_da_log_buf(args->trans, blk1->bp, 0, state->blocksize-1);
1345 xfs_attr_leaf_compact(args->trans, blk1->bp);
1354 xfs_da_log_buf(args->trans, blk1->bp, 0, state->blocksize-1);
1361 blk1->hashval = be32_to_cpu(
1378 if (blk1->index > be16_to_cpu(leaf1->hdr.count)) {
1380 blk2->index = blk1->index - be16_to_cpu(leaf1->hdr.count);
1383 } else if (blk1->index == be16_to_cpu(leaf1->hdr.count)) {
1385 args->index = blk1->index;
1386 args->blkno = blk1->blkno;
1390 blk2->index = blk1->index
1397 args->index = args->index2 = blk1->index;
1398 args->blkno = args->blkno2 = blk1->blkno;
1411 xfs_da_state_blk_t *blk1,
1424 leaf1 = blk1->bp->data;
1452 if (count == blk1->index) {