Searched refs:blk2 (Results 1 – 5 of 5) sorted by relevance
/linux-2.6.39/arch/powerpc/lib/ |
D | rheap.c | 614 rh_block_t *blk, *blk2; in rh_free() local 621 blk2 = list_entry(l, rh_block_t, list); in rh_free() 622 if (start < blk2->start) in rh_free() 624 blk = blk2; in rh_free() 681 rh_block_t *blk, *blk2; in rh_set_owner() local 688 blk2 = list_entry(l, rh_block_t, list); in rh_set_owner() 689 if (start < blk2->start) in rh_set_owner() 691 blk = blk2; in rh_set_owner()
|
/linux-2.6.39/fs/xfs/ |
D | xfs_attr_leaf.c | 64 xfs_da_state_blk_t *blk2); 1244 xfs_da_state_blk_t *blk2) in xfs_attr_leaf_rebalance() argument 1256 ASSERT(blk2->magic == XFS_ATTR_LEAF_MAGIC); in xfs_attr_leaf_rebalance() 1258 leaf2 = blk2->bp->data; in xfs_attr_leaf_rebalance() 1270 if (xfs_attr_leaf_order(blk1->bp, blk2->bp)) { in xfs_attr_leaf_rebalance() 1272 blk1 = blk2; in xfs_attr_leaf_rebalance() 1273 blk2 = tmp_blk; in xfs_attr_leaf_rebalance() 1275 leaf2 = blk2->bp->data; in xfs_attr_leaf_rebalance() 1289 state->inleaf = xfs_attr_leaf_figure_balance(state, blk1, blk2, in xfs_attr_leaf_rebalance() 1313 xfs_attr_leaf_compact(args->trans, blk2->bp); in xfs_attr_leaf_rebalance() [all …]
|
D | xfs_dir2_node.c | 56 xfs_da_state_blk_t *blk2); 814 xfs_da_state_blk_t *blk2) /* second btree block */ in xfs_dir2_leafn_rebalance() argument 832 if ((swap = xfs_dir2_leafn_order(blk1->bp, blk2->bp))) { in xfs_dir2_leafn_rebalance() 836 blk1 = blk2; in xfs_dir2_leafn_rebalance() 837 blk2 = tmp; in xfs_dir2_leafn_rebalance() 840 leaf2 = blk2->bp->data; in xfs_dir2_leafn_rebalance() 873 be16_to_cpu(leaf1->hdr.count) - count, blk2->bp, 0, count); in xfs_dir2_leafn_rebalance() 875 xfs_dir2_leafn_moveents(args, blk2->bp, 0, blk1->bp, in xfs_dir2_leafn_rebalance() 893 blk2->index = blk1->index - be16_to_cpu(leaf1->hdr.count); in xfs_dir2_leafn_rebalance() 899 if(blk2->index < 0) { in xfs_dir2_leafn_rebalance() [all …]
|
D | xfs_log_priv.h | 69 #define BLK_AVG(blk1, blk2) ((blk1+blk2) >> 1) argument
|
D | xfs_da_btree.c | 294 xfs_da_state_blk_t *blk2) in xfs_da_root_split() argument 350 node->btree[1].hashval = cpu_to_be32(blk2->hashval); in xfs_da_root_split() 351 node->btree[1].before = cpu_to_be32(blk2->blkno); in xfs_da_root_split() 358 ASSERT(blk2->blkno >= mp->m_dirleafblk && in xfs_da_root_split() 359 blk2->blkno < mp->m_dirfreeblk); in xfs_da_root_split() 465 xfs_da_state_blk_t *blk2) in xfs_da_node_rebalance() argument 473 node2 = blk2->bp->data; in xfs_da_node_rebalance() 546 xfs_da_log_buf(tp, blk2->bp, in xfs_da_node_rebalance() 556 node2 = blk2->bp->data; in xfs_da_node_rebalance() 558 blk2->hashval = be32_to_cpu(node2->btree[be16_to_cpu(node2->hdr.count)-1].hashval); in xfs_da_node_rebalance() [all …]
|