Lines Matching defs:nent
975 port_sendn(int ports[], int errors[], uint_t nent, int events, void *user,
988 if (nent == 0 || nent > port_max_list)
991 plist = kmem_alloc(nent * sizeof (int), KM_SLEEP);
992 if (copyin((void *)ports, plist, nent * sizeof (int))) {
993 kmem_free(plist, nent * sizeof (int));
1006 for (count = 0; count < nent; count++) {
1009 elist = port_errorn(elist, nent, EBADF, count);
1017 elist = port_errorn(elist, nent, EBADFD, count);
1026 elist = port_errorn(elist, nent, error, count);
1043 if (copyout(elist, (void *)errors, nent * sizeof (int)))
1045 kmem_free(elist, nent * sizeof (int));
1047 *nget = nent - errorcnt;
1048 kmem_free(plist, nent * sizeof (int));
1053 port_errorn(int *elist, int nent, int error, int index)
1056 elist = kmem_zalloc(nent * sizeof (int), KM_SLEEP);