Home
last modified time | relevance | path

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

/linux-4.1.27/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-4.1.27/fs/xfs/libxfs/
Dxfs_attr_leaf.c69 xfs_da_state_blk_t *blk2);
1447 struct xfs_da_state_blk *blk2) in xfs_attr3_leaf_rebalance() argument
1466 ASSERT(blk2->magic == XFS_ATTR_LEAF_MAGIC); in xfs_attr3_leaf_rebalance()
1468 leaf2 = blk2->bp->b_addr; in xfs_attr3_leaf_rebalance()
1483 if (xfs_attr3_leaf_order(blk1->bp, &ichdr1, blk2->bp, &ichdr2)) { in xfs_attr3_leaf_rebalance()
1488 blk1 = blk2; in xfs_attr3_leaf_rebalance()
1489 blk2 = tmp_blk; in xfs_attr3_leaf_rebalance()
1497 leaf2 = blk2->bp->b_addr; in xfs_attr3_leaf_rebalance()
1510 blk2, &ichdr2, in xfs_attr3_leaf_rebalance()
1533 xfs_attr3_leaf_compact(args, &ichdr2, blk2->bp); in xfs_attr3_leaf_rebalance()
[all …]
Dxfs_dir2_node.c44 xfs_da_state_blk_t *blk2);
947 xfs_da_state_blk_t *blk2) /* second btree block */ in xfs_dir2_leafn_rebalance() argument
970 if ((swap = xfs_dir2_leafn_order(dp, blk1->bp, blk2->bp))) { in xfs_dir2_leafn_rebalance()
974 blk1 = blk2; in xfs_dir2_leafn_rebalance()
975 blk2 = tmp; in xfs_dir2_leafn_rebalance()
978 leaf2 = blk2->bp->b_addr; in xfs_dir2_leafn_rebalance()
1017 hdr1.count - count, blk2->bp, in xfs_dir2_leafn_rebalance()
1020 xfs_dir3_leafn_moveents(args, blk2->bp, &hdr2, ents2, 0, in xfs_dir2_leafn_rebalance()
1031 xfs_dir3_leaf_log_header(args, blk2->bp); in xfs_dir2_leafn_rebalance()
1034 xfs_dir3_leaf_check(dp, blk2->bp); in xfs_dir2_leafn_rebalance()
[all …]
Dxfs_da_btree.c505 struct xfs_da_state_blk *blk2) in xfs_da3_root_split() argument
607 btree[1].hashval = cpu_to_be32(blk2->hashval); in xfs_da3_root_split()
608 btree[1].before = cpu_to_be32(blk2->blkno); in xfs_da3_root_split()
617 ASSERT(blk2->blkno >= args->geo->leafblk && in xfs_da3_root_split()
618 blk2->blkno < args->geo->freeblk); in xfs_da3_root_split()
733 struct xfs_da_state_blk *blk2) in xfs_da3_node_rebalance() argument
753 node2 = blk2->bp->b_addr; in xfs_da3_node_rebalance()
840 xfs_trans_log_buf(tp, blk2->bp, in xfs_da3_node_rebalance()
851 node2 = blk2->bp->b_addr; in xfs_da3_node_rebalance()
858 blk2->hashval = be32_to_cpu(btree2[nodehdr2.count - 1].hashval); in xfs_da3_node_rebalance()
[all …]
/linux-4.1.27/fs/xfs/
Dxfs_log_recover.c47 #define BLK_AVG(blk1, blk2) ((blk1+blk2) >> 1) argument