Searched refs:drives (Results 1 - 9 of 9) sorted by relevance
/netbsd-current/lib/libutil/ |
H A D | getfsspecname.c | 56 char *drives, *dk, *p; local 61 p = drives = vname = NULL; 126 drives = malloc(len); 127 if (drives == NULL) { 132 if (sysctl(mib, miblen, drives, &len, NULL, 0) == -1) { 138 for (dk = strtok(drives, " "); dk != NULL; dk = strtok(NULL, " ")) { 173 free(drives);
|
/netbsd-current/sys/arch/bebox/stand/boot/ |
H A D | wdc.c | 151 uint8_t drives = 0x03; local 166 drives &= ~0x01; 168 drives &= ~0x02; 169 if (drives == 0) 173 drives &= ~0x01; 175 drives &= ~0x02; 176 if (drives == 0) 190 drives = __wdcwait_reset(chp, drives); 193 if (drives [all...] |
/netbsd-current/usr.bin/vmstat/ |
H A D | drvstats.c | 56 static struct io_sysctl *drives = NULL; variable in typeref:struct:io_sysctl 188 if (sysctl(mib, 3, drives, &size, NULL, 0) < 0) 193 #define COPYF(x,k,l) cur.x[k] = drives[l].x 195 cur.x[k].tv_sec = drives[l].x##_sec; \ 196 cur.x[k].tv_usec = drives[l].x##_usec; \ 207 if (strcmp(cur.name[i], drives[j].name)) { 331 warnx("No drives attached."); 333 drives = (struct io_sysctl *)malloc(size); 334 if (drives == NULL) 386 if (sysctl(mib, 3, drives, [all...] |
/netbsd-current/sys/dev/acpi/ |
H A D | fdc_acpi.c | 189 /* Setup direct configuration of floppy drives */ 217 int i, drives = -1; local 224 return drives; 245 drives = 0; 247 if (p[i]) drives |= (1 << i); 264 return drives;
|
/netbsd-current/sys/arch/mac68k/obio/ |
H A D | iwm_fdvar.h | 34 IWM_MAX_DRIVE = 2, /* Attachable drives */ 126 * Software state per disk: the IWM can have max. 2 drives. Newer 179 int drives; /* # of attached fd's */ member in struct:iwm_softc
|
H A D | iwm_fd.c | 223 /* Attached floppy disk drives */ 348 * The IWM is present, initialize it. Then look up the connected drives 369 /* Look for attached drives */ 451 iwm->drives++; 542 err = (iwm->drives < fdUnit) ? ENXIO : 0; 713 if (fdUnit >= iwm->drives) { 716 fdUnit, iwm->drives); 876 if (fdUnit >= iwm->drives) {
|
/netbsd-current/tests/lib/libc/sys/ |
H A D | t_mmap.c | 171 char *map, *dk, *drives, dev[PATH_MAX]; local 179 drives = malloc(len); 180 ATF_REQUIRE(drives != NULL); 181 ATF_REQUIRE(sysctl(mib, miblen, drives, &len, NULL, 0) == 0); 182 for (dk = strtok(drives, " "); dk != NULL; dk = strtok(NULL, " ")) { 196 free(drives);
|
/netbsd-current/sys/arch/i386/stand/lib/ |
H A D | bios_disk.S | 177 # movb $1, %dl # # floppy drives installed
|
/netbsd-current/sys/dev/i2o/ |
H A D | dptivar.h | 222 struct dpt_dparam drives[16]; /* SmartROM Logical Drives */ member in struct:dpt_sysinfo 399 #define DEV_DASD 0x0001 /* DASD (hard drives) */ 400 #define DEV_TAPE 0x0002 /* Tape drives */ 403 #define DEV_WORM 0x0010 /* WORM drives */ 404 #define DEV_CDROM 0x0020 /* CD-ROM drives */
|
Completed in 267 milliseconds