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

123

/freebsd-10.0-release/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.0-release/sys/geom/raid/
H A Dtr_concat.c96 g_raid_tr_update_state_concat(struct g_raid_volume *vol) argument
104 sc = vol->v_softc;
105 trs = (struct g_raid_tr_concat_object *)vol->v_tr;
111 n = g_raid_nsubdisks(vol, G_RAID_SUBDISK_S_ACTIVE);
112 f = g_raid_nsubdisks(vol, G_RAID_SUBDISK_S_FAILED);
113 if (n + f == vol->v_disks_count) {
121 if (s != vol->v_state) {
127 if (vol->v_raid_level == G_RAID_VOLUME_RL_CONCAT &&
129 !G_RAID_VOLUME_S_ALIVE(vol->v_state)) {
131 for (i = 0; i < vol
155 struct g_raid_volume *vol; local
183 struct g_raid_volume *vol; local
196 struct g_raid_volume *vol; local
209 struct g_raid_volume *vol; local
283 struct g_raid_volume *vol; local
[all...]
H A Dtr_raid1e.c143 static int g_raid_tr_raid1e_select_read_disk(struct g_raid_volume *vol,
147 V2P(struct g_raid_volume *vol, off_t virt, argument
153 strip_size = vol->v_strip_size;
159 *disk = (nstrip * N) % vol->v_disks_count;
161 *offset = ((nstrip * N) / vol->v_disks_count) * strip_size;
165 P2V(struct g_raid_volume *vol, int disk, off_t offset, argument
171 strip_size = vol->v_strip_size;
175 nstrip = (offset / strip_size) * vol->v_disks_count + disk;
183 g_raid_tr_taste_raid1e(struct g_raid_tr_object *tr, struct g_raid_volume *vol) argument
196 g_raid_tr_update_state_raid1e_even(struct g_raid_volume *vol) argument
249 g_raid_tr_update_state_raid1e_odd(struct g_raid_volume *vol) argument
303 g_raid_tr_update_state_raid1e(struct g_raid_volume *vol, struct g_raid_subdisk *sd) argument
340 struct g_raid_volume *vol; local
365 struct g_raid_volume *vol; local
402 struct g_raid_volume *vol; local
433 struct g_raid_volume *vol; local
506 struct g_raid_volume *vol; local
564 struct g_raid_volume *vol; local
610 struct g_raid_volume *vol; local
623 struct g_raid_volume *vol; local
639 g_raid_tr_raid1e_select_read_disk(struct g_raid_volume *vol, int no, off_t off, off_t len, u_int mask) argument
694 struct g_raid_volume *vol; local
759 struct g_raid_volume *vol; local
831 struct g_raid_volume *vol; local
881 struct g_raid_volume *vol; local
1140 struct g_raid_volume *vol; local
1204 struct g_raid_volume *vol; local
[all...]
H A Dtr_raid0.c94 g_raid_tr_update_state_raid0(struct g_raid_volume *vol) argument
101 sc = vol->v_softc;
102 trs = (struct g_raid_tr_raid0_object *)vol->v_tr;
108 n = g_raid_nsubdisks(vol, G_RAID_SUBDISK_S_ACTIVE);
109 f = g_raid_nsubdisks(vol, G_RAID_SUBDISK_S_FAILED);
110 if (n + f == vol->v_disks_count) {
118 if (s != vol->v_state) {
119 g_raid_event_send(vol, G_RAID_VOLUME_S_ALIVE(s) ?
122 g_raid_change_volume_state(vol, s);
124 g_raid_write_metadata(sc, vol, NUL
135 struct g_raid_volume *vol; local
163 struct g_raid_volume *vol; local
176 struct g_raid_volume *vol; local
189 struct g_raid_volume *vol; local
264 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
349 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
825 struct g_raid_volume *vol; local
923 g_raid_clean(struct g_raid_volume *vol, int acw) argument
951 g_raid_dirty(struct g_raid_volume *vol) argument
971 struct g_raid_volume *vol; local
1027 struct g_raid_volume *vol; local
1056 struct g_raid_volume *vol; local
1073 struct g_raid_volume *vol; local
1095 struct g_raid_volume *vol; local
1188 g_raid_is_in_locked_range(struct g_raid_volume *vol, const struct bio *bp) argument
1205 struct g_raid_volume *vol; local
1246 g_raid_finish_with_locked_ranges(struct g_raid_volume *vol, struct bio *bp) argument
1282 struct g_raid_volume *vol; local
1303 g_raid_lock_range(struct g_raid_volume *vol, off_t off, off_t len, struct bio *ignore, void *argp) argument
1340 g_raid_unlock_range(struct g_raid_volume *vol, off_t off, off_t len) argument
1468 struct g_raid_volume *vol; local
1520 struct g_raid_volume *vol; local
1639 g_raid_launch_provider(struct g_raid_volume *vol) argument
1708 g_raid_destroy_provider(struct g_raid_volume *vol) argument
1740 g_raid_update_volume(struct g_raid_volume *vol, u_int event) argument
1788 struct g_raid_volume *vol; local
1845 struct g_raid_volume *vol; local
1940 struct g_raid_volume *vol, *vol1; local
2006 g_raid_start_volume(struct g_raid_volume *vol) argument
2048 struct g_raid_volume *vol, *tmpv; local
2097 g_raid_destroy_volume(struct g_raid_volume *vol) argument
2317 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
2351 struct g_raid_volume *vol; local
2476 struct g_raid_volume *vol; local
[all...]
H A Dtr_raid1.c141 g_raid_tr_taste_raid1(struct g_raid_tr_object *tr, struct g_raid_volume *vol) argument
155 g_raid_tr_update_state_raid1(struct g_raid_volume *vol, argument
164 sc = vol->v_softc;
165 trs = (struct g_raid_tr_raid1_object *)vol->v_tr;
173 na = g_raid_nsubdisks(vol, G_RAID_SUBDISK_S_ACTIVE);
179 bestsd = &vol->v_subdisks[0];
180 for (i = 1; i < vol->v_disks_count; i++) {
181 tsd = &vol->v_subdisks[i];
194 vol->v_name, bestsd->sd_pos,
199 vol, bests
279 struct g_raid_volume *vol; local
316 struct g_raid_volume *vol; local
348 struct g_raid_volume *vol; local
413 struct g_raid_volume *vol; local
465 struct g_raid_volume *vol; local
478 struct g_raid_volume *vol; local
494 g_raid_tr_raid1_select_read_disk(struct g_raid_volume *vol, struct bio *bp, u_int mask) argument
552 struct g_raid_volume *vol; local
619 struct g_raid_volume *vol; local
669 struct g_raid_volume *vol; local
915 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
1235 g_raid_md_volume_event_promise(struct g_raid_md_object *md, struct g_raid_volume *vol, u_int event) argument
1255 struct g_raid_volume *vol, *vol1; local
1694 struct g_raid_volume *vol; local
1974 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;
1148 struct g_raid_volume *vol; local
1161 vol = g_raid_create_volume(sc, mvol->name, mvol->tid - 1);
1168 vol->v_md_data = pv;
1169 vol
1581 struct g_raid_volume *vol, *vol1; local
2241 struct g_raid_volume *vol; local
2575 g_raid_md_free_volume_intel(struct g_raid_md_object *md, struct g_raid_volume *vol) argument
[all...]
H A Dmd_ddf.c1360 struct g_raid_volume *vol; local
1363 TAILQ_FOREACH(vol, &sc->sc_volumes, v_next) {
1364 pv = vol->v_md_data;
1368 return (vol);
1395 struct g_raid_volume *vol, *tvol; local
1400 TAILQ_FOREACH_SAFE(vol, &sc->sc_volumes, v_next, tvol) {
1401 pv = vol->v_md_data;
1402 if (vol->v_stopping)
1404 for (i = 0; i < vol->v_disks_count; i++) {
1405 if (vol
1580 g_raid_md_ddf_start_disk(struct g_raid_disk *disk, struct g_raid_volume *vol) argument
1763 struct g_raid_volume *vol; local
1825 g_raid_md_ddf_start(struct g_raid_volume *vol) argument
1908 struct g_raid_volume *vol; local
1930 struct g_raid_volume *vol; local
2200 g_raid_md_volume_event_ddf(struct g_raid_md_object *md, struct g_raid_volume *vol, u_int event) argument
2220 struct g_raid_volume *vol, *vol1; local
2700 struct g_raid_volume *vol; local
3025 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
1022 struct g_raid_volume *vol; local
1390 struct g_raid_volume *vol; local
[all...]
H A Dmd_nvidia.c654 struct g_raid_volume *vol; local
667 vol = g_raid_create_volume(sc, buf, -1);
668 vol->v_mediasize = (off_t)meta->total_sectors * 512;
669 vol->v_raid_level_qualifier = G_RAID_VOLUME_RLQ_NONE;
671 vol->v_raid_level = G_RAID_VOLUME_RL_RAID0;
672 size = vol->v_mediasize / mdi->mdio_total_disks;
674 vol->v_raid_level = G_RAID_VOLUME_RL_RAID1;
675 size = vol->v_mediasize;
677 vol->v_raid_level = G_RAID_VOLUME_RL_RAID1E;
678 size = vol
1025 struct g_raid_volume *vol; local
1393 struct g_raid_volume *vol; local
[all...]
H A Dmd_sii.c710 struct g_raid_volume *vol; local
724 vol = g_raid_create_volume(sc, buf, -1);
725 vol->v_mediasize = (off_t)meta->total_sectors * 512;
726 vol->v_raid_level_qualifier = G_RAID_VOLUME_RLQ_NONE;
728 vol->v_raid_level = G_RAID_VOLUME_RL_RAID0;
729 size = vol->v_mediasize / mdi->mdio_total_disks;
731 vol->v_raid_level = G_RAID_VOLUME_RL_RAID1;
732 size = vol->v_mediasize;
734 vol->v_raid_level = G_RAID_VOLUME_RL_RAID1E;
735 size = vol
1109 struct g_raid_volume *vol; local
1477 struct g_raid_volume *vol; local
[all...]
H A Dg_raid.h426 int g_raid_start_volume(struct g_raid_volume *vol);
429 int g_raid_destroy_volume(struct g_raid_volume *vol);
444 void g_raid_change_volume_state(struct g_raid_volume *vol, int state);
446 void g_raid_write_metadata(struct g_raid_softc *sc, struct g_raid_volume *vol,
456 u_int g_raid_nsubdisks(struct g_raid_volume *vol, int state);
458 struct g_raid_subdisk * g_raid_get_subdisk(struct g_raid_volume *vol,
465 int g_raid_lock_range(struct g_raid_volume *vol, off_t off, off_t len,
467 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.0-release/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.0-release/lib/libmandoc/
H A DMakefile15 tbl.c tbl_data.c tbl_layout.c tbl_opts.c vol.c
/freebsd-10.0-release/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.0-release/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.0-release/contrib/mdocml/
H A Dman.h73 char *vol; /* `TH' volume */ member in struct:man_meta
/freebsd-10.0-release/sys/geom/part/
H A Dg_part_ldm.c275 struct ldm_volume vol; member in union:ldm_vblk::__anon9801
943 blk->u.vol.number = p[offset + 16];
949 offset = ldm_vnum_get(p, offset + 16, &blk->u.vol.size, size);
958 blk->u.vol.part_type = p[offset + 4];
962 if (volume->number > blk->u.vol.number)
967 LIST_INSERT_AFTER(last, &blk->u.vol, entry);
969 LIST_INSERT_HEAD(&db->volumes, &blk->u.vol, entry);
1347 struct ldm_volume *vol; local
1412 LIST_FOREACH(vol, &db.volumes, entry) {
1413 LIST_FOREACH(comp, &vol
[all...]

Completed in 193 milliseconds

123