Searched refs:blk1 (Results 1 – 4 of 4) sorted by relevance
/fs/xfs/ |
D | xfs_attr_leaf.c | 63 xfs_da_state_blk_t *blk1, 1269 xfs_attr_leaf_rebalance(xfs_da_state_t *state, xfs_da_state_blk_t *blk1, in xfs_attr_leaf_rebalance() argument 1281 ASSERT(blk1->magic == XFS_ATTR_LEAF_MAGIC); in xfs_attr_leaf_rebalance() 1283 leaf1 = blk1->bp->data; in xfs_attr_leaf_rebalance() 1298 if (xfs_attr_leaf_order(blk1->bp, blk2->bp)) { in xfs_attr_leaf_rebalance() 1299 tmp_blk = blk1; in xfs_attr_leaf_rebalance() 1300 blk1 = blk2; in xfs_attr_leaf_rebalance() 1302 leaf1 = blk1->bp->data; in xfs_attr_leaf_rebalance() 1317 state->inleaf = xfs_attr_leaf_figure_balance(state, blk1, blk2, in xfs_attr_leaf_rebalance() 1350 xfs_da_log_buf(args->trans, blk1->bp, 0, state->blocksize-1); in xfs_attr_leaf_rebalance() [all …]
|
D | xfs_da_btree.c | 296 xfs_da_root_split(xfs_da_state_t *state, xfs_da_state_blk_t *blk1, in xfs_da_root_split() argument 328 oldroot = blk1->bp->data; in xfs_da_root_split() 340 xfs_da_buf_done(blk1->bp); in xfs_da_root_split() 341 blk1->bp = bp; in xfs_da_root_split() 342 blk1->blkno = blkno; in xfs_da_root_split() 353 node->btree[0].hashval = cpu_to_be32(blk1->hashval); in xfs_da_root_split() 354 node->btree[0].before = cpu_to_be32(blk1->blkno); in xfs_da_root_split() 361 ASSERT(blk1->blkno >= mp->m_dirleafblk && in xfs_da_root_split() 362 blk1->blkno < mp->m_dirfreeblk); in xfs_da_root_split() 471 xfs_da_node_rebalance(xfs_da_state_t *state, xfs_da_state_blk_t *blk1, in xfs_da_node_rebalance() argument [all …]
|
D | xfs_dir2_node.c | 51 xfs_da_state_blk_t *blk1, 735 xfs_da_state_blk_t *blk1, /* first btree block */ in xfs_dir2_leafn_rebalance() argument 754 if ((swap = xfs_dir2_leafn_order(blk1->bp, blk2->bp))) { in xfs_dir2_leafn_rebalance() 757 tmp = blk1; in xfs_dir2_leafn_rebalance() 758 blk1 = blk2; in xfs_dir2_leafn_rebalance() 761 leaf1 = blk1->bp->data; in xfs_dir2_leafn_rebalance() 794 xfs_dir2_leafn_moveents(args, blk1->bp, in xfs_dir2_leafn_rebalance() 797 xfs_dir2_leafn_moveents(args, blk2->bp, 0, blk1->bp, in xfs_dir2_leafn_rebalance() 810 swap ^ (blk1->index <= be16_to_cpu(leaf1->hdr.count)); in xfs_dir2_leafn_rebalance() 815 blk2->index = blk1->index - be16_to_cpu(leaf1->hdr.count); in xfs_dir2_leafn_rebalance() [all …]
|
D | xfs_log_priv.h | 69 #define BLK_AVG(blk1, blk2) ((blk1+blk2) >> 1) argument
|