| /freebsd-12.1/sys/geom/nop/ |
| H A D | g_nop.c | 199 u_int secsize, u_int stripesize, u_int stripeoffset, const char *physpath) in g_nop_create() argument 249 if ((stripeoffset % pp->sectorsize) != 0) { in g_nop_create() 253 if (stripesize != 0 && stripeoffset >= stripesize) { in g_nop_create() 269 sc->sc_stripeoffset = stripeoffset; in g_nop_create() 295 newpp->stripeoffset = stripeoffset; in g_nop_create() 373 *stripesize, *stripeoffset; in g_nop_ctl_create() local 448 stripeoffset = gctl_get_paraml(req, "stripeoffset", sizeof(*stripeoffset)); in g_nop_ctl_create() 449 if (stripeoffset == NULL) { in g_nop_ctl_create() 453 if (*stripeoffset < 0) { in g_nop_ctl_create() 479 (u_int)*stripesize, (u_int)*stripeoffset, in g_nop_ctl_create()
|
| /freebsd-12.1/lib/libgeom/ |
| H A D | geom_util.c | 135 off_t stripeoffset; in g_stripeoffset() local 137 if (g_ioctl_arg(fd, DIOCGSTRIPEOFFSET, &stripeoffset) == -1) in g_stripeoffset() 139 return (stripeoffset); in g_stripeoffset()
|
| /freebsd-12.1/usr.sbin/diskinfo/ |
| H A D | diskinfo.c | 89 off_t mediasize, stripesize, stripeoffset; in main() local 168 stripeoffset = 0; in main() 211 error = ioctl(fd, DIOCGSTRIPEOFFSET, &stripeoffset); in main() 213 stripeoffset = 0; in main() 224 printf("\t%jd", (intmax_t)stripeoffset); in main() 241 printf("\t%-12jd\t# stripeoffset\n", stripeoffset); in main()
|
| /freebsd-12.1/sys/geom/ |
| H A D | notes | 90 maxsize, stripesize and stripeoffset 103 stripeoffset is the amount of the first stripe which lies before the 110 Then it will have stripesize = 64k and stripeoffset = 0. 113 then this slice will have: stripesize = 64k, stripeoffset = 63 * sectorsize. 118 stripewith - (53 * sectorsize + stripeoffset) % stripewidth.
|
| H A D | geom_slice.c | 415 pp->stripeoffset = pp2->stripeoffset + offset; in g_slice_config() 417 pp->stripeoffset %= pp->stripesize; in g_slice_config()
|
| H A D | geom_dev.c | 605 cp->provider->stripeoffset) % in g_dev_ioctl() 637 *(off_t *)data = cp->provider->stripeoffset; in g_dev_ioctl()
|
| H A D | geom_dump.c | 226 sbuf_printf(sb, "\t <stripeoffset>%u</stripeoffset>\n", pp->stripeoffset); in g_conf_provider()
|
| H A D | geom.h | 219 u_int stripeoffset; member
|
| H A D | geom_disk.c | 150 pp->stripeoffset = dp->d_stripeoffset; in g_disk_access() 723 pp->stripeoffset = dp->d_stripeoffset; in g_disk_create()
|
| H A D | geom_subr.c | 1413 gprintln(" stripeoffset: %u", pp->stripeoffset); in db_show_geom_provider()
|
| /freebsd-12.1/sbin/mdconfig/tests/ |
| H A D | mdconfig_test.sh | 35 local stripeoffset=${6:-0} 38 …h:"/dev/$md *$sectorsize *$mediasize_in_bytes *$mediasize_in_sectors *$stripesize *$stripeoffset" \
|
| /freebsd-12.1/sys/geom/uzip/ |
| H A D | g_uzip.c | 848 pp2->stripeoffset = pp->stripeoffset; in g_uzip_taste() 854 pp2->stripeoffset, pp2->stripesize, pp2->flags)); in g_uzip_taste()
|
| /freebsd-12.1/sys/geom/bde/ |
| H A D | g_bde.c | 191 pp->stripeoffset = 0; in g_bde_create_geom()
|
| /freebsd-12.1/sys/geom/raid/ |
| H A D | g_raid.c | 1655 pp->stripeoffset = 0; in g_raid_launch_provider() 1664 off = disk->d_consumer->provider->stripeoffset; in g_raid_launch_provider() 1665 pp->stripeoffset = off + vol->v_subdisks[0].sd_offset; in g_raid_launch_provider() 1667 pp->stripeoffset %= off; in g_raid_launch_provider() 1671 pp->stripeoffset *= (vol->v_disks_count - 1); in g_raid_launch_provider()
|
| /freebsd-12.1/sys/geom/part/ |
| H A D | g_part.c | 372 if ((offset + pp->stripeoffset) % pp->stripesize) { in g_part_check_integrity() 507 entry->gpe_pp->stripeoffset = pp->stripeoffset + entry->gpe_offset; in g_part_new_provider() 509 entry->gpe_pp->stripeoffset %= pp->stripesize; in g_part_new_provider() 825 if (pp->stripesize > 0 && entry->gpe_pp->stripeoffset != 0) in g_part_ctl_add()
|
| H A D | g_part_bsd64.c | 337 pbase += DALIGN_SIZE - pp->stripeoffset % DALIGN_SIZE; in g_part_bsd64_create()
|
| /freebsd-12.1/sys/geom/multipath/ |
| H A D | g_multipath.c | 623 if (sc->sc_pp->stripesize == 0 && sc->sc_pp->stripeoffset == 0) { in g_multipath_add_disk() 625 sc->sc_pp->stripeoffset = pp->stripeoffset; in g_multipath_add_disk()
|
| /freebsd-12.1/sys/geom/concat/ |
| H A D | g_concat.c | 477 pp->stripeoffset = sc->sc_disks[0].d_consumer->provider->stripeoffset; in g_concat_check_and_run()
|
| /freebsd-12.1/sys/cam/scsi/ |
| H A D | scsi_da.c | 285 u_int stripeoffset; member 5990 dp->stripeoffset = (dp->stripesize - block_len * lalba) % in dasetgeom() 5994 dp->stripeoffset = 0; in dasetgeom() 5997 dp->stripeoffset = (dp->stripesize - block_len * in dasetgeom() 6001 dp->stripeoffset = 0; in dasetgeom() 6072 softc->disk->d_stripeoffset = softc->params.stripeoffset; in dasetgeom()
|
| /freebsd-12.1/sys/geom/raid3/ |
| H A D | g_raid3.c | 2333 pp->stripeoffset = 0; in g_raid3_launch_provider() 2339 pp->stripeoffset = disk->d_consumer->provider->stripeoffset; in g_raid3_launch_provider() 2343 pp->stripeoffset *= sc->sc_ndisks - 1; in g_raid3_launch_provider()
|
| /freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
| H A D | vdev_geom.c | 960 pp->stripesize <= (1 << SPA_MAXASHIFT) && pp->stripeoffset == 0) in vdev_geom_open()
|
| H A D | zvol.c | 1205 pp->stripeoffset = 0;
|
| /freebsd-12.1/sys/geom/mirror/ |
| H A D | g_mirror.c | 2196 pp->stripeoffset = 0; in g_mirror_launch_provider() 2207 pp->stripeoffset = dp->stripeoffset; in g_mirror_launch_provider()
|
| /freebsd-12.1/sys/geom/stripe/ |
| H A D | g_stripe.c | 711 sc->sc_provider->stripeoffset = 0; in g_stripe_check_and_run()
|