Home
last modified time | relevance | path

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

1234

/freebsd-14-stable/sys/geom/vinum/
HDgeom_vinum_create.c116 d2 = LIST_FIRST(&sc->drives); in gv_create_drive()
118 LIST_INSERT_HEAD(&sc->drives, d, drive); in gv_create_drive()
128 LIST_FOREACH(d2, &sc->drives, drive) { in gv_create_drive()
174 LIST_INSERT_HEAD(&sc->drives, d, drive); in gv_create_drive()
317 int *drives, dcount; in gv_concat() local
327 drives = gctl_get_paraml(req, "drives", sizeof(*drives)); in gv_concat()
329 if (drives == NULL) { in gv_concat()
349 for (dcount = 0; dcount < *drives; dcount++) { in gv_concat()
382 int *drives, *flags, dcount, pcount, scount; in gv_mirror() local
395 drives = gctl_get_paraml(req, "drives", sizeof(*drives)); in gv_mirror()
[all …]
HDgeom_vinum_rm.c171 LIST_FOREACH_SAFE(d, &sc->drives, drive, d2) { in gv_resetconfig()
186 LIST_FOREACH_SAFE(d, &sc->drives, drive, d2) in gv_resetconfig()
378 d2 = LIST_FIRST(&sc->drives); in gv_rm_drive()
380 LIST_INSERT_HEAD(&sc->drives, d, drive); in gv_rm_drive()
HDgeom_vinum.c142 LIST_FOREACH(d, &sc->drives, drive) { in gv_access()
147 LIST_FOREACH(d2, &sc->drives, drive) { in gv_access()
182 LIST_INIT(&sc->drives); in gv_init()
314 int i, *drives, *flags, *plexes, *subdisks, *volumes; in gv_create() local
325 drives = gctl_get_paraml(req, "drives", sizeof(*drives)); in gv_create()
327 drives == NULL) { in gv_create()
338 for (i = 0; i < *drives; i++) { in gv_create()
HDgeom_vinum_subr.c193 LIST_FOREACH(d, &sc->drives, drive) { in gv_format_config()
926 LIST_FOREACH(d, &sc->drives, drive) { in gv_find_drive()
940 LIST_FOREACH(d, &sc->drives, drive) { in gv_find_drive_device()
983 KASSERT(!LIST_EMPTY(&sc->drives), in gv_drive_is_newer()
987 LIST_FOREACH(d2, &sc->drives, drive) { in gv_drive_is_newer()
1023 LIST_FOREACH(d, &sc->drives, drive) { in gv_object_type()
1108 LIST_FOREACH_SAFE(d, &sc->drives, drive, d2) { in gv_cleanup()
HDgeom_vinum_events.c277 d2 = LIST_FIRST(&sc->drives); in gv_drive_lost()
279 LIST_INSERT_HEAD(&sc->drives, d, drive); in gv_drive_lost()
/freebsd-14-stable/usr.sbin/mptutil/
HDmpt_drive.c118 if (list->drives[i]->PhysDiskNum == PhysDiskNum) in mpt_pd_insert()
120 if (list->drives[i]->PhysDiskNum > PhysDiskNum) in mpt_pd_insert()
129 list->drives[j + 1] = list->drives[j]; in mpt_pd_insert()
130 list->drives[i] = mpt_pd_info(fd, PhysDiskNum, NULL); in mpt_pd_insert()
131 if (list->drives[i] == NULL) in mpt_pd_insert()
252 free(list->drives[i]); in mpt_free_pd_list()
286 if (list->drives[val]->PhysDiskBus == bus && in mpt_lookup_drive()
287 list->drives[val]->PhysDiskID == id) { in mpt_lookup_drive()
288 *PhysDiskNum = list->drives[val]->PhysDiskNum; in mpt_lookup_drive()
HDmpt_config.c357 struct drive_info *drives; member
408 info->drives = calloc(count, sizeof(struct drive_info)); in parse_volume()
410 for (dinfo = info->drives; (cp = strsep(&volume_str, ",")) != NULL; in parse_volume()
449 for (i = 0, dinfo = info->drives; i < info->drive_count; in add_drives()
491 if (state->list->drives[i]->PhysDiskID == state->target_id) in find_next_volume()
551 MinLBA = info->drives[0].info->MaxLBA; in build_volume()
553 if (info->drives[i].info->MaxLBA < MinLBA) in build_volume()
554 MinLBA = info->drives[i].info->MaxLBA; in build_volume()
599 for (i = 0, dinfo = info->drives, rdisk = vol->PhysDisk; in build_volume()
HDmpt_show.c519 len = strlen(mpt_pdstate(list->drives[i])); in show_drives()
527 printf("%4u ", list->drives[i]->PhysDiskNum); in show_drives()
528 print_pd(list->drives[i], state_len, 1); in show_drives()
543 MPT_COMMAND(show, drives, show_drives);
/freebsd-14-stable/sbin/gvinum/
HDgvinum.c181 int drives, errors, fd, flags, i, line, plexes, plex_in_volume; in gvinum_create() local
242 drives = volumes = plexes = subdisks = 0; in gvinum_create()
377 snprintf(buf1, sizeof(buf1), "drive%d", drives); in gvinum_create()
379 drives++; in gvinum_create()
393 if (!errors && (volumes || plexes || subdisks || drives)) { in gvinum_create()
397 gctl_ro_param(req, "drives", sizeof(int), &drives); in gvinum_create()
425 int drives, i, flags, volumes, subdisks, plexes; in create_drive() local
429 drives = 1; in create_drive()
447 gctl_ro_param(req, "drives", sizeof(int), &drives); in create_drive()
492 int drives, flags, i; in create_volume() local
[all …]
/freebsd-14-stable/usr.sbin/mfiutil/
HDmfi_config.c283 struct mfi_pd_info *drives; member
343 info->drives = calloc(count, sizeof(struct mfi_pd_info)); in parse_array()
344 if (info->drives == NULL) { in parse_array()
349 for (pinfo = info->drives; (cp = strsep(&array_str, ",")) != NULL; in parse_array()
353 free(info->drives); in parse_array()
354 info->drives = NULL; in parse_array()
361 free(info->drives); in parse_array()
362 info->drives = NULL; in parse_array()
368 free(info->drives); in parse_array()
369 info->drives = NULL; in parse_array()
[all …]
/freebsd-14-stable/sys/contrib/device-tree/Bindings/spi/
HDsqi-pic32.txt7 - clocks: Should contain phandle of two clocks in sequence, one that drives
8 clock on SPI bus and other that drives SQI controller.
/freebsd-14-stable/contrib/netbsd-tests/lib/libc/sys/
HDt_mmap.c174 char *map, *dk, *drives, dev[PATH_MAX]; in ATF_TC_BODY() local
181 drives = malloc(len); in ATF_TC_BODY()
182 ATF_REQUIRE(drives != NULL); in ATF_TC_BODY()
183 ATF_REQUIRE(sysctl(mib, miblen, drives, &len, NULL, 0) == 0); in ATF_TC_BODY()
184 for (dk = strtok(drives, " "); dk != NULL; dk = strtok(NULL, " ")) { in ATF_TC_BODY()
193 free(drives); in ATF_TC_BODY()
/freebsd-14-stable/sys/dev/ips/
HDips_disk.c107 iobuf->bio_driver1 = (void *)(uintptr_t)dsc->sc->drives[dsc->disk_number].drivenum; in ipsd_strategy()
152 totalsectors = dsc->sc->drives[dsc->disk_number].sector_count; in ipsd_attach()
168 dsc->sc->drives[dsc->disk_number].sector_count >> 11); in ipsd_attach()
214 command_struct->drivenum= sc->drives[dsc->disk_number].drivenum; in ipsd_dump()
HDips.c266 if(sc->drives[i].state == IPS_LD_FREE) continue; in ips_diskdev_init()
268 i, sc->drives[i].raid_lvl, in ips_diskdev_init()
269 sc->drives[i].sector_count, in ips_diskdev_init()
270 ips_diskdev_statename(sc->drives[i].state)); in ips_diskdev_init()
271 if(sc->drives[i].state == IPS_LD_OKAY || in ips_diskdev_init()
272 sc->drives[i].state == IPS_LD_DEGRADED){ in ips_diskdev_init()
/freebsd-14-stable/sys/cam/
HDREADME.quirks22 hard drives, flash adapters, cameras) there are two standards, SBC
23 and RBC. SCSI hard drives are usually SBC-compliant and smaller
24 devices like flash drives are usually RBC-compliant. Multimedia
51 drives hang when receiving this command even though it is required
116 bytes). Some drives can only handle the shorter inquiry length
140 drives can't even handle it. (No idea how such devices even work
155 USB pen drives or flash readers require quirks in both da(4) and
/freebsd-14-stable/sys/contrib/device-tree/Bindings/display/panel/
Dsharp,lq101r1sx01.txt4 - left-right: each channel drives the left or right half of the screen
5 - even-odd: each channel drives the even or odd lines of the screen
/freebsd-14-stable/sys/contrib/device-tree/Bindings/watchdog/
Dmoxa,moxart-watchdog.txt7 - clocks : Should contain phandle for the clock that drives the counter
HDdw_wdt.txt7 - clocks : phandle + clock-specifier for the clock that drives the
HDdigicolor-wdt.txt12 - clocks : phandle; specifies the clock that drives the timer
/freebsd-14-stable/sys/contrib/device-tree/Bindings/timer/
Daltr,timer-1.0.txt8 - clock-frequency : The frequency of the clock that drives the counter, in Hz.
Dbrcm,bcm2835-system-timer.txt13 - clock-frequency : The frequency of the clock that drives the counter, in Hz.
/freebsd-14-stable/sys/dev/isp/
HDHardware.txt136 to connect to bare drives: http://www.cinonic.com.
186 I have used lots of different Seagate and a few IBM drives and
188 drives with 40-pin SCA connectors in back. They go into the JBODs
195 All FC-AL disk drives are dual ported (i.e., have separte 'A' and
202 Approx Cost: You'll find that FC drives are the same cost if not
203 slightly cheaper than the equivalent Ultra3 SCSI drives.
/freebsd-14-stable/sys/contrib/device-tree/Bindings/hwmon/
HDsht15.txt8 - "vcc-supply": regulator that drives the VCC pin.
/freebsd-14-stable/sys/contrib/openzfs/cmd/zed/zed.d/
HDzed.rc108 # Turn on/off enclosure LEDs when drives get DEGRADED/FAULTED. This works for
110 # and NVMe PCI drives (assuming they're supported by Linux in sysfs).
147 # help silence misbehaving drives. This assumes your drive enclosure fully
/freebsd-14-stable/sys/contrib/device-tree/Bindings/crypto/
HDpicochip-spacc.txt11 - ref-clock : The input clock that drives the SPAcc.

1234