/illumos-gate/usr/src/uts/common/inet/ |
H A D | inetddi.c | 130 int i, ndevs; local 137 ndevs = sizeof (netdev_privs) / sizeof (struct dev_priv); 138 for (i = 0; i < ndevs; i++) {
|
/illumos-gate/usr/src/uts/sun4u/sys/ |
H A D | mc.h | 88 int ndevs; /* The max. number of devices per device group */ member in struct:mc_memconf
|
/illumos-gate/usr/src/boot/sys/boot/common/ |
H A D | isapnp.c | 233 int ndevs; local 236 ndevs = 0; 250 ndevs++; 270 return(ndevs);
|
/illumos-gate/usr/src/cmd/cdrw/ |
H A D | device.c | 314 int ndevs = 0, i; local 326 HAL_RDSK_PROP, path, &ndevs, &error)) == NULL) 330 for (i = 0; i < ndevs; i++) { 359 int ndevs = 0, i; local 379 HAL_SYMDEV_PROP, symname, &ndevs, 387 for (i = 0; i < ndevs; i++) {
|
/illumos-gate/usr/src/cmd/lastcomm/ |
H A D | lc_utils.c | 49 static int ndevs = NDEVS; variable 176 if (--ndevs < 0)
|
/illumos-gate/usr/src/lib/storage/libg_fc/common/ |
H A D | hot.c | 443 int len, ndevs = 0, err = 0; local 507 ndevs++; 530 (void) sleep(ndevs*10);
|
H A D | map.c | 1118 * ndevs: 1127 g_get_dev_list(char *path, fc_port_dev_t **dev_list, int *ndevs) argument 1191 *ndevs = 0; 1267 *ndevs = 0; 1283 *ndevs = num_devices;
|
/illumos-gate/usr/src/lib/libadm/common/ |
H A D | devreserv.c | 916 int ndevs; /* # of devs to reserve */ local 921 for (ndevs = 0; *ppp++; ndevs++) 923 if (rtnlist = malloc((ndevs+1)*sizeof (char **))) { 924 if (aliases = malloc((ndevs+1)*sizeof (char **))) {
|
/illumos-gate/usr/src/cmd/lvm/md_monitord/ |
H A D | probedev.c | 104 md_probe_ioctl(mdnamelist_t *nlp, int ndevs, char *drvname, boolean_e verbose) argument 118 if ((iocp->mnum_list = (uintptr_t)calloc(ndevs, sizeof (minor_t))) 134 iocp->nmdevs = ndevs; 136 monitord_print(6, "...ndevs 0x%x\n", ndevs);
|
/illumos-gate/usr/src/cmd/picl/plugins/common/memcfg/ |
H A D | piclmemcfg_comm.c | 112 static int ndevs; /* The max. number of devices per dev group */ variable 331 (void) strlcpy(propname, (ndevs > 1 ? 757 ndevs = mcmemconf.ndevs;
|
/illumos-gate/usr/src/uts/i86pc/io/acpi/drmach_acpi/ |
H A D | drmach_acpi.h | 178 int ndevs; member in struct:__anon9360
|
/illumos-gate/usr/src/uts/common/io/hxge/ |
H A D | hxge_common.h | 159 uint32_t ndevs; member in struct:hxge_hw_list
|
/illumos-gate/usr/src/cmd/zoneadmd/ |
H A D | zcons.c | 338 int ndevs; local 347 ndevs = count_console_devs(zlogp); 348 if (ndevs == 1) { 350 } else if (ndevs > 1 || ndevs == -1) {
|
/illumos-gate/usr/src/cmd/fs.d/ |
H A D | fsck.c | 108 static void fsck_dopreen(struct devlist **devp, int ndevs); 580 fsck_dopreen(struct devlist **devp, int ndevs) argument 589 while (ndevs > 0) { 607 ndevs--;
|
/illumos-gate/usr/src/uts/i86pc/io/dr/ |
H A D | dr_quiesce.c | 204 int i, ndevs; local 211 ndevs = dr_unsafe_devs.ndevs; 212 for (i = 0, cpp = dr_unsafe_devs.devnames; i < ndevs; i++) {
|
/illumos-gate/usr/src/uts/sun4u/ngdr/io/ |
H A D | dr_quiesce.c | 205 int i, ndevs; local 212 ndevs = dr_unsafe_devs.ndevs; 213 for (i = 0, cpp = dr_unsafe_devs.devnames; i < ndevs; i++) {
|
/illumos-gate/usr/src/lib/cfgadm_plugins/scsi/common/ |
H A D | cfga_ctl.c | 30 int ndevs; member in struct:larg 1449 int ndevs, len; local 1459 largp->ndevs = -1; 1467 largp->ndevs = -1; 1484 ndevs = largp->ndevs; 1485 largp->ndevs++; 1486 largp->dev_list[ndevs] = p; 1487 largp->dev_list[ndevs + 1] = NULL; 1506 larg.ndevs [all...] |
/illumos-gate/usr/src/cmd/whodo/ |
H A D | whodo.c | 98 static int ndevs; /* number of configured devices */ variable 618 if (ndevs == maxdev) { 629 dp = &devl[ndevs++]; 661 for (dp = devl, i = 0; i < ndevs; dp++, i++) {
|
/illumos-gate/usr/src/cmd/lvm/util/ |
H A D | metastat.c | 780 md_probe_ioctl(mdsetname_t *sp, mdnamelist_t *nlp, int ndevs, char *drvname) argument 794 if ((iocp->mnum_list = (uintptr_t)calloc(ndevs, sizeof (minor_t))) 803 iocp->nmdevs = ndevs;
|
/illumos-gate/usr/src/uts/sun4u/ngdr/sys/ |
H A D | dr.h | 243 uint_t ndevs; member in struct:__anon9878
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | driver_lyr.c | 687 int ret, i, ndevs, styp; local 694 ret = ddi_lyr_devid_to_devlist(devid, minor_name, &ndevs, &devs); 695 if ((ret != DDI_SUCCESS) || (ndevs <= 0)) 698 for (i = 0; i < ndevs; i++) { 724 ddi_lyr_free_devlist(devs, ndevs); 726 if (i == ndevs)
|
/illumos-gate/usr/src/uts/common/io/lvm/md/ |
H A D | md_names.c | 2828 int ndevs; local 2932 if (ddi_lyr_devid_to_devlist(devid, did_n->min_name, &ndevs, 2953 if (ndevs > 1) { 2957 for (cnt = 0; cnt < ndevs; cnt++) { 2984 (void) ddi_lyr_free_devlist(devs, ndevs); 4277 int ndevs, local 4313 &ndevs, &devs) == DDI_SUCCESS)) { 4322 for (cnt = 0; cnt < ndevs; cnt++) { 4326 if (cnt == ndevs) { 4361 (void) ddi_lyr_free_devlist(devs, ndevs); [all...] |
/illumos-gate/usr/src/uts/i86pc/sys/ |
H A D | dr.h | 273 uint_t ndevs; member in struct:__anon9417
|
/illumos-gate/usr/src/cmd/dcs/sparc/sun4u/ |
H A D | ri_init.c | 102 int ndevs; member in struct:__anon14 595 rcm->ndevs = 0; 602 rcm->ndevs += SBD_MAX_CORES_PER_CMP; 607 if (rcm->ndevs > 0 && 608 ((rcm->cpus = calloc(rcm->ndevs, sizeof (cpuid_t))) == NULL || 609 (rcm->rlist = calloc(rcm->ndevs + 1, sizeof (char *))) == NULL)) { 857 assert(rcm->nrlist < rcm->ndevs && rcm->ncpus < rcm->ndevs); 916 assert(rcm->nrlist < rcm->ndevs);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/pppoe/ |
H A D | options.c | 1221 int ndevs; local 1223 ndevs = 0; 1225 ndevs++; 1226 return (ndevs); 1234 int ndevs = 0; local 1237 ndevs += count_devs(pfp->pf_global.sl_dev); 1240 ndevs += count_devs(slp->sl_dev); 1242 return (ndevs); 1283 int ndevs; local 1292 ndevs 1329 int ndevs; local [all...] |