Lines Matching defs:strip
1701 off_t off, size, sectorsize, strip, disk_sectors;
1827 /* Handle strip argument. */
1828 strip = 131072;
1830 striparg = gctl_get_param(req, "strip", &len);
1838 gctl_error(req, "Incorrect strip size.");
1841 if (strip > 65535 * sectorsize) {
1845 strip = *striparg;
1848 /* Round size down to strip or sector. */
1853 size -= (size % (2 * strip));
1855 size -= (size % strip);
1869 vol->v_strip_size = strip;
1878 vol->v_mediasize = ((size * numdisks) / strip / 2) *
1879 strip;
2002 /* Handle strip argument. */
2003 strip = 131072;
2005 striparg = gctl_get_param(req, "strip", &len);
2013 gctl_error(req, "Incorrect strip size.");
2016 if (strip > 65535 * sectorsize) {
2020 strip = *striparg;
2023 /* Round offset up to strip. */
2024 if (off % strip != 0) {
2025 size -= strip - off % strip;
2026 off += strip - off % strip;
2042 /* Round size down to strip or sector. */
2046 size -= (size % strip);
2063 vol->v_strip_size = strip;
2072 vol->v_mediasize = ((size * numdisks) / strip / 2) *
2073 strip;