Lines Matching refs:nelem
97 int nelem; in _aio_worker_alloc() local
110 nelem = (chunksize - sizeof (chunk_t)) / sizeof (aio_worker_t); in _aio_worker_alloc()
111 for (i = 0, aiowp = worker_freelist; i < nelem; i++, aiowp++) in _aio_worker_alloc()
167 int nelem; in _aio_req_alloc() local
180 nelem = (chunksize - sizeof (chunk_t)) / sizeof (aio_req_t); in _aio_req_alloc()
181 for (i = 0, reqp = _aio_freelist; i < nelem; i++, reqp++) { in _aio_req_alloc()
187 _aio_freelist_cnt = nelem; in _aio_req_alloc()
243 int nelem; in _aio_lio_alloc() local
256 nelem = (chunksize - sizeof (chunk_t)) / sizeof (aio_lio_t); in _aio_lio_alloc()
257 for (i = 0, head = _lio_head_freelist; i < nelem; i++, head++) in _aio_lio_alloc()
261 _lio_alloc += nelem; in _aio_lio_alloc()
262 _lio_free = nelem; in _aio_lio_alloc()