Home
last modified time | relevance | path

Searched refs:drives (Results 1 – 25 of 183) sorted by relevance

12345678

/netbsd/src/sys/arch/bebox/stand/boot/
Dwdc.c151 uint8_t drives = 0x03; in wdcprobe() local
166 drives &= ~0x01; in wdcprobe()
168 drives &= ~0x02; in wdcprobe()
169 if (drives == 0) in wdcprobe()
173 drives &= ~0x01; in wdcprobe()
175 drives &= ~0x02; in wdcprobe()
176 if (drives == 0) in wdcprobe()
190 drives = __wdcwait_reset(chp, drives); in wdcprobe()
193 if (drives == 0) in wdcprobe()
203 if ((drives & (1 << drive)) == 0) in wdcprobe()
[all …]
/netbsd/src/lib/libutil/
Dgetfsspecname.c56 char *drives, *dk, *p; in getfsspecname() local
61 p = drives = vname = NULL; in getfsspecname()
126 drives = malloc(len); in getfsspecname()
127 if (drives == NULL) { in getfsspecname()
132 if (sysctl(mib, miblen, drives, &len, NULL, 0) == -1) { in getfsspecname()
138 for (dk = strtok(drives, " "); dk != NULL; dk = strtok(NULL, " ")) { in getfsspecname()
173 free(drives); in getfsspecname()
/netbsd/src/usr.bin/vmstat/
Ddrvstats.c56 static struct io_sysctl *drives = NULL; variable
188 if (sysctl(mib, 3, drives, &size, NULL, 0) < 0) in drvreadstats()
193 #define COPYF(x,k,l) cur.x[k] = drives[l].x in drvreadstats()
195 cur.x[k].tv_sec = drives[l].x##_sec; \ in drvreadstats()
196 cur.x[k].tv_usec = drives[l].x##_usec; \ in drvreadstats()
207 if (strcmp(cur.name[i], drives[j].name)) { in drvreadstats()
333 drives = (struct io_sysctl *)malloc(size); in drvinit()
334 if (drives == NULL) in drvinit()
386 if (sysctl(mib, 3, drives, &size, NULL, 0) == -1) in drvinit()
391 cur.name[i] = strndup(drives[i].name, sizeof(drives[i].name)); in drvinit()
/netbsd/src/sys/arch/bebox/conf/
DINSTALL130 sd* at scsibus? target ? lun ? # SCSI disk drives
131 #st* at scsibus? target ? lun ? # SCSI tape drives
132 cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
150 # flags have the same meaning as for IDE drives.
151 cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
152 #sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
153 #st* at atapibus? drive ? flags 0x0000 # ATAPI tape drives
DGENERIC203 sd* at scsibus? target ? lun ? # SCSI disk drives
204 #st* at scsibus? target ? lun ? # SCSI tape drives
205 cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
223 # flags have the same meaning as for IDE drives.
224 cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
225 #sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
226 #st* at atapibus? drive ? flags 0x0000 # ATAPI tape drives
/netbsd/src/sys/dev/acpi/
Dfdc_acpi.c217 int i, drives = -1; in fdc_acpi_enumerate() local
224 return drives; in fdc_acpi_enumerate()
245 drives = 0; in fdc_acpi_enumerate()
247 if (p[i]) drives |= (1 << i); in fdc_acpi_enumerate()
264 return drives; in fdc_acpi_enumerate()
/netbsd/src/sys/arch/atari/conf/
DHADES.in51 cd* at atapibus? drive ? # ATAPI CD-ROM drives
54 sd* at scsibus? target ? lun ? # SCSI disk drives
55 st* at scsibus? target ? lun ? # SCSI tape drives
56 cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
DSMALL03057 cd* at atapibus? drive ? # ATAPI CD-ROM drives
59 sd* at scsibus? target ? lun ? # SCSI disk drives
60 cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
DHADES110 cd* at atapibus? drive ? # ATAPI CD-ROM drives
111 sd* at scsibus? target ? lun ? # SCSI disk drives
112 st* at scsibus? target ? lun ? # SCSI tape drives
113 cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
/netbsd/src/sys/arch/sandpoint/stand/altboot/
Dversion14 1.9: Support PATA drive configuration option. Wait until drives are
15 ready after cold-start. Wake up drives from standby mode.
21 1.12: Some more Synology DS20x fixes, to make sure both drives have been
/netbsd/src/sys/arch/evbarm/conf/
DMV2120202 # IDE drives
211 # flags have the same meaning as for IDE drives.
212 cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
213 sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
214 st* at atapibus? drive ? flags 0x0000 # ATAPI tape drives
221 sd* at scsibus? target ? lun ? # SCSI disk drives
222 cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
223 st* at scsibus? target ? lun ? # SCSI tape drives
DSMDK2800163 # IDE drives
174 #wd* at atabus? drive ? flags 0x0000 # the drives themselves
182 #sd* at scsibus? target ? lun ? # SCSI disk drives
183 #st* at scsibus? target ? lun ? # SCSI tape drives
184 #cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
185 #ch* at scsibus? target ? lun ? # SCSI auto-changers drives
186 #uk* at scsibus? target ? lun ? # SCSI unknown drives
DINTEGRATOR167 # IDE drives
178 #wd* at atabus? drive ? flags 0x0000 # the drives themselves
186 sd* at scsibus? target ? lun ? # SCSI disk drives
187 st* at scsibus? target ? lun ? # SCSI tape drives
188 cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
189 #ch* at scsibus? target ? lun ? # SCSI auto-changers drives
190 #uk* at scsibus? target ? lun ? # SCSI unknown drives
DOPENBLOCKS_AX3219 # IDE drives
226 # flags have the same meaning as for IDE drives.
227 cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
228 sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
240 sd* at scsibus? target ? lun ? # SCSI disk drives
241 cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
DSMDK2410179 sd* at scsibus? target ? lun ? # SCSI disk drives
180 st* at scsibus? target ? lun ? # SCSI tape drives
181 cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
191 # flags have the same meaning as for IDE drives.
192 cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
193 sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
194 st* at atapibus? drive ? flags 0x0000 # ATAPI tape drives
DMINI2440207 sd* at scsibus? target ? lun ? # SCSI disk drives
208 #st* at scsibus? target ? lun ? # SCSI tape drives
209 #cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
219 # flags have the same meaning as for IDE drives.
220 #cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
221 #sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
222 #st* at atapibus? drive ? flags 0x0000 # ATAPI tape drives
/netbsd/src/sys/arch/prep/conf/
DINSTALL_SMALL169 sd* at scsibus? target ? lun ? # SCSI disk drives
170 #st* at scsibus? target ? lun ? # SCSI tape drives
171 cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
185 # IDE drives
202 # flags have the same meaning as for IDE drives.
203 cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
204 sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
DINSTALL166 sd* at scsibus? target ? lun ? # SCSI disk drives
167 st* at scsibus? target ? lun ? # SCSI tape drives
168 cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
187 # IDE drives
204 # flags have the same meaning as for IDE drives.
205 cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
206 sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
/netbsd/src/sys/arch/evbppc/conf/
DOPENBLOCKS266_OPT36 sd* at scsibus? target ? lun ? # SCSI disk drives
37 st* at scsibus? target ? lun ? # SCSI tape drives
38 cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
56 # IDE drives
63 # flags have the same meaning as for IDE drives.
64 cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
65 sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
66 st* at atapibus? drive ? flags 0x0000 # ATAPI tape drives
/netbsd/src/sys/arch/hpcmips/conf/
DTX3912212 # IDE drives
219 # flags have the same meaning as for IDE drives.
220 cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
221 sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
253 sd* at scsibus? target ? lun ? # SCSI disk drives
254 #st* at scsibus? target ? lun ? # SCSI tape drives
255 #cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
/netbsd/src/sys/arch/ibmnws/conf/
DGENERIC195 # sd* at scsibus? target ? lun ? # SCSI disk drives
196 # st* at scsibus? target ? lun ? # SCSI tape drives
197 # cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
212 # IDE drives
229 # flags have the same meaning as for IDE drives.
230 # cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
231 # sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
/netbsd/src/tests/lib/libc/sys/
Dt_mmap.c171 char *map, *dk, *drives, dev[PATH_MAX]; in ATF_TC_BODY() local
179 drives = malloc(len); in ATF_TC_BODY()
180 ATF_REQUIRE(drives != NULL); in ATF_TC_BODY()
181 ATF_REQUIRE(sysctl(mib, miblen, drives, &len, NULL, 0) == 0); in ATF_TC_BODY()
182 for (dk = strtok(drives, " "); dk != NULL; dk = strtok(NULL, " ")) { in ATF_TC_BODY()
196 free(drives); in ATF_TC_BODY()
/netbsd/src/sys/arch/mmeye/conf/
DMMTA143 #sd* at scsibus? target ? lun ? # SCSI disk drives
144 #st* at scsibus? target ? lun ? # SCSI tape drives
145 #cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
158 # IDE drives
165 #cd* at atapibus? drive ? # ATAPI CD-ROM drives
DMMTAROMNEW148 #sd* at scsibus? target ? lun ? # SCSI disk drives
149 #st* at scsibus? target ? lun ? # SCSI tape drives
150 #cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
163 # IDE drives
170 #cd* at atapibus? drive ? # ATAPI CD-ROM drives
/netbsd/src/sys/arch/hpcarm/conf/
DWZERO3261 # flags have the same meaning as for IDE drives.
262 cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
263 sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
264 #st* at atapibus? drive ? flags 0x0000 # ATAPI tape drives
271 sd* at scsibus? target ? lun ? # SCSI disk drives
272 cd* at scsibus? target ? lun ? # SCSI CD-ROM drives

12345678