/freebsd/usr.sbin/mptutil/ |
H A D | mpt_drive.c | 141 CONFIG_PAGE_RAID_VOL_0 **volumes; in mpt_pd_list() local 182 volumes = malloc(sizeof(*volumes) * ioc2->NumActiveVolumes); in mpt_pd_list() 186 volumes[i] = mpt_vol_info(fd, vol->VolumeBus, vol->VolumeID, in mpt_pd_list() 188 if (volumes[i] == NULL) { in mpt_pd_list() 192 free(volumes); in mpt_pd_list() 198 count += volumes[i]->NumPhysDisks; in mpt_pd_list() 208 rdisk = volumes[i]->PhysDisk; in mpt_pd_list() 209 for (j = 0; j < volumes[i]->NumPhysDisks; rdisk++, j++) in mpt_pd_list() 212 free(volumes); in mpt_pd_list() 218 free(volumes[i]); in mpt_pd_list() [all …]
|
H A D | mpt_show.c | 394 CONFIG_PAGE_RAID_VOL_0 **volumes; in show_volumes() local 422 volumes = malloc(sizeof(*volumes) * ioc2->NumActiveVolumes); in show_volumes() 426 volumes[i] = mpt_vol_info(fd, vol->VolumeBus, vol->VolumeID, in show_volumes() 428 if (volumes[i] == NULL) in show_volumes() 432 volumes[i]->VolumeStatus.State)); in show_volumes() 448 if (volumes[i] != NULL) in show_volumes() 449 print_vol(volumes[i], state_len); in show_volumes() 454 if (volumes[i] != NULL) { in show_volumes() 455 if (volumes[i]->VolumeSettings.Settings & in show_volumes() 462 free(volumes[i]); in show_volumes() [all …]
|
/freebsd/usr.sbin/periodic/etc/daily/ |
H A D | 410.status-mfi | 18 if mfiutil show volumes; then 19 if mfiutil show volumes | grep -q DEGRADED; then
|
/freebsd/sbin/gvinum/ |
H A D | gvinum.c | 182 int sd_in_plex, status, subdisks, tokens, undeffd, volumes; in gvinum_create() local 242 drives = volumes = plexes = subdisks = 0; in gvinum_create() 291 snprintf(buf1, sizeof(buf1), "volume%d", volumes); in gvinum_create() 293 volumes++; in gvinum_create() 393 if (!errors && (volumes || plexes || subdisks || drives)) { in gvinum_create() 394 gctl_ro_param(req, "volumes", sizeof(int), &volumes); in gvinum_create() 425 int drives, i, flags, volumes, subdisks, plexes; in create_drive() local 428 flags = plexes = subdisks = volumes = 0; in create_drive() 448 gctl_ro_param(req, "volumes", sizeof(int), &volumes); in create_drive() 1276 int drives, volumes, plexes, subdisks, flags; in gvinum_grow() local [all …]
|
/freebsd/usr.sbin/mfiutil/ |
H A D | mfi_config.c | 276 int *volumes; member 417 if (state->volumes[i] == state->target_id) in find_next_volume() 743 state.volumes = calloc(config->log_drv_count, sizeof(int)); in create_volume() 744 if (state.volumes == NULL) { in create_volume() 751 state.volumes[i] = ld->properties.ld.v.target_id; in create_volume() 754 qsort(state.volumes, config->log_drv_count, sizeof(int), in create_volume() 757 state.volumes = NULL; in create_volume() 831 free(state.volumes); in create_volume()
|
H A D | mfi_show.c | 527 MFI_COMMAND(show, volumes, show_volumes);
|
/freebsd/sys/contrib/openzfs/etc/systemd/system/ |
H A D | zfs-volumes.target.in | 2 Description=ZFS volumes are ready
|
H A D | zfs-volume-wait.service.in | 15 WantedBy=zfs-volumes.target
|
/freebsd/sys/geom/vinum/ |
H A D | geom_vinum.c | 184 LIST_INIT(&sc->volumes); in gv_init() 313 int i, *drives, *flags, *plexes, *subdisks, *volumes; in gv_create() local 321 volumes = gctl_get_paraml(req, "volumes", sizeof(*volumes)); in gv_create() 325 if (volumes == NULL || plexes == NULL || subdisks == NULL || in gv_create() 373 for (i = 0; i < *volumes; i++) { in gv_create()
|
H A D | geom_vinum_subr.c | 198 LIST_FOREACH(v, &sc->volumes, volume) { in gv_format_config() 883 LIST_FOREACH(v, &sc->volumes, volume) { in gv_find_vol() 1007 LIST_FOREACH(v, &sc->volumes, volume) { in gv_object_type() 1060 LIST_FOREACH(v, &sc->volumes, volume) { in gv_setup_objects() 1091 LIST_FOREACH_SAFE(v, &sc->volumes, volume, v2) { in gv_cleanup()
|
H A D | geom_vinum_var.h | 232 LIST_HEAD(,gv_volume) volumes; /* All volumes. */
|
H A D | geom_vinum_list.c | 226 LIST_FOREACH(v, &sc->volumes, volume) in gv_lv() 233 LIST_FOREACH(v, &sc->volumes, volume) in gv_lv()
|
H A D | geom_vinum_rm.c | 189 LIST_FOREACH_SAFE(v, &sc->volumes, volume, v2) in gv_resetconfig()
|
H A D | geom_vinum_create.c | 187 LIST_INSERT_HEAD(&sc->volumes, v, volume); in gv_create_volume()
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/nopwrite/ |
H A D | nopwrite.shlib | 40 # extra space. Also, volumes use more space for metadata, so adjust the
|
/freebsd/sys/geom/part/ |
H A D | g_part_ldm.c | 305 LIST_HEAD(, ldm_volume) volumes; 960 LIST_FOREACH(volume, &db->volumes, entry) { in ldm_vblk_handle() 968 LIST_INSERT_HEAD(&db->volumes, &blk->u.vol, entry); in ldm_vblk_handle() 1093 LIST_FOREACH(volume, &db->volumes, entry) { in ldm_vmdb_parse() 1409 LIST_FOREACH(vol, &db.volumes, entry) { in g_part_ldm_read()
|
/freebsd/sys/contrib/openzfs/etc/ |
H A D | Makefile.am | 67 %D%/systemd/system/zfs-volumes.target \
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/reservation/ |
H A D | reservation.shlib | 125 # Its purpose is to reserve additional space for volume metadata so volumes
|
/freebsd/sys/contrib/openzfs/contrib/debian/ |
H A D | openzfs-zfsutils.install | 19 lib/systemd/system/zfs-volumes.target
|
/freebsd/contrib/file/magic/Magdir/ |
H A D | macintosh | 408 # "for HFS volumes, this field always contains the value 0x4C4B." 409 # But if this is true for MFS or HFS+ volumes, I don't know.
|
H A D | filesystems | 1405 >>>>>19 uleshort >0 \b, sectors %u (volumes <=32 MB) 1424 >>>>>>>32 ulelong >0 \b, sectors %u (volumes > 32 MB) 1425 #>>>>>>>32 ulelong =0 \b, sectors %u (volumes > 32 MB) 1589 # ntfsclone-image is a special save format for NTFS volumes, 2228 # These bits come from LBN 1 (home block) of ODS-1, ODS-2 and ODS-5 volumes,
|
H A D | archive | 1246 # standard suffix is ".j"; for multi volumes following order j01 j02 ... j99 100 ... 990 2216 >5 leshort &0x0080 \b, multiple volumes,
|
/freebsd/sys/contrib/openzfs/rpm/redhat/ |
H A D | zfs.spec.in | 379 %define systemd_svcs zfs-import-cache.service zfs-import-scan.service zfs-mount.service zfs-share.service zfs-zed.service zfs.target zfs-import.target zfs-volume-wait.service zfs-volumes.target
|
/freebsd/sys/contrib/openzfs/rpm/generic/ |
H A D | zfs.spec.in | 379 …are.service zfs-zed.service zfs.target zfs-import.target zfs-volume-wait.service zfs-volumes.target
|
/freebsd/usr.sbin/bsdconfig/share/packages/ |
H A D | packages.subr | 923 # XXX (not supporting multiple disc volumes yet)
|