/freebsd/sys/geom/nop/ |
H A D | g_nop.c | 338 off_t stripeoffset, const char *physpath) in g_nop_create() argument 389 if ((stripeoffset % pp->sectorsize) != 0) { in g_nop_create() 393 if (stripesize != 0 && stripeoffset >= stripesize) { in g_nop_create() 424 sc->sc_stripeoffset = stripeoffset; in g_nop_create() 456 newpp->stripeoffset = stripeoffset; in g_nop_create() 540 secsize, size, stripesize, stripeoffset, delaymsec, in g_nop_ctl_create() local 556 stripeoffset = 0; in g_nop_ctl_create() 657 stripeoffset = *val; in g_nop_ctl_create() 658 if (stripeoffset < 0) { in g_nop_ctl_create() 682 (off_t)stripesize, (off_t)stripeoffset, in g_nop_ctl_create()
|
/freebsd/lib/libgeom/ |
H A D | geom_util.c | 132 off_t stripeoffset; in g_stripeoffset() local 134 if (g_ioctl_arg(fd, DIOCGSTRIPEOFFSET, &stripeoffset) == -1) in g_stripeoffset() 136 return (stripeoffset); in g_stripeoffset()
|
/freebsd/usr.sbin/diskinfo/ |
H A D | diskinfo.c | 90 off_t mediasize, stripesize, stripeoffset; in main() local 172 stripeoffset = 0; in main() 218 error = ioctl(fd, DIOCGSTRIPEOFFSET, &stripeoffset); in main() 220 stripeoffset = 0; in main() 231 printf("\t%jd", (intmax_t)stripeoffset); in main() 248 printf("\t%-12jd\t# stripeoffset\n", stripeoffset); in main()
|
/freebsd/sys/geom/ |
H A D | notes | 89 maxsize, stripesize and stripeoffset 102 stripeoffset is the amount of the first stripe which lies before the 109 Then it will have stripesize = 64k and stripeoffset = 0. 112 then this slice will have: stripesize = 64k, stripeoffset = 63 * sectorsize. 117 stripewith - (53 * sectorsize + stripeoffset) % stripewidth.
|
H A D | geom_slice.c | 410 pp->stripeoffset = pp2->stripeoffset + offset; in g_slice_config() 412 pp->stripeoffset %= pp->stripesize; in g_slice_config()
|
H A D | geom_dump.c | 229 sbuf_printf(sb, "\t <stripeoffset>%ju</stripeoffset>\n", (uintmax_t)pp->stripeoffset); in g_conf_provider()
|
H A D | geom_dev.c | 625 pp->stripeoffset) % pp->stripesize; in g_dev_ioctl() 654 *(off_t *)data = pp->stripeoffset; in g_dev_ioctl()
|
H A D | geom.h | 216 off_t stripeoffset; member
|
H A D | geom_disk.c | 149 pp->stripeoffset = dp->d_stripeoffset; in g_disk_access() 739 pp->stripeoffset = dp->d_stripeoffset; in g_disk_create()
|
H A D | geom_subr.c | 1474 gprintln(" stripeoffset: %ju", (uintmax_t)pp->stripeoffset); in db_show_geom_provider()
|
/freebsd/sbin/mdconfig/tests/ |
H A D | mdconfig_test.sh | 33 local stripeoffset=${6:-0} 36 …h:"/dev/$md *$sectorsize *$mediasize_in_bytes *$mediasize_in_sectors *$stripesize *$stripeoffset" \
|
/freebsd/sys/geom/uzip/ |
H A D | g_uzip.c | 911 pp2->stripeoffset = pp->stripeoffset; in g_uzip_taste() 919 (uintmax_t)pp2->stripeoffset, (uintmax_t)pp2->stripesize, pp2->flags)); in g_uzip_taste()
|
/freebsd/sys/geom/bde/ |
H A D | g_bde.c |
|
/freebsd/sys/geom/raid/ |
H A D | g_raid.c | 1654 pp->stripeoffset = 0; in g_raid_launch_provider() 1663 off = disk->d_consumer->provider->stripeoffset; in g_raid_launch_provider() 1664 pp->stripeoffset = off + vol->v_subdisks[0].sd_offset; in g_raid_launch_provider() 1666 pp->stripeoffset %= off; in g_raid_launch_provider() 1670 pp->stripeoffset *= (vol->v_disks_count - 1); in g_raid_launch_provider()
|
/freebsd/sys/geom/part/ |
H A D | g_part.c | 380 if ((offset + pp->stripeoffset) % pp->stripesize) { in g_part_check_integrity() 506 entry->gpe_pp->stripeoffset = pp->stripeoffset + entry->gpe_offset; in g_part_new_provider() 508 entry->gpe_pp->stripeoffset %= pp->stripesize; in g_part_new_provider() 824 if (pp->stripesize > 0 && entry->gpe_pp->stripeoffset != 0) in g_part_ctl_add()
|
H A D | g_part_bsd64.c | 336 pbase += DALIGN_SIZE - pp->stripeoffset % DALIGN_SIZE; in g_part_bsd64_create()
|
/freebsd/sys/geom/multipath/ |
H A D | g_multipath.c | 644 if (sc->sc_pp->stripesize == 0 && sc->sc_pp->stripeoffset == 0) { in g_multipath_add_disk() 646 sc->sc_pp->stripeoffset = pp->stripeoffset; in g_multipath_add_disk()
|
/freebsd/sys/geom/concat/ |
H A D | g_concat.c | 489 pp->stripeoffset = dp->stripeoffset; in g_concat_check_and_run()
|
/freebsd/sys/cam/scsi/ |
H A D | scsi_da.c | 308 u_int stripeoffset; member 6166 dp->stripeoffset = (dp->stripesize - block_len * lalba) % in dasetgeom() 6170 dp->stripeoffset = 0; in dasetgeom() 6173 dp->stripeoffset = (dp->stripesize - block_len * in dasetgeom() 6177 dp->stripeoffset = 0; in dasetgeom() 6250 softc->disk->d_stripeoffset = softc->params.stripeoffset; in dasetgeom()
|
/freebsd/sys/geom/raid3/ |
H A D | g_raid3.c | 2359 pp->stripeoffset = 0; in g_raid3_launch_provider() 2365 pp->stripeoffset = disk->d_consumer->provider->stripeoffset; in g_raid3_launch_provider() 2369 pp->stripeoffset *= sc->sc_ndisks - 1; in g_raid3_launch_provider()
|
/freebsd/sys/geom/mirror/ |
H A D | g_mirror.c | 2254 pp->stripeoffset = 0; in g_mirror_launch_provider() 2265 pp->stripeoffset = dp->stripeoffset; in g_mirror_launch_provider()
|
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/ |
H A D | vdev_geom.c | 954 ISP2(pp->stripesize) && pp->stripeoffset == 0) in vdev_geom_open()
|
H A D | zvol_os.c | 309 pp->stripeoffset = 0; in zvol_geom_open()
|
/freebsd/sys/geom/stripe/ |
H A D | g_stripe.c | 711 sc->sc_provider->stripeoffset = 0;
|