Lines Matching refs:bp1
718 xfs_dabuf_t *bp1, *bp2; in xfs_attr_leaf_to_node() local
723 bp1 = bp2 = NULL; in xfs_attr_leaf_to_node()
727 error = xfs_da_read_buf(args->trans, args->dp, 0, -1, &bp1, in xfs_attr_leaf_to_node()
731 ASSERT(bp1 != NULL); in xfs_attr_leaf_to_node()
738 memcpy(bp2->data, bp1->data, XFS_LBSIZE(dp->i_mount)); in xfs_attr_leaf_to_node()
739 xfs_da_buf_done(bp1); in xfs_attr_leaf_to_node()
740 bp1 = NULL; in xfs_attr_leaf_to_node()
746 error = xfs_da_node_create(args, 0, 1, &bp1, XFS_ATTR_FORK); in xfs_attr_leaf_to_node()
749 node = bp1->data; in xfs_attr_leaf_to_node()
758 xfs_da_log_buf(args->trans, bp1, 0, XFS_LBSIZE(dp->i_mount) - 1); in xfs_attr_leaf_to_node()
761 if (bp1) in xfs_attr_leaf_to_node()
762 xfs_da_buf_done(bp1); in xfs_attr_leaf_to_node()
2574 xfs_dabuf_t *bp1, *bp2; in xfs_attr_leaf_flipflags() local
2585 error = xfs_da_read_buf(args->trans, args->dp, args->blkno, -1, &bp1, in xfs_attr_leaf_flipflags()
2590 ASSERT(bp1 != NULL); in xfs_attr_leaf_flipflags()
2603 bp2 = bp1; in xfs_attr_leaf_flipflags()
2606 leaf1 = bp1->data; in xfs_attr_leaf_flipflags()
2648 xfs_da_log_buf(args->trans, bp1, in xfs_attr_leaf_flipflags()
2655 xfs_da_log_buf(args->trans, bp1, in xfs_attr_leaf_flipflags()
2669 xfs_da_buf_done(bp1); in xfs_attr_leaf_flipflags()
2670 if (bp1 != bp2) in xfs_attr_leaf_flipflags()