Searched refs:stripeoffset (Results 1 - 23 of 23) sorted by relevance

/freebsd-12-stable/lib/libgeom/
H A Dgeom_util.c135 off_t stripeoffset; local
137 if (g_ioctl_arg(fd, DIOCGSTRIPEOFFSET, &stripeoffset) == -1)
139 return (stripeoffset);
/freebsd-12-stable/sys/geom/nop/
H A Dg_nop.c199 u_int secsize, u_int stripesize, u_int stripeoffset, const char *physpath)
249 if ((stripeoffset % pp->sectorsize) != 0) {
250 gctl_error(req, "Invalid stripeoffset for provider %s.", pp->name);
253 if (stripesize != 0 && stripeoffset >= stripesize) {
254 gctl_error(req, "stripeoffset is too big.");
269 sc->sc_stripeoffset = stripeoffset;
295 newpp->stripeoffset = stripeoffset;
373 *stripesize, *stripeoffset; local
448 stripeoffset
197 g_nop_create(struct gctl_req *req, struct g_class *mp, struct g_provider *pp, int ioerror, u_int rfailprob, u_int wfailprob, off_t offset, off_t size, u_int secsize, u_int stripesize, u_int stripeoffset, const char *physpath) argument
[all...]
/freebsd-12-stable/usr.sbin/diskinfo/
H A Ddiskinfo.c89 off_t mediasize, stripesize, stripeoffset; local
168 stripeoffset = 0;
211 error = ioctl(fd, DIOCGSTRIPEOFFSET, &stripeoffset);
213 stripeoffset = 0;
224 printf("\t%jd", (intmax_t)stripeoffset);
241 printf("\t%-12jd\t# stripeoffset\n", stripeoffset);
/freebsd-12-stable/sbin/mdconfig/tests/
H A Dmdconfig_test.sh35 local stripeoffset=${6:-0}
38 -o match:"/dev/$md *$sectorsize *$mediasize_in_bytes *$mediasize_in_sectors *$stripesize *$stripeoffset" \
/freebsd-12-stable/sys/geom/
H A Dgeom_slice.c415 pp->stripeoffset = pp2->stripeoffset + offset;
417 pp->stripeoffset %= pp->stripesize;
H A Dgeom_dump.c226 sbuf_printf(sb, "\t <stripeoffset>%u</stripeoffset>\n", pp->stripeoffset);
H A Dgeom.h219 u_int stripeoffset; member in struct:g_provider
H A Dgeom_dev.c608 pp->stripeoffset) % pp->stripesize;
637 *(off_t *)data = pp->stripeoffset;
H A Dgeom_disk.c151 pp->stripeoffset = dp->d_stripeoffset;
726 pp->stripeoffset = dp->d_stripeoffset;
H A Dgeom_subr.c1416 gprintln(" stripeoffset: %u", pp->stripeoffset);
/freebsd-12-stable/sys/geom/bde/
H A Dg_bde.c191 pp->stripeoffset = 0;
/freebsd-12-stable/sys/geom/uzip/
H A Dg_uzip.c858 pp2->stripeoffset = pp->stripeoffset;
864 pp2->stripeoffset, pp2->stripesize, pp2->flags));
/freebsd-12-stable/sys/geom/concat/
H A Dg_concat.c477 pp->stripeoffset = sc->sc_disks[0].d_consumer->provider->stripeoffset;
/freebsd-12-stable/sys/geom/part/
H A Dg_part.c372 if ((offset + pp->stripeoffset) % pp->stripesize) {
507 entry->gpe_pp->stripeoffset = pp->stripeoffset + entry->gpe_offset;
509 entry->gpe_pp->stripeoffset %= pp->stripesize;
825 if (pp->stripesize > 0 && entry->gpe_pp->stripeoffset != 0)
H A Dg_part_bsd64.c337 pbase += DALIGN_SIZE - pp->stripeoffset % DALIGN_SIZE;
/freebsd-12-stable/sys/geom/raid/
H A Dg_raid.c1655 pp->stripeoffset = 0;
1664 off = disk->d_consumer->provider->stripeoffset;
1665 pp->stripeoffset = off + vol->v_subdisks[0].sd_offset;
1667 pp->stripeoffset %= off;
1671 pp->stripeoffset *= (vol->v_disks_count - 1);
/freebsd-12-stable/sys/geom/multipath/
H A Dg_multipath.c641 if (sc->sc_pp->stripesize == 0 && sc->sc_pp->stripeoffset == 0) {
643 sc->sc_pp->stripeoffset = pp->stripeoffset;
/freebsd-12-stable/sys/cam/scsi/
H A Dscsi_da.c285 u_int stripeoffset; member in struct:disk_params
6016 dp->stripeoffset = (dp->stripesize - block_len * lalba) %
6020 dp->stripeoffset = 0;
6023 dp->stripeoffset = (dp->stripesize - block_len *
6027 dp->stripeoffset = 0;
6098 softc->disk->d_stripeoffset = softc->params.stripeoffset;
/freebsd-12-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dvdev_geom.c960 pp->stripesize <= (1 << SPA_MAXASHIFT) && pp->stripeoffset == 0)
H A Dzvol.c1205 pp->stripeoffset = 0;
/freebsd-12-stable/sys/geom/raid3/
H A Dg_raid3.c2333 pp->stripeoffset = 0;
2339 pp->stripeoffset = disk->d_consumer->provider->stripeoffset;
2343 pp->stripeoffset *= sc->sc_ndisks - 1;
/freebsd-12-stable/sys/geom/stripe/
H A Dg_stripe.c711 sc->sc_provider->stripeoffset = 0;
/freebsd-12-stable/sys/geom/mirror/
H A Dg_mirror.c2196 pp->stripeoffset = 0;
2207 pp->stripeoffset = dp->stripeoffset;

Completed in 224 milliseconds