Lines Matching refs:ndevts
736 int ndevts = *devtcntp;
763 if (ndevts < ndevts_alloced)
764 devtsp[ndevts] = dmdp->ddm_dev;
765 ndevts++;
769 *devtcntp = ndevts;
871 int ndevts, undevts, ndevts_alloced;
918 ndevts = 0;
924 ndevts_alloced, &ndevts, devts);
925 if (ndevts > ndevts_alloced) {
961 ndevts_alloced, &ndevts, devts);
963 if (ndevts > ndevts_alloced) {
981 if (ndevts == 0) {
993 for (i = 0; i < (ndevts - 1); i++) {
994 for (j = 0; j < ((ndevts - 1) - i); j++) {
1004 for (undevts = ndevts, i = 1; i < ndevts; i++) {
1014 for (i = 1, j = 1; i < ndevts; i++) {
1029 e_devid_cache_free_devt_list(int ndevts, dev_t *devt_list)
1031 kmem_free(devt_list, ndevts * sizeof (dev_t *));