Home
last modified time | relevance | path

Searched refs:blk2 (Results 1 – 5 of 5) sorted by relevance

/Linux-v6.1/arch/powerpc/lib/
Drheap.c614 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-v6.1/fs/xfs/libxfs/
Dxfs_attr_leaf.c57 xfs_da_state_blk_t *blk2);
1715 struct xfs_da_state_blk *blk2) in xfs_attr3_leaf_rebalance() argument
1734 ASSERT(blk2->magic == XFS_ATTR_LEAF_MAGIC); in xfs_attr3_leaf_rebalance()
1736 leaf2 = blk2->bp->b_addr; in xfs_attr3_leaf_rebalance()
1751 if (xfs_attr3_leaf_order(blk1->bp, &ichdr1, blk2->bp, &ichdr2)) { in xfs_attr3_leaf_rebalance()
1752 swap(blk1, blk2); in xfs_attr3_leaf_rebalance()
1758 leaf2 = blk2->bp->b_addr; in xfs_attr3_leaf_rebalance()
1771 blk2, &ichdr2, in xfs_attr3_leaf_rebalance()
1794 xfs_attr3_leaf_compact(args, &ichdr2, blk2->bp); in xfs_attr3_leaf_rebalance()
1835 xfs_trans_log_buf(args->trans, blk2->bp, 0, args->geo->blksize - 1); in xfs_attr3_leaf_rebalance()
[all …]
Dxfs_dir2_node.c31 xfs_da_state_blk_t *blk2);
1064 xfs_da_state_blk_t *blk2) /* second btree block */ in xfs_dir2_leafn_rebalance() argument
1087 swap_blocks = xfs_dir2_leafn_order(dp, blk1->bp, blk2->bp); in xfs_dir2_leafn_rebalance()
1089 swap(blk1, blk2); in xfs_dir2_leafn_rebalance()
1092 leaf2 = blk2->bp->b_addr; in xfs_dir2_leafn_rebalance()
1131 hdr1.count - count, blk2->bp, in xfs_dir2_leafn_rebalance()
1134 xfs_dir3_leafn_moveents(args, blk2->bp, &hdr2, ents2, 0, in xfs_dir2_leafn_rebalance()
1145 xfs_dir3_leaf_log_header(args, blk2->bp); in xfs_dir2_leafn_rebalance()
1148 xfs_dir3_leaf_check(dp, blk2->bp); in xfs_dir2_leafn_rebalance()
1163 blk2->index = blk1->index - hdr1.count; in xfs_dir2_leafn_rebalance()
[all …]
Dxfs_da_btree.c651 struct xfs_da_state_blk *blk2) in xfs_da3_root_split() argument
752 btree[1].hashval = cpu_to_be32(blk2->hashval); in xfs_da3_root_split()
753 btree[1].before = cpu_to_be32(blk2->blkno); in xfs_da3_root_split()
762 ASSERT(blk2->blkno >= args->geo->leafblk && in xfs_da3_root_split()
763 blk2->blkno < args->geo->freeblk); in xfs_da3_root_split()
878 struct xfs_da_state_blk *blk2) in xfs_da3_node_rebalance() argument
897 node2 = blk2->bp->b_addr; in xfs_da3_node_rebalance()
983 xfs_trans_log_buf(tp, blk2->bp, in xfs_da3_node_rebalance()
994 node2 = blk2->bp->b_addr; in xfs_da3_node_rebalance()
1001 blk2->hashval = be32_to_cpu(btree2[nodehdr2.count - 1].hashval); in xfs_da3_node_rebalance()
[all …]
/Linux-v6.1/fs/xfs/
Dxfs_log_recover.c32 #define BLK_AVG(blk1, blk2) ((blk1+blk2) >> 1) argument