Lines Matching defs:nmax
1166 uint_t nmax;
1365 nmax = max < portq->portq_nent ? max : portq->portq_nent;
1384 kevp = kmem_alloc(eventsz * nmax, KM_NOSLEEP);
1386 if (nmax > pp->port_max_list)
1387 nmax = pp->port_max_list;
1388 kevp = kmem_alloc(eventsz * nmax, KM_SLEEP);
1392 for (nevents = 0; nevents < nmax; ) {
1426 kevp32 = kmem_alloc(eventsz * nmax, KM_NOSLEEP);
1428 if (nmax > pp->port_max_list)
1429 nmax = pp->port_max_list;
1430 kevp32 = kmem_alloc(eventsz * nmax, KM_SLEEP);
1434 for (nevents = 0; nevents < nmax; ) {
1496 kmem_free(results, eventsz * nmax);
1528 kmem_free(results, eventsz * nmax);