/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/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/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/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
|
iwm_fd.c | 223 /* Attached floppy disk drives */ 352 * The IWM is present, initialize it. Then look up the connected drives 373 /* Look for attached drives */ 455 iwm->drives++; 546 err = (iwm->drives < fdUnit) ? ENXIO : 0; 717 if (fdUnit >= iwm->drives) { 720 fdUnit, iwm->drives); 880 if (fdUnit >= iwm->drives) {
|
/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/i386/stand/lib/ |
bios_disk.S | 177 # movb $1, %dl # # floppy drives installed
|
/src/sys/external/gpl2/dts/dist/arch/arm64/boot/dts/allwinner/ |
sun50i-a64-bananapi-m64.dts | 211 * This regulator also drives the PE pingroup GPIOs, 236 * This regulator also indirectly drives the PD pingroup GPIOs,
|
/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 */
|
/src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/ |
ste-ux500-samsung-codina.dts | 143 * This regulator is a GPIO line that drives the Broadcom WLAN 371 * GPIO-controlled voltage enablement: this drives
|
ste-ux500-samsung-gavini.dts | 120 * This regulator is a GPIO line that drives the Broadcom WLAN 351 * GPIO-controlled voltage enablement: this drives
|
ste-ux500-samsung-janice.dts | 137 * This regulator is a GPIO line that drives the Broadcom WLAN 393 * GPIO-controlled voltage enablement: this drives
|
/src/sys/external/gpl2/dts/dist/arch/arm64/boot/dts/rockchip/ |
rk3399-nanopi4.dtsi | 82 * drives the enable pin, but we can't quite model that.
|