Lines Matching defs:ocnop
121 struct ocrypt_n_op *ocnop;
174 ocnop = kmem_alloc((omop->count * sizeof(struct ocrypt_n_op)),
176 error = copyin(omop->reqs, ocnop,
179 error = ocryptodev_mop(fcr, ocnop, omop->count,
182 error = copyout(ocnop, omop->reqs,
186 kmem_free(ocnop, (omop->count * sizeof(struct ocrypt_n_op)));
215 ocryptodev_mop(struct fcrypt *fcr, struct ocrypt_n_op *ocnop, int count,
222 cnop.ses = ocnop->ses;
223 cnop.op = ocnop->op;
224 cnop.flags = ocnop->flags;
225 cnop.len = ocnop->len;
226 cnop.reqid = ocnop->reqid;
227 cnop.status = ocnop->status;
228 cnop.opaque = ocnop->opaque;
229 cnop.keylen = ocnop->keylen;
230 cnop.key = ocnop->key;
231 cnop.mackeylen = ocnop->mackeylen;
232 cnop.mackey = ocnop->mackey;
233 cnop.src = ocnop->src;
234 cnop.dst = ocnop->dst;
235 cnop.mac = ocnop->mac;
236 cnop.iv = ocnop->iv;
239 ocnop->reqid = cnop.reqid;
240 ocnop->status = cnop.status;