Searched refs:sgop (Results 1 – 1 of 1) sorted by relevance
235 struct crypt_sgop *sgop; in cryptof_ioctl() local282 sgop = (struct crypt_sgop *)data; in cryptof_ioctl()283 if (sgop->count <= 0 in cryptof_ioctl()284 || SIZE_MAX / sizeof(struct session_n_op) <= sgop->count) { in cryptof_ioctl()288 snop = kmem_alloc((sgop->count * in cryptof_ioctl()290 error = copyin(sgop->sessions, snop, sgop->count * in cryptof_ioctl()299 error = cryptodev_msession(fcr, snop, sgop->count); in cryptof_ioctl()304 error = copyout(snop, sgop->sessions, sgop->count * in cryptof_ioctl()307 kmem_free(snop, sgop->count * sizeof(struct session_n_op)); in cryptof_ioctl()