/freebsd-13-stable/tests/sys/cddl/zfs/tests/zvol/zvol_misc/ |
H A D | zvol_misc_004_pos.ksh | 45 # 1. Create a ZFS volume 46 # 2. Set the volume as dump or swap 83 typeset volume=$1 85 log_must $ZFS snapshot $volume@snap0 86 log_must $ZFS snapshot $volume@snap1 87 log_must datasetexists $volume@snap0 $volume@snap1 89 log_must $ZFS destroy $volume@snap1 90 log_must $ZFS snapshot $volume@snap1 92 log_mustnot $ZFS rollback -r $volume [all...] |
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/zvol/zvol_misc/ |
H A D | zvol_misc_004_pos.ksh | 41 # 1. Create a ZFS volume 42 # 2. Set the volume as dump or swap 77 typeset volume=$1 79 log_must zfs snapshot $volume@snap0 80 log_must zfs snapshot $volume@snap1 81 log_must datasetexists $volume@snap0 $volume@snap1 83 log_must zfs destroy $volume@snap1 84 log_must zfs snapshot $volume@snap1 86 log_mustnot zfs rollback -r $volume [all...] |
/freebsd-13-stable/tests/sys/cddl/zfs/tests/zvol/ |
H A D | zvol_common.kshlib | 35 # Create a simple zvol volume 38 # volume_size: is the size of the volume, e.g. 2G 100 typeset volume=$1 102 if [[ -z $volume ]] ; then 103 log_note "No volume specified." 107 log_must $ZFS set volsize=64m $volume 109 output=$($DUMPADM -d /dev/zvol/$volume 2>&1 | \ 115 log_must $ZFS set volsize=${output}m $volume 125 log_note "No dump device volume specified." 129 typeset volume [all...] |
/freebsd-13-stable/usr.sbin/fstyp/ |
H A D | cd9660.c | 47 char *sector, *volume; local 56 volume = sector + 0x28; 58 strlcpy(label, volume, MIN(size, VOLUME_LEN));
|
H A D | hammer_disk.h | 66 * Per-volume storage limit: 52 bits 4096 TB 84 #define HAMMER_OFF_VOL_MASK 0x0FF0000000000000ULL /* volume portion */ 106 * Reserved space for (future) header junk after the volume header. 117 * and volume number in addition to the offset. Most offsets are required 146 * zone 1 (z,v,o): raw volume relative (offset 0 is the volume header) 148 * zone 3 (z,o): undo/redo fifo - fixed zone-2 offset array in volume header 154 * zone 15: unavailable, usually the offset is beyond volume size 157 * Maximum HAMMER filesystem capacity from volume aspect 158 * 2^8(max volumes) * 2^52(max volume siz [all...] |
/freebsd-13-stable/libexec/rc/rc.d/ |
H A D | zvol | 22 zfs list -H -o org.freebsd:swap,name -t volume | 35 zfs list -H -o org.freebsd:swap,name -t volume |
|
/freebsd-13-stable/sys/geom/label/ |
H A D | g_label_iso9660.c | 49 char *sector, *volume; local 66 volume = sector + 0x28; 68 strlcpy(label, volume, MIN(size, VOLUME_LEN)); 79 G_LABEL_INIT(iso9660, g_label_iso9660, "Create device nodes for ISO9660 volume names");
|
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/snapused/ |
H A D | snapused.kshlib | 58 for child in $(zfs list -rH -t filesystem,volume -o name $dataset) 69 for child in $(zfs list -rH -t filesystem,volume -o name $dataset) 123 for child in $(zfs list -rH -t filesystem,volume -o name $dataset) 149 for child in $(zfs list -rH -t filesystem,volume -o name $dataset) 160 for child in $(zfs list -rH -t filesystem,volume,snapshot -o name $dataset)
|
/freebsd-13-stable/tests/sys/cddl/zfs/tests/snapused/ |
H A D | snapused.kshlib | 63 for child in $($ZFS list -rH -t filesystem,volume -o name $dataset) 74 for child in $($ZFS list -rH -t filesystem,volume -o name $dataset) 128 for child in $($ZFS list -rH -t filesystem,volume -o name $dataset) 154 for child in $($ZFS list -rH -t filesystem,volume -o name $dataset) 165 for child in $($ZFS list -rH -t filesystem,volume,snapshot -o name $dataset)
|
/freebsd-13-stable/usr.sbin/mptutil/ |
H A D | mpt_volume.c | 47 MPT_TABLE(top, volume); 77 warnx("name: volume and name required"); 95 warnc(error, "Invalid volume: %s", av[1]); 102 warn("Failed to fetch volume names"); 113 printf("mpt%u changing volume %s name from \"%s\" to \"%s\"\n", 121 warn("Failed to set volume name"); 145 warnx("volume status: %s", ac > 2 ? "extra arguments" : 146 "volume required"); 159 warnc(error, "Invalid volume: %s", av[1]); 168 warnc(error, "Fetching volume statu 206 CONFIG_PAGE_RAID_VOL_0 *volume; local [all...] |
/freebsd-13-stable/sys/contrib/openzfs/etc/systemd/system/ |
H A D | Makefile.am | 12 zfs-volume-wait.service \
|
/freebsd-13-stable/sys/geom/vinum/ |
H A D | geom_vinum_create.c | 191 LIST_INSERT_HEAD(&sc->volumes, v, volume); 204 /* Find the volume this plex should be attached to. */ 205 v = gv_find_vol(sc, p->volume); 207 G_VINUM_DEBUG(0, "create plex '%s': volume '%s' not found", 208 p->name, p->volume); 309 * Create a concatenated volume from specified drives or drivegroups. 326 gctl_error(req, "volume name not given"); 337 /* First we create the volume. */ 346 strlcpy(p->volume, v->name, sizeof(p->volume)); [all...] |
H A D | geom_vinum_subr.c | 89 if (!strcmp(token[0], "volume")) { 92 G_VINUM_DEBUG(0, "config parse failed volume"); 100 G_VINUM_DEBUG(2, "newer volume found!"); 201 LIST_FOREACH(v, &sc->volumes, volume) { 204 sbuf_printf(sb, "volume %s", v->name); 218 sbuf_printf(sb, "vol %s", p->volume); 259 /* Walk over plexes in a volume and count how many are down. */ 458 /* Returns the size of a volume. */ 489 /* The plex was added to an already running volume. */ 543 /* If added to a volume, w [all...] |
H A D | geom_vinum_share.c | 487 /* Get a new volume object. */ 511 /* We assume this is the volume name. */ 578 !strcmp(token[j], "volume")) { 584 strlcpy(p->volume, token[j], sizeof(p->volume));
|
H A D | geom_vinum_rm.c | 83 * If this volume has plexes, we want a recursive 87 gctl_error(req, "volume '%s' has attached " 110 /* Don't allow removal of the only plex of a volume. */ 113 "to volume '%s'", p->name, p->volume); 192 LIST_FOREACH_SAFE(v, &sc->volumes, volume, v2) 200 /* Remove a volume. */ 213 G_VINUM_DEBUG(0, "unable to remove %s: volume still in use", 218 /* Remove the plexes our volume has. */ 223 LIST_REMOVE(v, volume); [all...] |
/freebsd-13-stable/sys/contrib/openzfs/cmd/zvol_wait/ |
H A D | zvol_wait | 30 zfs list -t volume -H -o \
|
/freebsd-13-stable/sys/sys/disk/ |
H A D | vtoc.h | 72 char volume[VTOC_VOLUME_LEN]; member in struct:vtoc8
|
/freebsd-13-stable/sys/arm/broadcom/bcm2835/ |
H A D | vc_vchi_audioserv_defs.h | 85 uint32_t volume; member in struct:__anon8442
|
H A D | bcm2835_audio.c | 72 /* volume in terms of 0.01dB */ 76 /* dB levels with 5% volume step */ 125 uint32_t dest, volume; member in struct:bcm2835_audio_info 371 bcm2835_audio_update_controls(struct bcm2835_audio_info *sc, uint32_t volume, uint32_t dest) argument 379 if (volume > 99) 380 volume = 99; 381 db = db_levels[volume/5]; 382 m.u.control.volume = VCHIQ_AUDIO_VOLUME(db); 476 uint32_t volume, dest; local 506 volume [all...] |
/freebsd-13-stable/tests/sys/cddl/zfs/tests/rsend/ |
H A D | rsend.kshlib | 121 typeset list=$($ZFS list -H -r -t filesystem,snapshot,volume -o name $pool) 158 $ZFS list -r -H -t filesystem,snapshot,volume -o name $src_fs > $BACKDIR/src1 159 $ZFS list -r -H -t filesystem,snapshot,volume -o name $dst_fs > $BACKDIR/dst1 325 typeset list=$($ZFS list -r -H -t filesystem,snapshot,volume -o name $ds \ 350 # Output inherited properties for volume
|
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_set/ |
H A D | ro_props_001_pos.ksh | 48 set -A values filesystem volume snapshot -3 0 1 50K 10G 80G \ 81 # Create filesystem and volume's snapshot
|
H A D | readonly_001_pos.ksh | 39 # 1. Create pool, then create filesystem and volume within it. 115 volume)
|
/freebsd-13-stable/tests/sys/cddl/zfs/tests/cli_root/zfs_set/ |
H A D | readonly_001_pos.ksh | 44 # 1. Create pool, then create filesystem and volume within it. 129 volume)
|
H A D | ro_props_001_pos.ksh | 62 set -A values filesystem volume snapshot -3 0 1 50K 10G 80G \ 116 # Create filesystem and volume's snapshot
|
/freebsd-13-stable/sbin/gvinum/ |
H A D | gvinum.c | 136 /* Attach a plex to a volume or a subdisk to a plex. */ 150 "\tattach <plex> <volume> [rename]"); 189 char plex[GV_MAXPLEXNAME], volume[GV_MAXVOLNAME]; local 273 if (!strcmp(token[0], "volume")) { 276 warnx("line %d: invalid volume definition", 284 /* Reset plex count for this volume. */ 288 * Set default volume name for following plex 291 strlcpy(volume, v->name, sizeof(volume)); 293 snprintf(buf1, sizeof(buf1), "volume [all...] |