Lines Matching defs:nent
1995 if (uap->nent < 0 || uap->nent > max_aio_queue_per_proc)
2006 ujoblist = malloc(uap->nent * sizeof(ujoblist[0]), M_AIO, M_WAITOK);
2007 error = copyin(uap->aiocbp, ujoblist, uap->nent * sizeof(ujoblist[0]));
2009 error = kern_aio_suspend(td, uap->nent, ujoblist, tsp);
2200 struct aiocb **acb_list, int nent, struct sigevent *sig,
2215 if (nent < 0 || nent > max_aio_queue_per_proc)
2283 for (i = 0; i < nent; i++) {
2350 int error, nent;
2355 nent = uap->nent;
2356 if (nent < 0 || nent > max_aio_queue_per_proc)
2370 acb_list = malloc(sizeof(struct aiocb *) * nent, M_LIO, M_WAITOK);
2371 error = copyin(uap->acb_list, acb_list, nent * sizeof(acb_list[0]));
2374 (struct aiocb * const *)uap->acb_list, acb_list, nent, sigp,
2387 int error, nent;
2392 nent = uap->nent;
2393 if (nent < 0 || nent > max_aio_queue_per_proc)
2404 acb_list = malloc(sizeof(struct aiocb *) * nent, M_LIO, M_WAITOK);
2405 error = copyin(uap->acb_list, acb_list, nent * sizeof(acb_list[0]));
2408 nent, sigp, &aiocb_ops);
2903 if (uap->nent < 0 || uap->nent > max_aio_queue_per_proc)
2916 ujoblist = malloc(uap->nent * sizeof(ujoblist[0]), M_AIO, M_WAITOK);
2918 error = copyin(uap->aiocbp, ujoblist32, uap->nent *
2921 for (i = uap->nent - 1; i >= 0; i--)
2924 error = kern_aio_suspend(td, uap->nent, ujoblist, tsp);
3039 int error, i, nent;
3044 nent = uap->nent;
3045 if (nent < 0 || nent > max_aio_queue_per_proc)
3059 acb_list32 = malloc(sizeof(uint32_t) * nent, M_LIO, M_WAITOK);
3060 error = copyin(uap->acb_list, acb_list32, nent * sizeof(uint32_t));
3065 acb_list = malloc(sizeof(struct aiocb *) * nent, M_LIO, M_WAITOK);
3066 for (i = 0; i < nent; i++)
3071 (struct aiocb * const *)uap->acb_list, acb_list, nent, sigp,
3085 int error, i, nent;
3090 nent = uap->nent;
3091 if (nent < 0 || nent > max_aio_queue_per_proc)
3105 acb_list32 = malloc(sizeof(uint32_t) * nent, M_LIO, M_WAITOK);
3106 error = copyin(uap->acb_list, acb_list32, nent * sizeof(uint32_t));
3111 acb_list = malloc(sizeof(struct aiocb *) * nent, M_LIO, M_WAITOK);
3112 for (i = 0; i < nent; i++)
3117 (struct aiocb * const *)uap->acb_list, acb_list, nent, sigp,