Lines Matching refs:bp2
969 struct xfs_buf *bp2 = NULL; in xfs_attr3_leaf_to_node() local
982 error = xfs_da_get_buf(args->trans, dp, blkno, -1, &bp2, XFS_ATTR_FORK); in xfs_attr3_leaf_to_node()
987 xfs_trans_buf_set_type(args->trans, bp2, XFS_BLFT_ATTR_LEAF_BUF); in xfs_attr3_leaf_to_node()
988 bp2->b_ops = bp1->b_ops; in xfs_attr3_leaf_to_node()
989 memcpy(bp2->b_addr, bp1->b_addr, args->geo->blksize); in xfs_attr3_leaf_to_node()
991 struct xfs_da3_blkinfo *hdr3 = bp2->b_addr; in xfs_attr3_leaf_to_node()
992 hdr3->blkno = cpu_to_be64(bp2->b_bn); in xfs_attr3_leaf_to_node()
994 xfs_trans_log_buf(args->trans, bp2, 0, args->geo->blksize - 1); in xfs_attr3_leaf_to_node()
1006 leaf = bp2->b_addr; in xfs_attr3_leaf_to_node()
2676 struct xfs_buf *bp2; in xfs_attr3_leaf_flipflags() local
2700 -1, &bp2); in xfs_attr3_leaf_flipflags()
2704 bp2 = bp1; in xfs_attr3_leaf_flipflags()
2710 leaf2 = bp2->b_addr; in xfs_attr3_leaf_flipflags()
2761 xfs_trans_log_buf(args->trans, bp2, in xfs_attr3_leaf_flipflags()
2767 xfs_trans_log_buf(args->trans, bp2, in xfs_attr3_leaf_flipflags()