Lines Matching refs:bp2
965 struct xfs_buf *bp2 = NULL; in xfs_attr3_leaf_to_node() local
978 error = xfs_da_get_buf(args->trans, dp, blkno, -1, &bp2, XFS_ATTR_FORK); in xfs_attr3_leaf_to_node()
983 xfs_trans_buf_set_type(args->trans, bp2, XFS_BLFT_ATTR_LEAF_BUF); in xfs_attr3_leaf_to_node()
984 bp2->b_ops = bp1->b_ops; in xfs_attr3_leaf_to_node()
985 memcpy(bp2->b_addr, bp1->b_addr, args->geo->blksize); in xfs_attr3_leaf_to_node()
987 struct xfs_da3_blkinfo *hdr3 = bp2->b_addr; in xfs_attr3_leaf_to_node()
988 hdr3->blkno = cpu_to_be64(bp2->b_bn); in xfs_attr3_leaf_to_node()
990 xfs_trans_log_buf(args->trans, bp2, 0, args->geo->blksize - 1); in xfs_attr3_leaf_to_node()
1002 leaf = bp2->b_addr; in xfs_attr3_leaf_to_node()
2672 struct xfs_buf *bp2; in xfs_attr3_leaf_flipflags() local
2696 -1, &bp2); in xfs_attr3_leaf_flipflags()
2700 bp2 = bp1; in xfs_attr3_leaf_flipflags()
2706 leaf2 = bp2->b_addr; in xfs_attr3_leaf_flipflags()
2757 xfs_trans_log_buf(args->trans, bp2, in xfs_attr3_leaf_flipflags()
2763 xfs_trans_log_buf(args->trans, bp2, in xfs_attr3_leaf_flipflags()