ocryptodev.c | 120 struct ocrypt_mop *omop; local in function:ocryptof_ioctl 169 omop = (struct ocrypt_mop *)data; 170 if (omop->count <= 0 || omop->count > 1) { 174 ocnop = kmem_alloc((omop->count * sizeof(struct ocrypt_n_op)), 176 error = copyin(omop->reqs, ocnop, 177 (omop->count * sizeof(struct ocrypt_n_op))); 179 error = ocryptodev_mop(fcr, ocnop, omop->count, 182 error = copyout(ocnop, omop->reqs, 183 (omop->count * sizeof(struct ocrypt_n_op))) [all...] |