Home
last modified time | relevance | path

Searched refs:stripeoffset (Results 1 – 24 of 24) sorted by relevance

/freebsd-14.2/sys/geom/nop/
H A Dg_nop.c339 off_t stripeoffset, const char *physpath) in g_nop_create() argument
390 if ((stripeoffset % pp->sectorsize) != 0) { in g_nop_create()
394 if (stripesize != 0 && stripeoffset >= stripesize) { in g_nop_create()
425 sc->sc_stripeoffset = stripeoffset; in g_nop_create()
457 newpp->stripeoffset = stripeoffset; in g_nop_create()
541 secsize, size, stripesize, stripeoffset, delaymsec, in g_nop_ctl_create() local
557 stripeoffset = 0; in g_nop_ctl_create()
658 stripeoffset = *val; in g_nop_ctl_create()
659 if (stripeoffset < 0) { in g_nop_ctl_create()
683 (off_t)stripesize, (off_t)stripeoffset, in g_nop_ctl_create()
/freebsd-14.2/lib/libgeom/
H A Dgeom_util.c133 off_t stripeoffset; in g_stripeoffset() local
135 if (g_ioctl_arg(fd, DIOCGSTRIPEOFFSET, &stripeoffset) == -1) in g_stripeoffset()
137 return (stripeoffset); in g_stripeoffset()
/freebsd-14.2/usr.sbin/diskinfo/
H A Ddiskinfo.c90 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-14.2/sys/geom/
H A Dnotes89 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 Dgeom_slice.c412 pp->stripeoffset = pp2->stripeoffset + offset; in g_slice_config()
414 pp->stripeoffset %= pp->stripesize; in g_slice_config()
H A Dgeom_dump.c230 sbuf_printf(sb, "\t <stripeoffset>%ju</stripeoffset>\n", (uintmax_t)pp->stripeoffset); in g_conf_provider()
H A Dgeom_dev.c626 pp->stripeoffset) % pp->stripesize; in g_dev_ioctl()
655 *(off_t *)data = pp->stripeoffset; in g_dev_ioctl()
H A Dgeom.h216 off_t stripeoffset; member
H A Dgeom_disk.c149 pp->stripeoffset = dp->d_stripeoffset; in g_disk_access()
739 pp->stripeoffset = dp->d_stripeoffset; in g_disk_create()
H A Dgeom_subr.c1475 gprintln(" stripeoffset: %ju", (uintmax_t)pp->stripeoffset); in db_show_geom_provider()
/freebsd-14.2/sbin/mdconfig/tests/
H A Dmdconfig_test.sh33 local stripeoffset=${6:-0}
36 …h:"/dev/$md *$sectorsize *$mediasize_in_bytes *$mediasize_in_sectors *$stripesize *$stripeoffset" \
/freebsd-14.2/sys/geom/uzip/
H A Dg_uzip.c911 pp2->stripeoffset = pp->stripeoffset; in g_uzip_taste()
919 (uintmax_t)pp2->stripeoffset, (uintmax_t)pp2->stripesize, pp2->flags)); in g_uzip_taste()
/freebsd-14.2/sys/geom/bde/
H A Dg_bde.c194 pp->stripeoffset = 0; in g_bde_create_geom()
/freebsd-14.2/sys/geom/part/
H A Dg_part.c380 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 Dg_part_bsd64.c336 pbase += DALIGN_SIZE - pp->stripeoffset % DALIGN_SIZE; in g_part_bsd64_create()
/freebsd-14.2/sys/geom/raid/
H A Dg_raid.c1654 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-14.2/sys/geom/multipath/
H A Dg_multipath.c645 if (sc->sc_pp->stripesize == 0 && sc->sc_pp->stripeoffset == 0) { in g_multipath_add_disk()
647 sc->sc_pp->stripeoffset = pp->stripeoffset; in g_multipath_add_disk()
/freebsd-14.2/sys/geom/concat/
H A Dg_concat.c490 pp->stripeoffset = dp->stripeoffset; in g_concat_check_and_run()
/freebsd-14.2/sys/cam/scsi/
H A Dscsi_da.c309 u_int stripeoffset; member
6138 dp->stripeoffset = (dp->stripesize - block_len * lalba) % in dasetgeom()
6142 dp->stripeoffset = 0; in dasetgeom()
6145 dp->stripeoffset = (dp->stripesize - block_len * in dasetgeom()
6149 dp->stripeoffset = 0; in dasetgeom()
6222 softc->disk->d_stripeoffset = softc->params.stripeoffset; in dasetgeom()
/freebsd-14.2/sys/geom/raid3/
H A Dg_raid3.c2359 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-14.2/sys/geom/mirror/
H A Dg_mirror.c2255 pp->stripeoffset = 0; in g_mirror_launch_provider()
2266 pp->stripeoffset = dp->stripeoffset; in g_mirror_launch_provider()
/freebsd-14.2/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dvdev_geom.c958 ISP2(pp->stripesize) && pp->stripeoffset == 0) in vdev_geom_open()
H A Dzvol_os.c308 pp->stripeoffset = 0; in zvol_geom_open()
/freebsd-14.2/sys/geom/stripe/
H A Dg_stripe.c712 sc->sc_provider->stripeoffset = 0; in g_stripe_check_and_run()