/src/sys/arch/hp300/stand/common/ |
rominfo.h | 58 char ndrives; /* number of drives (FFFFFED8) */ member in struct:rominfo
|
autoconf.c | 83 printf("rambase %x, ndrives %x, sysflag2 %x, msus %x\n", 84 rp->rambase, rp->ndrives, rp->sysflag2&0xff, rp->msus);
|
/src/usr.sbin/iostat/ |
iostat.c | 207 int ch, hdrcnt, hdroffset, ndrives, lines; local in function:main 345 ndrives = selectdrives(argc, argv, 1); 346 if (ndrives == 0) { 361 lines = ndrives; 373 header(ndrives); 384 display(ndrives); 392 ndrives = selectdrives(argc, argv, 0); 404 header(int ndrives) 433 for (i = 0; i < ndrives; i++) { 456 for (i = 0; i < ndrives; i++) 939 int i, maxdrives, ndrives, tried; local in function:selectdrives [all...] |
/src/sys/dev/ic/ |
cissvar.h | 32 int ndrives; member in struct:ciss_ld 54 int ccblen, maxcmd, maxsg, nbus, ndrives, maxunits; member in struct:ciss_softc
|
ciss.c | 414 sc->ndrives = inq->buswidth ? inq->buswidth : 256; 489 sc->sc_link_raw.adapter_target = sc->ndrives; 490 sc->sc_link_raw.adapter_buswidth = sc->ndrives; 1147 if (sc->ndrives == 256) { 1155 for (j = 0; j < sc->ndrives; j++) { 1156 drv = CISS_BIGBIT + i * sc->ndrives + j; 1168 ldp->ndrives = k; 1404 bi->bi_nodisk = sc->sc_lds[0]->ndrives; 1431 if (!ldp || (pd = bd->bd_diskid) < 0 || pd > ldp->ndrives) { 1448 sc->ndrives; [all...] |
/src/usr.bin/systat/ |
iostat.c | 128 size_t i, ndrives; local in function:numlabels 132 for (ndrives = 0, i = 0; i < ndrive; i++) 134 ndrives++; 136 regions = howmany(ndrives, DRIVESPERLINE);
|
/src/usr.bin/vmstat/ |
vmstat.c | 255 int ndrives; variable in typeref:typename:int 589 for (ndrives = 0; *argv; ++argv) { 598 ++ndrives; 609 for (i = 0; i < ndrive && ndrives < numdisks; i++) { 624 ++ndrives; 842 if (ndrives > 0) 844 ((ndrives > 1) ? "disks" : "disk"), 845 ((ndrives > 1) ? ndrives * 3 - 4 : 0), ""); 848 ndrives * 3, "") [all...] |
/src/sys/dev/ata/ |
ata.c | 752 atabus_alloc_drives(struct ata_channel *chp, int ndrives) 755 if (chp->ch_ndrives != ndrives) 761 drv = kmem_zalloc(sizeof(*chp->ch_drive) * ndrives, KM_SLEEP); 766 kmem_free(drv, sizeof(*chp->ch_drive) * ndrives); 771 for (i = 0; i < ndrives; i++) { 775 chp->ch_ndrives = ndrives;
|