/freebsd-12-stable/lib/libgeom/ |
H A D | geom_util.c | 135 off_t stripeoffset; local 137 if (g_ioctl_arg(fd, DIOCGSTRIPEOFFSET, &stripeoffset) == -1) 139 return (stripeoffset);
|
/freebsd-12-stable/sys/geom/nop/ |
H A D | g_nop.c | 199 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 D | diskinfo.c | 89 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 D | mdconfig_test.sh | 35 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 D | geom_slice.c | 415 pp->stripeoffset = pp2->stripeoffset + offset; 417 pp->stripeoffset %= pp->stripesize;
|
H A D | geom_dump.c | 226 sbuf_printf(sb, "\t <stripeoffset>%u</stripeoffset>\n", pp->stripeoffset);
|
H A D | geom.h | 219 u_int stripeoffset; member in struct:g_provider
|
H A D | geom_dev.c | 608 pp->stripeoffset) % pp->stripesize; 637 *(off_t *)data = pp->stripeoffset;
|
H A D | geom_disk.c | 151 pp->stripeoffset = dp->d_stripeoffset; 726 pp->stripeoffset = dp->d_stripeoffset;
|
H A D | geom_subr.c | 1416 gprintln(" stripeoffset: %u", pp->stripeoffset);
|
/freebsd-12-stable/sys/geom/bde/ |
H A D | g_bde.c | 191 pp->stripeoffset = 0;
|
/freebsd-12-stable/sys/geom/uzip/ |
H A D | g_uzip.c | 858 pp2->stripeoffset = pp->stripeoffset; 864 pp2->stripeoffset, pp2->stripesize, pp2->flags));
|
/freebsd-12-stable/sys/geom/concat/ |
H A D | g_concat.c | 477 pp->stripeoffset = sc->sc_disks[0].d_consumer->provider->stripeoffset;
|
/freebsd-12-stable/sys/geom/part/ |
H A D | g_part.c | 372 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 D | g_part_bsd64.c | 337 pbase += DALIGN_SIZE - pp->stripeoffset % DALIGN_SIZE;
|
/freebsd-12-stable/sys/geom/raid/ |
H A D | g_raid.c | 1655 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 D | g_multipath.c | 641 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 D | scsi_da.c | 285 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 D | vdev_geom.c | 960 pp->stripesize <= (1 << SPA_MAXASHIFT) && pp->stripeoffset == 0)
|
H A D | zvol.c | 1205 pp->stripeoffset = 0;
|
/freebsd-12-stable/sys/geom/raid3/ |
H A D | g_raid3.c | 2333 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 D | g_stripe.c | 711 sc->sc_provider->stripeoffset = 0;
|
/freebsd-12-stable/sys/geom/mirror/ |
H A D | g_mirror.c | 2196 pp->stripeoffset = 0; 2207 pp->stripeoffset = dp->stripeoffset;
|