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

/freebsd-13-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-13-stable/sys/geom/nop/
H A Dg_nop.c342 off_t stripeoffset, const char *physpath)
393 if ((stripeoffset % pp->sectorsize) != 0) {
394 gctl_error(req, "Invalid stripeoffset for provider %s.", pp->name);
397 if (stripesize != 0 && stripeoffset >= stripesize) {
398 gctl_error(req, "stripeoffset is too big.");
428 sc->sc_stripeoffset = stripeoffset;
460 newpp->stripeoffset = stripeoffset;
544 secsize, size, stripesize, stripeoffset, delaymsec, local
560 stripeoffset
338 g_nop_create(struct gctl_req *req, struct g_class *mp, struct g_provider *pp, const char *gnopname, int ioerror, u_int count_until_fail, u_int rfailprob, u_int wfailprob, u_int delaymsec, u_int rdelayprob, u_int wdelayprob, off_t offset, off_t size, u_int secsize, off_t stripesize, off_t stripeoffset, const char *physpath) argument
[all...]
/freebsd-13-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-13-stable/sbin/mdconfig/tests/
H A Dmdconfig_test.sh34 local stripeoffset=${6:-0}
37 -o match:"/dev/$md *$sectorsize *$mediasize_in_bytes *$mediasize_in_sectors *$stripesize *$stripeoffset" \
/freebsd-13-stable/sys/geom/
H A Dgeom_slice.c416 pp->stripeoffset = pp2->stripeoffset + offset;
418 pp->stripeoffset %= pp->stripesize;
H A Dgeom_dump.c231 sbuf_printf(sb, "\t <stripeoffset>%ju</stripeoffset>\n", (uintmax_t)pp->stripeoffset);
H A Dgeom.h218 off_t stripeoffset; member in struct:g_provider
H A Dgeom_dev.c657 pp->stripeoffset) % pp->stripesize;
686 *(off_t *)data = pp->stripeoffset;
H A Dgeom_disk.c149 pp->stripeoffset = dp->d_stripeoffset;
727 pp->stripeoffset = dp->d_stripeoffset;
H A Dgeom_subr.c1478 gprintln(" stripeoffset: %ju", (uintmax_t)pp->stripeoffset);
/freebsd-13-stable/sys/geom/bde/
H A Dg_bde.c196 pp->stripeoffset = 0;
/freebsd-13-stable/sys/geom/uzip/
H A Dg_uzip.c913 pp2->stripeoffset = pp->stripeoffset;
921 (uintmax_t)pp2->stripeoffset, (uintmax_t)pp2->stripesize, pp2->flags));
/freebsd-13-stable/sys/geom/concat/
H A Dg_concat.c481 pp->stripeoffset = sc->sc_disks[0].d_consumer->provider->stripeoffset;
/freebsd-13-stable/sys/geom/part/
H A Dg_part.c380 if ((offset + pp->stripeoffset) % pp->stripesize) {
506 entry->gpe_pp->stripeoffset = pp->stripeoffset + entry->gpe_offset;
508 entry->gpe_pp->stripeoffset %= pp->stripesize;
824 if (pp->stripesize > 0 && entry->gpe_pp->stripeoffset != 0)
H A Dg_part_bsd64.c338 pbase += DALIGN_SIZE - pp->stripeoffset % DALIGN_SIZE;
/freebsd-13-stable/sys/geom/raid/
H A Dg_raid.c1658 pp->stripeoffset = 0;
1667 off = disk->d_consumer->provider->stripeoffset;
1668 pp->stripeoffset = off + vol->v_subdisks[0].sd_offset;
1670 pp->stripeoffset %= off;
1674 pp->stripeoffset *= (vol->v_disks_count - 1);
/freebsd-13-stable/sys/geom/multipath/
H A Dg_multipath.c647 if (sc->sc_pp->stripesize == 0 && sc->sc_pp->stripeoffset == 0) {
649 sc->sc_pp->stripeoffset = pp->stripeoffset;
/freebsd-13-stable/sys/cam/scsi/
H A Dscsi_da.c310 u_int stripeoffset; member in struct:disk_params
6107 dp->stripeoffset = (dp->stripesize - block_len * lalba) %
6111 dp->stripeoffset = 0;
6114 dp->stripeoffset = (dp->stripesize - block_len *
6118 dp->stripeoffset = 0;
6189 softc->disk->d_stripeoffset = softc->params.stripeoffset;
/freebsd-13-stable/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dvdev_geom.c955 pp->stripeoffset == 0)
H A Dzvol_os.c284 pp->stripeoffset = 0;
/freebsd-13-stable/sys/geom/raid3/
H A Dg_raid3.c2334 pp->stripeoffset = 0;
2340 pp->stripeoffset = disk->d_consumer->provider->stripeoffset;
2344 pp->stripeoffset *= sc->sc_ndisks - 1;
/freebsd-13-stable/sys/geom/stripe/
H A Dg_stripe.c721 sc->sc_provider->stripeoffset = 0;
/freebsd-13-stable/sys/geom/mirror/
H A Dg_mirror.c2224 pp->stripeoffset = 0;
2235 pp->stripeoffset = dp->stripeoffset;

Completed in 338 milliseconds