Searched refs:blk1 (Results 1 – 4 of 4) sorted by relevance
/linux-2.6.39/fs/xfs/ |
D | xfs_attr_leaf.c | 63 xfs_da_state_blk_t *blk1, 1243 xfs_attr_leaf_rebalance(xfs_da_state_t *state, xfs_da_state_blk_t *blk1, in xfs_attr_leaf_rebalance() argument 1255 ASSERT(blk1->magic == XFS_ATTR_LEAF_MAGIC); in xfs_attr_leaf_rebalance() 1257 leaf1 = blk1->bp->data; in xfs_attr_leaf_rebalance() 1270 if (xfs_attr_leaf_order(blk1->bp, blk2->bp)) { in xfs_attr_leaf_rebalance() 1271 tmp_blk = blk1; in xfs_attr_leaf_rebalance() 1272 blk1 = blk2; in xfs_attr_leaf_rebalance() 1274 leaf1 = blk1->bp->data; in xfs_attr_leaf_rebalance() 1289 state->inleaf = xfs_attr_leaf_figure_balance(state, blk1, blk2, in xfs_attr_leaf_rebalance() 1322 xfs_da_log_buf(args->trans, blk1->bp, 0, state->blocksize-1); in xfs_attr_leaf_rebalance() [all …]
|
D | xfs_da_btree.c | 293 xfs_da_root_split(xfs_da_state_t *state, xfs_da_state_blk_t *blk1, in xfs_da_root_split() argument 323 oldroot = blk1->bp->data; in xfs_da_root_split() 335 xfs_da_buf_done(blk1->bp); in xfs_da_root_split() 336 blk1->bp = bp; in xfs_da_root_split() 337 blk1->blkno = blkno; in xfs_da_root_split() 348 node->btree[0].hashval = cpu_to_be32(blk1->hashval); in xfs_da_root_split() 349 node->btree[0].before = cpu_to_be32(blk1->blkno); in xfs_da_root_split() 356 ASSERT(blk1->blkno >= mp->m_dirleafblk && in xfs_da_root_split() 357 blk1->blkno < mp->m_dirfreeblk); in xfs_da_root_split() 464 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 | 55 xfs_da_state_blk_t *blk1, 813 xfs_da_state_blk_t *blk1, /* first btree block */ in xfs_dir2_leafn_rebalance() argument 832 if ((swap = xfs_dir2_leafn_order(blk1->bp, blk2->bp))) { in xfs_dir2_leafn_rebalance() 835 tmp = blk1; in xfs_dir2_leafn_rebalance() 836 blk1 = blk2; in xfs_dir2_leafn_rebalance() 839 leaf1 = blk1->bp->data; in xfs_dir2_leafn_rebalance() 872 xfs_dir2_leafn_moveents(args, blk1->bp, in xfs_dir2_leafn_rebalance() 875 xfs_dir2_leafn_moveents(args, blk2->bp, 0, blk1->bp, in xfs_dir2_leafn_rebalance() 888 swap ^ (blk1->index <= be16_to_cpu(leaf1->hdr.count)); in xfs_dir2_leafn_rebalance() 893 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
|