Lines Matching defs:copy
855 /* Making a copy of context to use it after io channel will be destroyed */
856 struct vbdev_ocf_qctx *copy = malloc(sizeof(*copy));
859 if (copy) {
860 ocf_queue_set_priv(qctx->queue, copy);
861 memcpy(copy, qctx, sizeof(*copy));
863 copy->poller = SPDK_POLLER_REGISTER(queue_poll, copy, 0);
864 copy->allocated = true;
1407 * we just copy its descriptor here */