HomeSort by: relevance | last modified time | path
    Searched defs:drives (Results 1 - 7 of 7) sorted by relevancy

  /src/lib/libutil/
getfsspecname.c 56 char *drives, *dk, *p; local in function:getfsspecname
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);
  /src/sys/dev/acpi/
fdc_acpi.c 189 /* Setup direct configuration of floppy drives */
217 int i, drives = -1; local in function:fdc_acpi_enumerate
224 return drives;
245 drives = 0;
247 if (p[i]) drives |= (1 << i);
264 return drives;
  /src/sys/arch/bebox/stand/boot/
wdc.c 151 uint8_t drives = 0x03; local in function:wdcprobe
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 == 0
    [all...]
  /src/usr.bin/vmstat/
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, &size, NULL, 0) == -1
    [all...]
  /src/tests/lib/libc/sys/
t_mmap.c 171 char *map, *dk, *drives, dev[PATH_MAX]; local in function:ATF_TC_BODY
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);
  /src/sys/arch/mac68k/obio/
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
  /src/sys/dev/i2o/
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 */
406 #define DEV_OPTICAL 0x0080 /* Optical Drives */

Completed in 15 milliseconds