/freebsd-13-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-13-stable/sys/geom/nop/ |
H A D | g_nop.c | 342 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 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-13-stable/sbin/mdconfig/tests/ |
H A D | mdconfig_test.sh | 34 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 D | geom_slice.c | 416 pp->stripeoffset = pp2->stripeoffset + offset; 418 pp->stripeoffset %= pp->stripesize;
|
H A D | geom_dump.c | 231 sbuf_printf(sb, "\t <stripeoffset>%ju</stripeoffset>\n", (uintmax_t)pp->stripeoffset);
|
H A D | geom.h | 218 off_t stripeoffset; member in struct:g_provider
|
H A D | geom_dev.c | 657 pp->stripeoffset) % pp->stripesize; 686 *(off_t *)data = pp->stripeoffset;
|
H A D | geom_disk.c | 149 pp->stripeoffset = dp->d_stripeoffset; 727 pp->stripeoffset = dp->d_stripeoffset;
|
H A D | geom_subr.c | 1478 gprintln(" stripeoffset: %ju", (uintmax_t)pp->stripeoffset);
|
/freebsd-13-stable/sys/geom/bde/ |
H A D | g_bde.c | 196 pp->stripeoffset = 0;
|
/freebsd-13-stable/sys/geom/uzip/ |
H A D | g_uzip.c | 913 pp2->stripeoffset = pp->stripeoffset; 921 (uintmax_t)pp2->stripeoffset, (uintmax_t)pp2->stripesize, pp2->flags));
|
/freebsd-13-stable/sys/geom/concat/ |
H A D | g_concat.c | 481 pp->stripeoffset = sc->sc_disks[0].d_consumer->provider->stripeoffset;
|
/freebsd-13-stable/sys/geom/part/ |
H A D | g_part.c | 380 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 D | g_part_bsd64.c | 338 pbase += DALIGN_SIZE - pp->stripeoffset % DALIGN_SIZE;
|
/freebsd-13-stable/sys/geom/raid/ |
H A D | g_raid.c | 1658 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 D | g_multipath.c | 647 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 D | scsi_da.c | 310 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 D | vdev_geom.c | 955 pp->stripeoffset == 0)
|
H A D | zvol_os.c | 284 pp->stripeoffset = 0;
|
/freebsd-13-stable/sys/geom/raid3/ |
H A D | g_raid3.c | 2334 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 D | g_stripe.c | 721 sc->sc_provider->stripeoffset = 0;
|
/freebsd-13-stable/sys/geom/mirror/ |
H A D | g_mirror.c | 2224 pp->stripeoffset = 0; 2235 pp->stripeoffset = dp->stripeoffset;
|