/freebsd-11-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));
|
/freebsd-11-stable/etc/rc.d/ |
H A D | zvol | 23 zfs list -H -o org.freebsd:swap,name -t volume | 36 zfs list -H -o org.freebsd:swap,name -t volume |
|
/freebsd-11-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-11-stable/usr.sbin/mptutil/ |
H A D | mpt_volume.c | 45 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"); 111 printf("mpt%u changing volume %s name from \"%s\" to \"%s\"\n", 119 warn("Failed to set volume name"); 143 warnx("volume status: %s", ac > 2 ? "extra arguments" : 144 "volume required"); 157 warnc(error, "Invalid volume: %s", av[1]); 166 warnc(error, "Fetching volume statu 204 CONFIG_PAGE_RAID_VOL_0 *volume; local [all...] |
/freebsd-11-stable/sys/geom/vinum/ |
H A D | geom_vinum_create.c | 188 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 D | geom_vinum_subr.c | 86 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 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 | 80 * 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 D | geom_vinum_rename.c | 79 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 D | geom_vinum_var.h | 80 #define GV_MAXVOLNAME 64 /* Maximum length of a volume name. */ 332 char volume[GV_MAXVOLNAME]; /* Name of associated volume. */ member in struct:gv_plex 333 struct gv_volume *vol_sc; /* Pointer to associated volume. */ 339 #define GV_PLEX_ADDED 0x01 /* Added to an existing volume. */ 350 LIST_ENTRY(gv_plex) in_volume; /* Plex list of associated volume. */ 364 /* softc for a volume. */ 366 char name[GV_MAXVOLNAME]; /* The name of the volume. */ 367 off_t size; /* The size of the volume. */ 369 int state; /* The state of the volume 377 LIST_ENTRY(gv_volume) volume; /* Entry in vinum config. */ member in struct:gv_volume [all...] |
H A D | geom_vinum_list.c | 155 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-11-stable/sys/arm/broadcom/bcm2835/ |
H A D | vc_vchi_audioserv_defs.h | 85 uint32_t volume; member in struct:__anon7252
|
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-11-stable/sys/sys/ |
H A D | vtoc.h | 72 char volume[VTOC_VOLUME_LEN]; member in struct:vtoc8
|
/freebsd-11-stable/sbin/gvinum/ |
H A D | gvinum.c | 137 /* Attach a plex to a volume or a subdisk to a plex. */ 151 "\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...] |
/freebsd-11-stable/sys/geom/part/ |
H A D | g_part_ldm.c | 165 * component or volume. 168 * partitions in the GEOM_PART meaning. But volume VBLK does not 174 * One volume can contain several components. In this case LDM 175 * does mirroring of volume data to each component. 183 uint64_t vol_id; /* parent volume object id */ 192 uint64_t size; /* volume size */ 774 struct ldm_volume *volume, *last; local 796 * 0x18+ PS volume state 798 * 0x1D+16 PN parent's volume object id 804 errstr = "volume stat 1009 struct ldm_volume *volume; local [all...] |
/freebsd-11-stable/sys/dev/sound/pci/ |
H A D | emu10kx.h | 118 /* master volume */ 127 /* master rec volume */ 186 void emumix_set_volume(struct emu_sc_info *sc, int mixer_idx, int volume);
|
/freebsd-11-stable/usr.sbin/mfiutil/ |
H A D | mfi_volume.c | 45 MFI_TABLE(top, volume); 164 warn("Failed to set volume properties"); 296 warnx("cache: volume required"); 309 warn("Invalid volume: %s", av[1]); 316 warn("Failed to fetch volume properties"); 322 printf("mfi%u volume %s cache settings:\n", mfi_unit, 400 warnx("name: volume and name required"); 418 warn("Invalid volume: %s", av[1]); 425 warn("Failed to fetch volume properties"); 430 printf("mfi%u volume [all...] |
/freebsd-11-stable/sys/dev/sound/pcm/ |
H A D | channel.c | 119 &chn_vpc_autoreset, 0, "automatically reset channels volume to 0db"); 188 "reset volume on all channels"); 1213 c->volume[SND_VOL_C_MASTER][i] = SND_VOL_0DB_MASTER; 1216 c->volume[SND_VOL_C_MASTER][SND_CHN_T_VOL_0DB] = SND_VOL_0DB_MASTER; 1217 c->volume[SND_VOL_C_PCM][SND_CHN_T_VOL_0DB] = chn_vol_0db_pcm; 1342 ("%s(): invalid volume matrix c=%p vc=%d vt=%d val=%d", 1351 c->volume[vc][vt] = val; 1360 c->volume[SND_VOL_C_VAL(vc)][vt] = 1361 SND_VOL_CALC_VAL(c->volume, vc, vt); 1366 c->volume[SND_VOL_C_VA [all...] |
H A D | channel.h | 167 int volume[SND_VOL_C_MAX][SND_CHN_T_VOL_MAX]; member in struct:pcm_channel 305 #define CHN_GETVOLUME(x, y, z) ((x)->volume[y][z])
|
H A D | feeder_chain.c | 338 * feeder_build_volume(): Chain soft volume. 380 * just disable it, but that will confuse volume per channel mixer. 386 "%s(): can't set volume bypass\n", __func__); 788 * 3) Avoid volume, format, matrix and rate in BITPERFECT or 790 * 4) Try putting volume before EQ or rate. Should help to 804 FEEDER_BUILD(volume); 810 FEEDER_BUILD(volume); 824 FEEDER_BUILD(volume); 832 FEEDER_BUILD(volume);
|
H A D | feeder_volume.c | 251 vol = c->volume[SND_VOL_C_VAL(info->volume_class)];
|
/freebsd-11-stable/sys/contrib/v4l/ |
H A D | videodev.h | 121 __u16 volume; /* If settable */ member in struct:video_audio 137 __u16 step; /* Step actual volume uses */
|
/freebsd-11-stable/contrib/mdocml/ |
H A D | man_term.c | 1038 const char *volume; local 1045 volume = NULL == meta->vol ? "" : meta->vol; 1046 vollen = term_strlen(p, volume); 1063 /* At the top in the middle: manual volume. */ 1070 term_word(p, volume);
|
H A D | mdoc_term.c | 466 char *volume, *title; local 478 * string depending on the manual volume. If not specified, it 484 volume = mandoc_strdup(meta->vol); 486 mandoc_asprintf(&volume, "%s (%s)", 488 vollen = term_strlen(p, volume); 512 term_word(p, volume); 529 free(volume);
|