Lines Matching defs:niodevs
91 static int niodevs;
382 niodevs = nx.niodevs;
384 * niodevs has the value of current number of devices
390 * niodevs details in memory.
394 * from nx.niodevs if it is different from previously read
395 * niodevs.
397 * if the current niodevs has the same value of previously
400 * current devises (niodevs) and stores that value in
404 if (niodevs != prev_niodevs) {
409 if (SIZE_MAX / sizeof (iodevinfo_t) < niodevs)
411 "%lu device records", niodevs);
412 size = niodevs * sizeof (iodevinfo_t);
413 prev_niodevs = niodevs;
429 if (niodevs != old_niodevs)
431 for (i = 0; i < niodevs; i++) {
465 for (i = 0; i < niodevs; i++)
503 size = niodevs * sizeof (iodevinfo_t);
514 for (i = 0; i < niodevs; i++) {
533 old_niodevs = niodevs;
564 (void) memcpy(oxio, nxio, niodevs * sizeof (iodevinfo_t));
570 * After this place, all functions are using niodevs to access the
572 * of memory allocated for storing device information. Since niodevs
575 niodevs = old_niodevs;
586 (void) memset(axio, 0, niodevs * sizeof (iodevinfo_t));
787 for (i = 0; i < niodevs; i++) {
1043 for (ii = 0; ii < niodevs; ii++)
1129 for (ii = 0; ii < niodevs; ii++)