Lines Matching refs:nent

1936 	if (uap->nent < 0 || uap->nent > max_aio_queue_per_proc)
1947 ujoblist = malloc(uap->nent * sizeof(ujoblist[0]), M_AIOS, M_WAITOK);
1948 error = copyin(uap->aiocbp, ujoblist, uap->nent * sizeof(ujoblist[0]));
1950 error = kern_aio_suspend(td, uap->nent, ujoblist, tsp);
2128 struct aiocb **acb_list, int nent, struct sigevent *sig,
2143 if (nent < 0 || nent > max_aio_queue_per_proc)
2209 for (i = 0; i < nent; i++) {
2276 int error, nent;
2281 nent = uap->nent;
2282 if (nent < 0 || nent > max_aio_queue_per_proc)
2296 acb_list = malloc(sizeof(struct aiocb *) * nent, M_LIO, M_WAITOK);
2297 error = copyin(uap->acb_list, acb_list, nent * sizeof(acb_list[0]));
2300 (struct aiocb * const *)uap->acb_list, acb_list, nent, sigp,
2313 int error, nent;
2318 nent = uap->nent;
2319 if (nent < 0 || nent > max_aio_queue_per_proc)
2330 acb_list = malloc(sizeof(struct aiocb *) * nent, M_LIO, M_WAITOK);
2331 error = copyin(uap->acb_list, acb_list, nent * sizeof(acb_list[0]));
2334 nent, sigp, &aiocb_ops);
2785 if (uap->nent < 0 || uap->nent > max_aio_queue_per_proc)
2798 ujoblist = malloc(uap->nent * sizeof(ujoblist[0]), M_AIOS, M_WAITOK);
2800 error = copyin(uap->aiocbp, ujoblist32, uap->nent *
2803 for (i = uap->nent - 1; i >= 0; i--)
2806 error = kern_aio_suspend(td, uap->nent, ujoblist, tsp);
2905 int error, i, nent;
2910 nent = uap->nent;
2911 if (nent < 0 || nent > max_aio_queue_per_proc)
2925 acb_list32 = malloc(sizeof(uint32_t) * nent, M_LIO, M_WAITOK);
2926 error = copyin(uap->acb_list, acb_list32, nent * sizeof(uint32_t));
2931 acb_list = malloc(sizeof(struct aiocb *) * nent, M_LIO, M_WAITOK);
2932 for (i = 0; i < nent; i++)
2937 (struct aiocb * const *)uap->acb_list, acb_list, nent, sigp,
2951 int error, i, nent;
2956 nent = uap->nent;
2957 if (nent < 0 || nent > max_aio_queue_per_proc)
2971 acb_list32 = malloc(sizeof(uint32_t) * nent, M_LIO, M_WAITOK);
2972 error = copyin(uap->acb_list, acb_list32, nent * sizeof(uint32_t));
2977 acb_list = malloc(sizeof(struct aiocb *) * nent, M_LIO, M_WAITOK);
2978 for (i = 0; i < nent; i++)
2983 (struct aiocb * const *)uap->acb_list, acb_list, nent, sigp,