Lines Matching refs:bp2
718 xfs_dabuf_t *bp1, *bp2; in xfs_attr_leaf_to_node() local
723 bp1 = bp2 = NULL; in xfs_attr_leaf_to_node()
732 bp2 = NULL; in xfs_attr_leaf_to_node()
733 error = xfs_da_get_buf(args->trans, args->dp, blkno, -1, &bp2, in xfs_attr_leaf_to_node()
737 ASSERT(bp2 != NULL); in xfs_attr_leaf_to_node()
738 memcpy(bp2->data, bp1->data, XFS_LBSIZE(dp->i_mount)); in xfs_attr_leaf_to_node()
741 xfs_da_log_buf(args->trans, bp2, 0, XFS_LBSIZE(dp->i_mount) - 1); in xfs_attr_leaf_to_node()
750 leaf = bp2->data; in xfs_attr_leaf_to_node()
763 if (bp2) in xfs_attr_leaf_to_node()
764 xfs_da_buf_done(bp2); in xfs_attr_leaf_to_node()
2574 xfs_dabuf_t *bp1, *bp2; in xfs_attr_leaf_flipflags() local
2597 -1, &bp2, XFS_ATTR_FORK); in xfs_attr_leaf_flipflags()
2601 ASSERT(bp2 != NULL); in xfs_attr_leaf_flipflags()
2603 bp2 = bp1; in xfs_attr_leaf_flipflags()
2613 leaf2 = bp2->data; in xfs_attr_leaf_flipflags()
2660 xfs_da_log_buf(args->trans, bp2, in xfs_attr_leaf_flipflags()
2666 xfs_da_log_buf(args->trans, bp2, in xfs_attr_leaf_flipflags()
2670 if (bp1 != bp2) in xfs_attr_leaf_flipflags()
2671 xfs_da_buf_done(bp2); in xfs_attr_leaf_flipflags()