Lines Matching defs:sectorsize
277 pp->mediasize - pp->sectorsize, pp->sectorsize, &error);
301 memcpy(meta, buf, min(sizeof(*meta), pp->sectorsize));
344 buf = malloc(pp->sectorsize, M_MD_SII, M_WAITOK | M_ZERO);
350 pp->mediasize - (pp->sectorsize * (1 + 0x200 * i)),
351 buf, pp->sectorsize);
371 buf = malloc(pp->sectorsize, M_MD_SII, M_WAITOK | M_ZERO);
375 pp->mediasize - (pp->sectorsize * (1 + 0x200 * i)),
376 buf, pp->sectorsize);
394 cp->provider->sectorsize - 0x800;
1123 off_t size, sectorsize, strip;
1166 sectorsize = 0;
1205 if (sectorsize < pp->sectorsize)
1206 sectorsize = pp->sectorsize;
1211 if (sectorsize <= 0) {
1217 size -= 0x800 * sectorsize;
1238 if (*striparg < sectorsize) {
1242 if (*striparg % sectorsize != 0) {
1246 if (strip > 65535 * sectorsize) {
1255 size -= (size % sectorsize);
1265 if (size > 0xffffffffffffllu * sectorsize) {
1291 vol->v_sectorsize = sectorsize;