Lines Matching refs:bp2
1186 struct xfs_buf *bp2 = NULL; in xfs_attr3_leaf_to_node() local
1199 error = xfs_da_get_buf(args->trans, dp, blkno, &bp2, XFS_ATTR_FORK); in xfs_attr3_leaf_to_node()
1204 xfs_trans_buf_set_type(args->trans, bp2, XFS_BLFT_ATTR_LEAF_BUF); in xfs_attr3_leaf_to_node()
1205 bp2->b_ops = bp1->b_ops; in xfs_attr3_leaf_to_node()
1206 memcpy(bp2->b_addr, bp1->b_addr, args->geo->blksize); in xfs_attr3_leaf_to_node()
1208 struct xfs_da3_blkinfo *hdr3 = bp2->b_addr; in xfs_attr3_leaf_to_node()
1209 hdr3->blkno = cpu_to_be64(xfs_buf_daddr(bp2)); in xfs_attr3_leaf_to_node()
1211 xfs_trans_log_buf(args->trans, bp2, 0, args->geo->blksize - 1); in xfs_attr3_leaf_to_node()
1222 leaf = bp2->b_addr; in xfs_attr3_leaf_to_node()
2861 struct xfs_buf *bp2; in xfs_attr3_leaf_flipflags() local
2885 &bp2); in xfs_attr3_leaf_flipflags()
2889 bp2 = bp1; in xfs_attr3_leaf_flipflags()
2895 leaf2 = bp2->b_addr; in xfs_attr3_leaf_flipflags()
2946 xfs_trans_log_buf(args->trans, bp2, in xfs_attr3_leaf_flipflags()
2952 xfs_trans_log_buf(args->trans, bp2, in xfs_attr3_leaf_flipflags()