Searched refs:blk1 (Results 1 – 6 of 6) sorted by relevance
/linux-2.4.37.9/fs/xfs/ |
D | xfs_attr_leaf.c | 86 xfs_da_state_blk_t *blk1, 1138 xfs_attr_leaf_rebalance(xfs_da_state_t *state, xfs_da_state_blk_t *blk1, in xfs_attr_leaf_rebalance() argument 1150 ASSERT(blk1->magic == XFS_ATTR_LEAF_MAGIC); in xfs_attr_leaf_rebalance() 1152 leaf1 = blk1->bp->data; in xfs_attr_leaf_rebalance() 1167 if (xfs_attr_leaf_order(blk1->bp, blk2->bp)) { in xfs_attr_leaf_rebalance() 1168 tmp_blk = blk1; in xfs_attr_leaf_rebalance() 1169 blk1 = blk2; in xfs_attr_leaf_rebalance() 1171 leaf1 = blk1->bp->data; in xfs_attr_leaf_rebalance() 1186 state->inleaf = xfs_attr_leaf_figure_balance(state, blk1, blk2, in xfs_attr_leaf_rebalance() 1221 xfs_da_log_buf(args->trans, blk1->bp, 0, state->blocksize-1); in xfs_attr_leaf_rebalance() [all …]
|
D | xfs_dir_leaf.c | 86 xfs_da_state_blk_t *blk1, 1103 xfs_dir_leaf_rebalance(xfs_da_state_t *state, xfs_da_state_blk_t *blk1, in xfs_dir_leaf_rebalance() argument 1114 ASSERT(blk1->magic == XFS_DIR_LEAF_MAGIC); in xfs_dir_leaf_rebalance() 1116 leaf1 = blk1->bp->data; in xfs_dir_leaf_rebalance() 1125 if (xfs_dir_leaf_order(blk1->bp, blk2->bp)) { in xfs_dir_leaf_rebalance() 1126 tmp_blk = blk1; in xfs_dir_leaf_rebalance() 1127 blk1 = blk2; in xfs_dir_leaf_rebalance() 1129 leaf1 = blk1->bp->data; in xfs_dir_leaf_rebalance() 1141 state->inleaf = xfs_dir_leaf_figure_balance(state, blk1, blk2, in xfs_dir_leaf_rebalance() 1174 xfs_da_log_buf(state->args->trans, blk1->bp, 0, in xfs_dir_leaf_rebalance() [all …]
|
D | xfs_da_btree.c | 348 xfs_da_root_split(xfs_da_state_t *state, xfs_da_state_blk_t *blk1, in xfs_da_root_split() argument 378 oldroot = blk1->bp->data; in xfs_da_root_split() 391 xfs_da_buf_done(blk1->bp); in xfs_da_root_split() 392 blk1->bp = bp; in xfs_da_root_split() 393 blk1->blkno = blkno; in xfs_da_root_split() 405 INT_SET(node->btree[0].hashval, ARCH_CONVERT, blk1->hashval); in xfs_da_root_split() 406 INT_SET(node->btree[0].before, ARCH_CONVERT, blk1->blkno); in xfs_da_root_split() 413 ASSERT(blk1->blkno >= mp->m_dirleafblk && in xfs_da_root_split() 414 blk1->blkno < mp->m_dirfreeblk); in xfs_da_root_split() 521 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 | 80 xfs_da_state_blk_t *blk1, 765 xfs_da_state_blk_t *blk1, /* first btree block */ in xfs_dir2_leafn_rebalance() argument 784 if ((swap = xfs_dir2_leafn_order(blk1->bp, blk2->bp))) { in xfs_dir2_leafn_rebalance() 787 tmp = blk1; in xfs_dir2_leafn_rebalance() 788 blk1 = blk2; in xfs_dir2_leafn_rebalance() 791 leaf1 = blk1->bp->data; in xfs_dir2_leafn_rebalance() 824 xfs_dir2_leafn_moveents(args, blk1->bp, in xfs_dir2_leafn_rebalance() 827 xfs_dir2_leafn_moveents(args, blk2->bp, 0, blk1->bp, in xfs_dir2_leafn_rebalance() 840 swap ^ (blk1->index <= INT_GET(leaf1->hdr.count, ARCH_CONVERT)); in xfs_dir2_leafn_rebalance() 845 blk2->index = blk1->index - INT_GET(leaf1->hdr.count, ARCH_CONVERT); in xfs_dir2_leafn_rebalance() [all …]
|
D | xfs_log_priv.h | 97 #define BLK_AVG(blk1, blk2) ((blk1+blk2) >> 1) argument
|
/linux-2.4.37.9/fs/hfsplus/ |
D | extents.c | 311 u32 blk, blk1, ablock, block_count; in hfsplus_extend_file() local 319 blk = blk1 = (HFSPLUS_SB(sb).next_alloc >> sb->s_blocksize_bits) / 8; in hfsplus_extend_file() 360 if (blk == blk1) in hfsplus_extend_file()
|