Lines Matching refs:bp2
1185 struct xfs_buf *bp2 = NULL; in xfs_attr3_leaf_to_node() local
1198 error = xfs_da_get_buf(args->trans, dp, blkno, &bp2, XFS_ATTR_FORK); in xfs_attr3_leaf_to_node()
1203 xfs_trans_buf_set_type(args->trans, bp2, XFS_BLFT_ATTR_LEAF_BUF); in xfs_attr3_leaf_to_node()
1204 bp2->b_ops = bp1->b_ops; in xfs_attr3_leaf_to_node()
1205 memcpy(bp2->b_addr, bp1->b_addr, args->geo->blksize); in xfs_attr3_leaf_to_node()
1207 struct xfs_da3_blkinfo *hdr3 = bp2->b_addr; in xfs_attr3_leaf_to_node()
1208 hdr3->blkno = cpu_to_be64(bp2->b_bn); in xfs_attr3_leaf_to_node()
1210 xfs_trans_log_buf(args->trans, bp2, 0, args->geo->blksize - 1); in xfs_attr3_leaf_to_node()
1221 leaf = bp2->b_addr; in xfs_attr3_leaf_to_node()
2860 struct xfs_buf *bp2; in xfs_attr3_leaf_flipflags() local
2884 &bp2); in xfs_attr3_leaf_flipflags()
2888 bp2 = bp1; in xfs_attr3_leaf_flipflags()
2894 leaf2 = bp2->b_addr; in xfs_attr3_leaf_flipflags()
2945 xfs_trans_log_buf(args->trans, bp2, in xfs_attr3_leaf_flipflags()
2951 xfs_trans_log_buf(args->trans, bp2, in xfs_attr3_leaf_flipflags()