Searched refs:volumes (Results 1 - 12 of 12) sorted by relevance

/freebsd-9.3-release/usr.sbin/mptutil/
H A Dmpt_drive.c89 * - IOC2 : This gives us a list of volumes, and by walking the volumes we
90 * can enumerate all of the drives attached to volumes including
142 CONFIG_PAGE_RAID_VOL_0 **volumes; local
179 * Go ahead and read the info for all the volumes. For this
182 volumes = malloc(sizeof(*volumes) * ioc2->NumActiveVolumes);
186 volumes[i] = mpt_vol_info(fd, vol->VolumeBus, vol->VolumeID,
188 if (volumes[i] == NULL) {
194 count += volumes[
[all...]
H A Dmpt_show.c317 printf("mpt%d Configuration: %d volumes, %d drives\n",
387 CONFIG_PAGE_RAID_VOL_0 **volumes; local
392 warnx("show volumes: extra arguments");
412 * Go ahead and read the info for all the volumes and figure
415 volumes = malloc(sizeof(*volumes) * ioc2->NumActiveVolumes);
419 volumes[i] = mpt_vol_info(fd, vol->VolumeBus, vol->VolumeID,
421 if (volumes[i] == NULL)
425 volumes[i]->VolumeStatus.State));
441 if (volumes[
[all...]
/freebsd-9.3-release/sbin/gvinum/
H A Dgvinum.c181 int sd_in_plex, status, subdisks, tokens, undeffd, volumes; local
240 drives = volumes = plexes = subdisks = 0;
289 snprintf(buf1, sizeof(buf1), "volume%d", volumes);
291 volumes++;
391 if (!errors && (volumes || plexes || subdisks || drives)) {
392 gctl_ro_param(req, "volumes", sizeof(int), &volumes);
423 int drives, i, flags, volumes, subdisks, plexes; local
426 flags = plexes = subdisks = volumes = 0;
446 gctl_ro_param(req, "volumes", sizeo
1267 int drives, volumes, plexes, subdisks, flags; local
[all...]
/freebsd-9.3-release/usr.sbin/mfiutil/
H A Dmfi_config.c275 int *volumes; member in struct:config_id_state
416 if (state->volumes[i] == state->target_id)
742 state.volumes = calloc(config->log_drv_count, sizeof(int));
743 if (state.volumes == NULL) {
750 state.volumes[i] = ld->properties.ld.v.target_id;
753 qsort(state.volumes, config->log_drv_count, sizeof(int),
756 state.volumes = NULL;
830 free(state.volumes);
1121 "mfi%d %s: %d arrays, %d volumes, %d spares\n", mfi_unit,
H A Dmfi_show.c374 printf("mfi%d Configuration: %d arrays, %d volumes, %d spares\n",
455 warnx("show volumes: extra arguments");
474 /* List the volumes. */
527 MFI_COMMAND(show, volumes, show_volumes);
/freebsd-9.3-release/sys/geom/vinum/
H A Dgeom_vinum.c186 LIST_INIT(&sc->volumes);
315 int error, i, *drives, *flags, *plexes, *subdisks, *volumes; local
323 volumes = gctl_get_paraml(req, "volumes", sizeof(*volumes));
327 if (volumes == NULL || plexes == NULL || subdisks == NULL ||
376 for (i = 0; i < *volumes; i++) {
H A Dgeom_vinum_subr.c198 LIST_FOREACH(v, &sc->volumes, volume) {
886 LIST_FOREACH(v, &sc->volumes, volume) {
1010 LIST_FOREACH(v, &sc->volumes, volume) {
1063 LIST_FOREACH(v, &sc->volumes, volume) {
1094 LIST_FOREACH_SAFE(v, &sc->volumes, volume, v2) {
H A Dgeom_vinum_var.h230 LIST_HEAD(,gv_volume) volumes; /* All volumes. */ member in struct:gv_softc
H A Dgeom_vinum_list.c145 /* List volumes. */
216 /* List one or more volumes. */
227 LIST_FOREACH(v, &sc->volumes, volume)
234 LIST_FOREACH(v, &sc->volumes, volume)
H A Dgeom_vinum_rm.c189 LIST_FOREACH_SAFE(v, &sc->volumes, volume, v2)
340 /* Remove all associated subdisks, plexes, volumes. */
H A Dgeom_vinum_create.c188 LIST_INSERT_HEAD(&sc->volumes, v, volume);
/freebsd-9.3-release/sys/geom/part/
H A Dg_part_ldm.c63 * This allows access to mirrored LDM volumes. Since we do not
69 CTLFLAG_RW | CTLFLAG_TUN, &show_mirrors, 0, "Show mirrored volumes");
169 * The most interesting for us are volumes, they are represents
180 * striped volumes).
225 uint64_t offset; /* offset for spanned volumes */
307 LIST_HEAD(, ldm_volume) volumes;
962 /* keep volumes ordered by volume number */
964 LIST_FOREACH(volume, &db->volumes, entry) {
972 LIST_INSERT_HEAD(&db->volumes, &blk->u.vol, entry);
1098 LIST_FOREACH(volume, &db->volumes, entr
[all...]

Completed in 84 milliseconds