Lines Matching defs:copy
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
920 * copy orig aio to copy, including the nsc_buf_t
923 rdc_dup_aio(rdc_aio_t *orig, rdc_aio_t *copy)
926 bcopy(orig, copy, sizeof (*orig));
927 copy->handle = NULL;
929 if (orig->handle == NULL) /* no buf to alloc/copy */
932 rc = nsc_alloc_abuf(orig->pos, orig->len, 0, ©->handle);
939 rc = nsc_copy(orig->handle, copy->handle, orig->pos,
942 (void) nsc_free_buf(copy->handle);
944 cmn_err(CE_WARN, "!rdc_dup_aio: copy buf failed (%d)", rc);