Home | History | Annotate | Download | only in opencrypto

Lines Matching defs:mop

231 	struct crypt_mop *mop;
358 mop = (struct crypt_mop *)data;
359 if (mop->count <= 0
360 || SIZE_MAX / sizeof(struct crypt_n_op) <= mop->count) {
364 cnop = kmem_alloc((mop->count * sizeof(struct crypt_n_op)),
366 error = copyin(mop->reqs, cnop,
367 (mop->count * sizeof(struct crypt_n_op)));
369 error = cryptodev_mop(fcr, cnop, mop->count, curlwp);
371 error = copyout(cnop, mop->reqs,
372 (mop->count * sizeof(struct crypt_n_op)));
375 kmem_free(cnop, (mop->count * sizeof(struct crypt_n_op)));