Lines Matching defs:qlen
162 * errorq_t *errorq_create(name, func, private, qlen, eltsize, ipl, flags);
163 * errorq_t *errorq_nvcreate(name, func, private, qlen, eltsize, ipl, flags);
177 * callbacks described above. The queue will have maximum length 'qlen'
295 ulong_t qlen, size_t size, uint_t ipl, uint_t flags)
305 ASSERT(qlen != 0 && size != 0);
343 eqp->eq_data = kmem_alloc(qlen * size, KM_SLEEP);
344 eqp->eq_qlen = qlen;
350 eqp->eq_elems = kmem_alloc(qlen * sizeof (errorq_elem_t), KM_SLEEP);
355 eqp->eq_bitmap = kmem_zalloc(BT_SIZEOFMAP(qlen), KM_SLEEP);
362 for (eep = eqp->eq_elems, data = eqp->eq_data; qlen > 1; qlen--) {
394 ulong_t qlen, size_t size, uint_t ipl, uint_t flags)
399 eqp = errorq_create(name, func, private, qlen,
407 for (eep = eqp->eq_elems; qlen != 0; eep++, qlen--) {