Searched refs:volume (Results 1 - 25 of 43) sorted by relevance

12

/freebsd-9.3-release/etc/rc.d/
H A Dzvol21 zfs list -H -o org.freebsd:swap,name -t volume | \
34 zfs list -H -o org.freebsd:swap,name -t volume | \
/freebsd-9.3-release/sys/geom/label/
H A Dg_label_iso9660.c49 char *sector, *volume; local
67 volume = sector + 0x28;
69 strlcpy(label, volume, MIN(size, VOLUME_LEN));
87 G_LABEL_INIT(iso9660, g_label_iso9660, "Create device nodes for ISO9660 volume names");
/freebsd-9.3-release/usr.sbin/mptutil/
H A Dmpt_volume.c45 MPT_TABLE(top, volume);
75 warnx("name: volume and name required");
93 warnc(error, "Invalid volume: %s", av[1]);
100 warn("Failed to fetch volume names");
108 printf("mpt%u changing volume %s name from \"%s\" to \"%s\"\n",
116 warn("Failed to set volume name");
138 warnx("volume status: %s", ac > 2 ? "extra arguments" :
139 "volume required");
152 warnc(error, "Invalid volume: %s", av[1]);
160 warnc(error, "Fetching volume statu
197 CONFIG_PAGE_RAID_VOL_0 *volume; local
[all...]
/freebsd-9.3-release/usr.sbin/sysinstall/
H A Dindex.c216 new_index(char *name, char *pathto, char *prefix, char *comment, char *descr, char *maint, char *deps, int volume) argument
230 tmp->volume = volume;
231 if (volume != 0) {
234 low_volume = volume;
235 else if (low_volume > volume)
236 low_volume = volume;
237 if (high_volume < volume)
238 high_volume = volume;
314 index_parse(FILE *fp, char *name, char *pathto, char *prefix, char *comment, char *descr, char *maint, char *cats, char *rdeps, int *volume) argument
361 int volume; local
[all...]
H A Dcdrom.c190 dev->volume = atoi(cp);
191 /* XXX - Sanity check the volume here? */
192 msgDebug("CD Volume %d initialized!\n", dev->volume);
194 dev->volume = 0;
/freebsd-9.3-release/sys/fs/nwfs/
H A Dnwfs_subr.h67 int ncp_nsrename(struct ncp_conn *conn, int volume, int ns, int oldtype,
80 int ncp_get_namespaces(struct ncp_conn *conn, u_int32_t volume, int *nsf,
H A Dnwfs_subr.c305 ncp_nsrename(struct ncp_conn *conn, int volume, int ns, int oldtype, argument
322 mb_put_uint8(&rqp->rq, volume);
327 mb_put_uint8(&rqp->rq, volume);
459 ncp_get_namespaces(struct ncp_conn *conn, u_int32_t volume, int *nsf, argument
472 mb_put_uint8(&rqp->rq, volume);
504 mb_put_uint8(&rqp->rq, 0); /* faked volume number */
/freebsd-9.3-release/sys/geom/vinum/
H A Dgeom_vinum_create.c188 LIST_INSERT_HEAD(&sc->volumes, v, volume);
201 /* Find the volume this plex should be attached to. */
202 v = gv_find_vol(sc, p->volume);
204 G_VINUM_DEBUG(0, "create plex '%s': volume '%s' not found",
205 p->name, p->volume);
306 * Create a concatenated volume from specified drives or drivegroups.
323 gctl_error(req, "volume name not given");
334 /* First we create the volume. */
343 strlcpy(p->volume, v->name, sizeof(p->volume));
[all...]
H A Dgeom_vinum_subr.c86 if (!strcmp(token[0], "volume")) {
89 G_VINUM_DEBUG(0, "config parse failed volume");
97 G_VINUM_DEBUG(2, "newer volume found!");
198 LIST_FOREACH(v, &sc->volumes, volume) {
201 sbuf_printf(sb, "volume %s", v->name);
215 sbuf_printf(sb, "vol %s", p->volume);
256 /* Walk over plexes in a volume and count how many are down. */
455 /* Returns the size of a volume. */
486 /* The plex was added to an already running volume. */
540 /* If added to a volume, w
[all...]
H A Dgeom_vinum_share.c487 /* 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 Dgeom_vinum_rm.c80 * If this volume has plexes, we want a recursive
84 gctl_error(req, "volume '%s' has attached "
107 /* Don't allow removal of the only plex of a volume. */
110 "to volume '%s'", p->name, p->volume);
189 LIST_FOREACH_SAFE(v, &sc->volumes, volume, v2)
197 /* Remove a volume. */
210 G_VINUM_DEBUG(0, "unable to remove %s: volume still in use",
215 /* Remove the plexes our volume has. */
220 LIST_REMOVE(v, volume);
[all...]
H A Dgeom_vinum_rename.c79 gctl_error(req, "unknown volume '%s'", object);
236 G_VINUM_DEBUG(1, "volume name %s already in use", newname);
240 /* Rename the volume. */
245 strlcpy(p->volume, v->name, sizeof(p->volume));
H A Dgeom_vinum_var.h80 #define GV_MAXVOLNAME 64 /* Maximum length of a volume name. */
330 char volume[GV_MAXVOLNAME]; /* Name of associated volume. */ member in struct:gv_plex
331 struct gv_volume *vol_sc; /* Pointer to associated volume. */
337 #define GV_PLEX_ADDED 0x01 /* Added to an existing volume. */
348 LIST_ENTRY(gv_plex) in_volume; /* Plex list of associated volume. */
362 /* softc for a volume. */
364 char name[GV_MAXVOLNAME]; /* The name of the volume. */
365 off_t size; /* The size of the volume. */
367 int state; /* The state of the volume
375 LIST_ENTRY(gv_volume) volume; /* Entry in vinum config. */ member in struct:gv_volume
[all...]
H A Dgeom_vinum_list.c155 gctl_error(req, "'%s' is not a volume",
227 LIST_FOREACH(v, &sc->volumes, volume)
230 sbuf_printf(sb, "%d volume%s:\n", i, i == 1 ? "" : "s");
234 LIST_FOREACH(v, &sc->volumes, volume)
239 /* List a single volume. */
323 sbuf_printf(sb, "\t\tPart of volume %s\n", p->volume);
/freebsd-9.3-release/sys/sys/
H A Dvtoc.h72 char volume[VTOC_VOLUME_LEN]; member in struct:vtoc8
/freebsd-9.3-release/sys/dev/ata/
H A Data-raid.c1002 if (ars->raid[rdp->volume]) {
1214 ars->raid[rdp->volume] = rdp;
1215 ars->disk_number[rdp->volume] = disk;
1244 if (ars->raid[rdp->volume] != rdp) /* XXX SOS */
1246 if (ars->disk_number[rdp->volume] != disk) /* XXX SOS */
1248 ars->raid[rdp->volume] = NULL;
1249 ars->disk_number[rdp->volume] = -1;
1287 if (ars->raid[rdp->volume])
1291 ars->raid[rdp->volume] = rdp;
1292 ars->disk_number[rdp->volume]
2427 int array, count, disk, volume = 1, retval = 0; local
4515 int volume; local
4529 int volume; local
[all...]
H A Datapi-cd.c514 arg->vol[0] = cdp->au.port[0].volume;
515 arg->vol[1] = cdp->au.port[1].volume;
516 arg->vol[2] = cdp->au.port[2].volume;
517 arg->vol[3] = cdp->au.port[3].volume;
539 cdp->au.port[0].volume = arg->vol[0] & cdp->aumask.port[0].volume;
540 cdp->au.port[1].volume = arg->vol[1] & cdp->aumask.port[1].volume;
541 cdp->au.port[2].volume = arg->vol[2] & cdp->aumask.port[2].volume;
[all...]
/freebsd-9.3-release/sbin/gvinum/
H A Dgvinum.c133 /* Attach a plex to a volume or a subdisk to a plex. */
147 "\tattach <plex> <volume> [rename]");
185 char plex[GV_MAXPLEXNAME], volume[GV_MAXVOLNAME]; local
269 if (!strcmp(token[0], "volume")) {
272 warnx("line %d: invalid volume definition",
280 /* Reset plex count for this volume. */
284 * Set default volume name for following plex
287 strlcpy(volume, v->name, sizeof(volume));
289 snprintf(buf1, sizeof(buf1), "volume
[all...]
/freebsd-9.3-release/sys/geom/part/
H A Dg_part_ldm.c167 * component or volume.
170 * partitions in the GEOM_PART meaning. But volume VBLK does not
176 * One volume can contain several components. In this case LDM
177 * does mirroring of volume data to each component.
185 uint64_t vol_id; /* parent volume object id */
194 uint64_t size; /* volume size */
778 struct ldm_volume *volume, *last; local
800 * 0x18+ PS volume state
802 * 0x1D+16 PN parent's volume object id
808 errstr = "volume stat
1013 struct ldm_volume *volume; local
[all...]
/freebsd-9.3-release/sys/dev/sound/pci/
H A Demu10kx.h118 /* master volume */
127 /* master rec volume */
186 void emumix_set_volume(struct emu_sc_info *sc, int mixer_idx, int volume);
/freebsd-9.3-release/usr.sbin/bsdinstall/scripts/
H A Dauto88 dialog --backtitle "FreeBSD Installer" --title "Network Installation" --msgbox "No installation files were found on the boot volume. The next few screens will allow you to configure networking so that they can be downloaded from the Internet." 0 0
/freebsd-9.3-release/lib/libncp/
H A Dncpl_file.c249 NWGetVolumeName(NWCONN_HANDLE cH, u_char volume, char *name) { argument
254 ncp_add_byte(conn, volume);
/freebsd-9.3-release/usr.sbin/mfiutil/
H A Dmfi_volume.c43 MFI_TABLE(top, volume);
162 warn("Failed to set volume properties");
294 warnx("cache: volume required");
307 warn("Invalid volume: %s", av[1]);
314 warn("Failed to fetch volume properties");
320 printf("mfi%u volume %s cache settings:\n", mfi_unit,
398 warnx("name: volume and name required");
416 warn("Invalid volume: %s", av[1]);
423 warn("Failed to fetch volume properties");
428 printf("mfi%u volume
[all...]
/freebsd-9.3-release/sys/dev/sound/pcm/
H A Dchannel.c124 &chn_vpc_autoreset, 0, "automatically reset channels volume to 0db");
194 "reset volume on all channels");
1245 c->volume[SND_VOL_C_MASTER][i] = SND_VOL_0DB_MASTER;
1248 c->volume[SND_VOL_C_MASTER][SND_CHN_T_VOL_0DB] = SND_VOL_0DB_MASTER;
1249 c->volume[SND_VOL_C_PCM][SND_CHN_T_VOL_0DB] = chn_vol_0db_pcm;
1374 ("%s(): invalid volume matrix c=%p vc=%d vt=%d val=%d",
1383 c->volume[vc][vt] = val;
1392 c->volume[SND_VOL_C_VAL(vc)][vt] =
1393 SND_VOL_CALC_VAL(c->volume, vc, vt);
1398 c->volume[SND_VOL_C_VA
[all...]
H A Dchannel.h166 int volume[SND_VOL_C_MAX][SND_CHN_T_VOL_MAX]; member in struct:pcm_channel
304 #define CHN_GETVOLUME(x, y, z) ((x)->volume[y][z])

Completed in 192 milliseconds

12