Searched refs:vol (Results 1 - 25 of 68) sorted by relevance

123

/freebsd-10-stable/contrib/smbfs/examples/
H A Dsmbfs.sh.sample20 for vol in ${vols}; do
21 $mount $vol
22 echo -n "$vol "
27 for vol in ${vols}; do
28 $umount $vol
29 echo -n "$vol "
/freebsd-10-stable/sys/geom/raid/
H A Dtr_concat.c97 g_raid_tr_update_state_concat(struct g_raid_volume *vol) argument
105 sc = vol->v_softc;
106 trs = (struct g_raid_tr_concat_object *)vol->v_tr;
112 n = g_raid_nsubdisks(vol, G_RAID_SUBDISK_S_ACTIVE);
113 f = g_raid_nsubdisks(vol, G_RAID_SUBDISK_S_FAILED);
114 if (n + f == vol->v_disks_count) {
122 if (s != vol->v_state) {
128 if (vol->v_raid_level == G_RAID_VOLUME_RL_CONCAT &&
130 !G_RAID_VOLUME_S_ALIVE(vol->v_state)) {
132 for (i = 0; i < vol
156 struct g_raid_volume *vol; local
184 struct g_raid_volume *vol; local
197 struct g_raid_volume *vol; local
210 struct g_raid_volume *vol; local
290 struct g_raid_volume *vol; local
[all...]
H A Dtr_raid1e.c144 static int g_raid_tr_raid1e_select_read_disk(struct g_raid_volume *vol,
148 V2P(struct g_raid_volume *vol, off_t virt, argument
154 strip_size = vol->v_strip_size;
160 *disk = (nstrip * N) % vol->v_disks_count;
162 *offset = ((nstrip * N) / vol->v_disks_count) * strip_size;
166 P2V(struct g_raid_volume *vol, int disk, off_t offset, argument
172 strip_size = vol->v_strip_size;
176 nstrip = (offset / strip_size) * vol->v_disks_count + disk;
184 g_raid_tr_taste_raid1e(struct g_raid_tr_object *tr, struct g_raid_volume *vol) argument
197 g_raid_tr_update_state_raid1e_even(struct g_raid_volume *vol) argument
250 g_raid_tr_update_state_raid1e_odd(struct g_raid_volume *vol) argument
304 g_raid_tr_update_state_raid1e(struct g_raid_volume *vol, struct g_raid_subdisk *sd) argument
341 struct g_raid_volume *vol; local
366 struct g_raid_volume *vol; local
403 struct g_raid_volume *vol; local
434 struct g_raid_volume *vol; local
507 struct g_raid_volume *vol; local
565 struct g_raid_volume *vol; local
611 struct g_raid_volume *vol; local
624 struct g_raid_volume *vol; local
640 g_raid_tr_raid1e_select_read_disk(struct g_raid_volume *vol, int no, off_t off, off_t len, u_int mask) argument
695 struct g_raid_volume *vol; local
765 struct g_raid_volume *vol; local
843 struct g_raid_volume *vol; local
893 struct g_raid_volume *vol; local
1155 struct g_raid_volume *vol; local
1219 struct g_raid_volume *vol; local
[all...]
H A Dtr_raid0.c95 g_raid_tr_update_state_raid0(struct g_raid_volume *vol) argument
102 sc = vol->v_softc;
103 trs = (struct g_raid_tr_raid0_object *)vol->v_tr;
109 n = g_raid_nsubdisks(vol, G_RAID_SUBDISK_S_ACTIVE);
110 f = g_raid_nsubdisks(vol, G_RAID_SUBDISK_S_FAILED);
111 if (n + f == vol->v_disks_count) {
119 if (s != vol->v_state) {
120 g_raid_event_send(vol, G_RAID_VOLUME_S_ALIVE(s) ?
123 g_raid_change_volume_state(vol, s);
125 g_raid_write_metadata(sc, vol, NUL
136 struct g_raid_volume *vol; local
164 struct g_raid_volume *vol; local
177 struct g_raid_volume *vol; local
190 struct g_raid_volume *vol; local
271 struct g_raid_volume *vol; local
[all...]
H A Dtr_raid5.c101 g_raid_tr_taste_raid5(struct g_raid_tr_object *tr, struct g_raid_volume *vol) argument
130 g_raid_tr_update_state_raid5(struct g_raid_volume *vol, argument
138 sc = vol->v_softc;
139 trs = (struct g_raid_tr_raid5_object *)vol->v_tr;
146 na = g_raid_nsubdisks(vol, G_RAID_SUBDISK_S_ACTIVE);
147 ns = g_raid_nsubdisks(vol, G_RAID_SUBDISK_S_STALE) +
148 g_raid_nsubdisks(vol, G_RAID_SUBDISK_S_RESYNC);
149 nu = g_raid_nsubdisks(vol, G_RAID_SUBDISK_S_UNINITIALIZED);
150 if (na == vol->v_disks_count)
152 else if (na + ns == vol
185 struct g_raid_volume *vol; local
199 struct g_raid_volume *vol; local
212 struct g_raid_volume *vol; local
344 struct g_raid_volume *vol; local
[all...]
H A Dg_raid.c136 static void g_raid_destroy_provider(struct g_raid_volume *vol);
139 static int g_raid_update_volume(struct g_raid_volume *vol, u_int event);
601 g_raid_change_volume_state(struct g_raid_volume *vol, int state) argument
604 G_RAID_DEBUG1(0, vol->v_softc,
606 vol->v_name,
607 g_raid_volume_state2str(vol->v_state),
609 vol->v_state = state;
737 g_raid_nsubdisks(struct g_raid_volume *vol, int state) argument
743 sc = vol->v_softc;
747 for (i = 0; i < vol
762 g_raid_get_subdisk(struct g_raid_volume *vol, int state) argument
826 struct g_raid_volume *vol; local
924 g_raid_clean(struct g_raid_volume *vol, int acw) argument
952 g_raid_dirty(struct g_raid_volume *vol) argument
972 struct g_raid_volume *vol; local
1023 struct g_raid_volume *vol; local
1052 struct g_raid_volume *vol; local
1069 struct g_raid_volume *vol; local
1091 struct g_raid_volume *vol; local
1184 g_raid_is_in_locked_range(struct g_raid_volume *vol, const struct bio *bp) argument
1201 struct g_raid_volume *vol; local
1242 g_raid_finish_with_locked_ranges(struct g_raid_volume *vol, struct bio *bp) argument
1278 struct g_raid_volume *vol; local
1299 g_raid_lock_range(struct g_raid_volume *vol, off_t off, off_t len, struct bio *ignore, void *argp) argument
1336 g_raid_unlock_range(struct g_raid_volume *vol, off_t off, off_t len) argument
1464 struct g_raid_volume *vol; local
1516 struct g_raid_volume *vol; local
1635 g_raid_launch_provider(struct g_raid_volume *vol) argument
1718 g_raid_destroy_provider(struct g_raid_volume *vol) argument
1750 g_raid_update_volume(struct g_raid_volume *vol, u_int event) argument
1798 struct g_raid_volume *vol; local
1855 struct g_raid_volume *vol; local
1950 struct g_raid_volume *vol, *vol1; local
2016 g_raid_start_volume(struct g_raid_volume *vol) argument
2058 struct g_raid_volume *vol, *tmpv; local
2107 g_raid_destroy_volume(struct g_raid_volume *vol) argument
2334 g_raid_write_metadata(struct g_raid_softc *sc, struct g_raid_volume *vol, struct g_raid_subdisk *sd, struct g_raid_disk *disk) argument
2368 struct g_raid_volume *vol; local
2493 struct g_raid_volume *vol; local
[all...]
H A Dtr_raid1.c142 g_raid_tr_taste_raid1(struct g_raid_tr_object *tr, struct g_raid_volume *vol) argument
156 g_raid_tr_update_state_raid1(struct g_raid_volume *vol, argument
165 sc = vol->v_softc;
166 trs = (struct g_raid_tr_raid1_object *)vol->v_tr;
174 na = g_raid_nsubdisks(vol, G_RAID_SUBDISK_S_ACTIVE);
180 bestsd = &vol->v_subdisks[0];
181 for (i = 1; i < vol->v_disks_count; i++) {
182 tsd = &vol->v_subdisks[i];
195 vol->v_name, bestsd->sd_pos,
200 vol, bests
280 struct g_raid_volume *vol; local
317 struct g_raid_volume *vol; local
349 struct g_raid_volume *vol; local
414 struct g_raid_volume *vol; local
466 struct g_raid_volume *vol; local
479 struct g_raid_volume *vol; local
495 g_raid_tr_raid1_select_read_disk(struct g_raid_volume *vol, struct bio *bp, u_int mask) argument
553 struct g_raid_volume *vol; local
615 struct g_raid_volume *vol; local
665 struct g_raid_volume *vol; local
911 struct g_raid_volume *vol; local
[all...]
H A Dmd_promise.c298 promise_meta_translate_disk(struct g_raid_volume *vol, int md_disk_pos) argument
302 if (md_disk_pos >= 0 && vol->v_raid_level == G_RAID_VOLUME_RL_RAID1E) {
303 width = vol->v_disks_count / 2;
533 struct g_raid_volume *vol; local
536 TAILQ_FOREACH(vol, &sc->sc_volumes, v_next) {
537 pv = vol->v_md_data;
541 return (vol);
547 struct g_raid_volume *vol, *tvol; local
552 TAILQ_FOREACH_SAFE(vol, &sc->sc_volumes, v_next, tvol) {
553 pv = vol
572 struct g_raid_volume *vol; local
658 g_raid_md_promise_start_disk(struct g_raid_disk *disk, int sdn, struct g_raid_volume *vol) argument
825 struct g_raid_volume *vol; local
887 g_raid_md_promise_start(struct g_raid_volume *vol) argument
961 struct g_raid_volume *vol; local
983 struct g_raid_volume *vol; local
1236 g_raid_md_volume_event_promise(struct g_raid_md_object *md, struct g_raid_volume *vol, u_int event) argument
1256 struct g_raid_volume *vol, *vol1; local
1695 struct g_raid_volume *vol; local
1975 g_raid_md_free_volume_promise(struct g_raid_md_object *md, struct g_raid_volume *vol) argument
[all...]
H A Dmd_intel.c353 intel_get_vol_curr_migr_unit(struct intel_raid_vol *vol) argument
355 off_t curr_migr_unit = (off_t)vol->curr_migr_unit_hi << 32;
357 curr_migr_unit += vol->curr_migr_unit;
362 intel_set_vol_curr_migr_unit(struct intel_raid_vol *vol, off_t curr_migr_unit) argument
365 vol->curr_migr_unit = curr_migr_unit & 0xffffffff;
366 vol->curr_migr_unit_hi = curr_migr_unit >> 32;
1255 struct g_raid_volume *vol; local
1268 vol = g_raid_create_volume(sc, mvol->name, mvol->tid - 1);
1275 vol->v_md_data = pv;
1276 vol
1688 struct g_raid_volume *vol, *vol1; local
2348 struct g_raid_volume *vol; local
2682 g_raid_md_free_volume_intel(struct g_raid_md_object *md, struct g_raid_volume *vol) argument
[all...]
H A Dmd_ddf.c1382 struct g_raid_volume *vol; local
1385 TAILQ_FOREACH(vol, &sc->sc_volumes, v_next) {
1386 pv = vol->v_md_data;
1390 return (vol);
1417 struct g_raid_volume *vol, *tvol; local
1422 TAILQ_FOREACH_SAFE(vol, &sc->sc_volumes, v_next, tvol) {
1423 pv = vol->v_md_data;
1424 if (vol->v_stopping)
1426 for (i = 0; i < vol->v_disks_count; i++) {
1427 if (vol
1602 g_raid_md_ddf_start_disk(struct g_raid_disk *disk, struct g_raid_volume *vol) argument
1785 struct g_raid_volume *vol; local
1847 g_raid_md_ddf_start(struct g_raid_volume *vol) argument
1930 struct g_raid_volume *vol; local
1952 struct g_raid_volume *vol; local
2223 g_raid_md_volume_event_ddf(struct g_raid_md_object *md, struct g_raid_volume *vol, u_int event) argument
2243 struct g_raid_volume *vol, *vol1; local
2723 struct g_raid_volume *vol; local
3048 g_raid_md_free_volume_ddf(struct g_raid_md_object *md, struct g_raid_volume *vol) argument
[all...]
H A Dmd_jmicron.c648 struct g_raid_volume *vol; local
661 vol = g_raid_create_volume(sc, buf, -1);
664 vol->v_raid_level_qualifier = G_RAID_VOLUME_RLQ_NONE;
666 vol->v_raid_level = G_RAID_VOLUME_RL_RAID0;
667 vol->v_mediasize = size * mdi->mdio_total_disks;
669 vol->v_raid_level = G_RAID_VOLUME_RL_RAID1;
670 vol->v_mediasize = size;
672 vol->v_raid_level = G_RAID_VOLUME_RL_RAID1E;
673 vol->v_mediasize = size * mdi->mdio_total_disks / 2;
676 vol
1023 struct g_raid_volume *vol; local
1391 struct g_raid_volume *vol; local
[all...]
H A Dmd_nvidia.c655 struct g_raid_volume *vol; local
668 vol = g_raid_create_volume(sc, buf, -1);
669 vol->v_mediasize = (off_t)meta->total_sectors * 512;
670 vol->v_raid_level_qualifier = G_RAID_VOLUME_RLQ_NONE;
672 vol->v_raid_level = G_RAID_VOLUME_RL_RAID0;
673 size = vol->v_mediasize / mdi->mdio_total_disks;
675 vol->v_raid_level = G_RAID_VOLUME_RL_RAID1;
676 size = vol->v_mediasize;
678 vol->v_raid_level = G_RAID_VOLUME_RL_RAID1E;
679 size = vol
1027 struct g_raid_volume *vol; local
1395 struct g_raid_volume *vol; local
[all...]
H A Dmd_sii.c711 struct g_raid_volume *vol; local
725 vol = g_raid_create_volume(sc, buf, -1);
726 vol->v_mediasize = (off_t)meta->total_sectors * 512;
727 vol->v_raid_level_qualifier = G_RAID_VOLUME_RLQ_NONE;
729 vol->v_raid_level = G_RAID_VOLUME_RL_RAID0;
730 size = vol->v_mediasize / mdi->mdio_total_disks;
732 vol->v_raid_level = G_RAID_VOLUME_RL_RAID1;
733 size = vol->v_mediasize;
735 vol->v_raid_level = G_RAID_VOLUME_RL_RAID1E;
736 size = vol
1111 struct g_raid_volume *vol; local
1479 struct g_raid_volume *vol; local
[all...]
H A Dg_raid.h427 int g_raid_start_volume(struct g_raid_volume *vol);
430 int g_raid_destroy_volume(struct g_raid_volume *vol);
445 void g_raid_change_volume_state(struct g_raid_volume *vol, int state);
447 void g_raid_write_metadata(struct g_raid_softc *sc, struct g_raid_volume *vol,
457 u_int g_raid_nsubdisks(struct g_raid_volume *vol, int state);
459 struct g_raid_subdisk * g_raid_get_subdisk(struct g_raid_volume *vol,
466 int g_raid_lock_range(struct g_raid_volume *vol, off_t off, off_t len,
468 int g_raid_unlock_range(struct g_raid_volume *vol, off_t off, off_t len);
H A Dg_raid_ctl.c55 struct g_raid_volume *vol; local
91 TAILQ_FOREACH(vol, &sc->sc_volumes, v_next) {
92 if (strcmp(vol->v_name, name) == 0)
/freebsd-10-stable/usr.sbin/mptutil/
H A Dmpt_config.c50 static void dump_config(CONFIG_PAGE_RAID_VOL_0 *vol);
227 CONFIG_PAGE_IOC_2_RAID_VOL *vol; local
249 vol = ioc2->RaidVolume;
250 for (i = 0; i < ioc2->NumActiveVolumes; vol++, i++) {
251 if (mpt_lock_volume(vol->VolumeBus, vol->VolumeID) < 0) {
253 mpt_volume_name(vol->VolumeBus, vol->VolumeID));
268 vol = ioc2->RaidVolume;
269 for (i = 0; i < ioc2->NumActiveVolumes; vol
470 CONFIG_PAGE_IOC_2_RAID_VOL *vol; local
500 CONFIG_PAGE_RAID_VOL_0 *vol; local
615 CONFIG_PAGE_RAID_VOL_0 *vol; local
807 CONFIG_PAGE_IOC_2_RAID_VOL *vol; local
1132 dump_config(CONFIG_PAGE_RAID_VOL_0 *vol) argument
1163 CONFIG_PAGE_RAID_VOL_0 *vol; local
[all...]
H A Dmpt_show.c280 CONFIG_PAGE_IOC_2_RAID_VOL *vol; local
320 vol = ioc2->RaidVolume;
321 for (i = 0; i < ioc2->NumActiveVolumes; vol++, i++) {
322 printf(" volume %s ", mpt_volume_name(vol->VolumeBus,
323 vol->VolumeID));
324 vinfo = mpt_vol_info(fd, vol->VolumeBus, vol->VolumeID, NULL);
326 printf("%s UNKNOWN", mpt_raid_level(vol->VolumeType));
329 vnames = mpt_vol_names(fd, vol->VolumeBus, vol
386 CONFIG_PAGE_IOC_2_RAID_VOL *vol; local
[all...]
H A Dmpt_cmd.c298 CONFIG_PAGE_IOC_2_RAID_VOL *vol; local
331 vol = ioc2->RaidVolume;
332 for (i = 0; i < ioc2->NumActiveVolumes; vol++, i++) {
333 if (mpt_query_disk(vol->VolumeBus, vol->VolumeID, &info) != 0)
336 *VolumeBus = vol->VolumeBus;
337 *VolumeID = vol->VolumeID;
H A Dmpt_drive.c141 CONFIG_PAGE_IOC_2_RAID_VOL *vol; local
184 vol = ioc2->RaidVolume;
185 for (i = 0; i < ioc2->NumActiveVolumes; vol++, i++) {
186 volumes[i] = mpt_vol_info(fd, vol->VolumeBus, vol->VolumeID,
/freebsd-10-stable/lib/libmandoc/
H A DMakefile15 tbl.c tbl_data.c tbl_layout.c tbl_opts.c vol.c
/freebsd-10-stable/sys/geom/vinum/
H A Dgeom_vinum_create.c316 char *drive, buf[30], *vol; local
321 vol = gctl_get_param(req, "name", NULL);
322 if (vol == NULL) {
336 strlcpy(v->name, vol, sizeof(v->name));
381 char *drive, buf[30], *vol; local
388 vol = gctl_get_param(req, "name", NULL);
389 if (vol == NULL) {
415 strlcpy(v->name, vol, sizeof(v->name));
474 char *vol, *drive, buf[30]; local
479 vol
551 char *drive, buf[30], *vol; local
[all...]
H A Dgeom_vinum_share.c577 } else if (!strcmp(token[j], "vol") ||
/freebsd-10-stable/sys/dev/sound/pcm/
H A Dfeeder_volume.c53 feed_volume_##SIGN##BIT##ENDIAN(int *vol, int *matrix, \
67 v = FEEDVOLUME_CALC##BIT(x, vol[matrix[i]]); \
240 int i, *vol, *matrix; local
251 vol = c->volume[SND_VOL_C_VAL(info->volume_class)];
260 if (vol[matrix[--i]] != SND_VOL_FLAT) {
282 info->apply(vol, matrix, info->channels, dst, j);
/freebsd-10-stable/contrib/mdocml/
H A Dman.h73 char *vol; /* `TH' volume */ member in struct:man_meta
/freebsd-10-stable/sys/gnu/dts/arm/
H A Dimx6sl.dtsi454 anatop-vol-bit-shift = <8>;
455 anatop-vol-bit-width = <5>;
468 anatop-vol-bit-shift = <8>;
469 anatop-vol-bit-width = <5>;
482 anatop-vol-bit-shift = <8>;
483 anatop-vol-bit-width = <5>;
496 anatop-vol-bit-shift = <0>;
497 anatop-vol-bit-width = <5>;
513 anatop-vol-bit-shift = <9>;
514 anatop-vol
[all...]

Completed in 423 milliseconds

123