Lines Matching defs:sectorsize
63 u_int sectorsize;
75 u_int sectorsize;
187 (m)->sectorsize))
191 (m)->sectorsize))
586 ss = disk->d_consumer->provider->sectorsize;
589 meta->sectorsize = ss;
599 if (ss != sample->sectorsize) {
602 sample->sectorsize, ss));
606 sample->sectorsize, ss));
609 sample->sectorsize, ss));
612 sample->sectorsize, ss));
615 sample->sectorsize, ss));
618 sample->sectorsize, ss));
621 sample->sectorsize, ss));
624 sample->sectorsize, ss));
627 sample->sectorsize, ss));
630 sample->sectorsize, ss));
766 ss = dst->sectorsize = src->sectorsize;
852 ss = meta->sectorsize = sample->sectorsize;
887 size = GET16(src, hdr->Configuration_Record_Length) * src->sectorsize;
905 ss = dst->sectorsize = src->sectorsize;
1050 ss = meta->sectorsize = pp->sectorsize;
1282 ss = pp->sectorsize;
1377 buf = malloc(pp->sectorsize, M_MD_DDF, M_WAITOK | M_ZERO);
1378 error = g_write_data(cp, pp->mediasize - pp->sectorsize,
1379 buf, pp->sectorsize);
1675 eoff *= pd->pd_meta.sectorsize;
1676 esize *= pd->pd_meta.sectorsize;
1881 vol->v_sectorsize = vmeta->sectorsize;
2261 off_t size, sectorsize, strip, offs[DDF_MAX_DISKS_HARD], esize;
2303 sectorsize = 0;
2345 offs[i] *= pp->sectorsize;
2346 size = MIN(size, (off_t)esize * pp->sectorsize);
2347 sectorsize = MAX(sectorsize, pp->sectorsize);
2378 pdr->entry[0].Configured_Size) * pp->sectorsize);
2379 sectorsize = MAX(sectorsize, pp->sectorsize);
2390 if (sectorsize <= 0) {
2414 if (*striparg < sectorsize) {
2418 if (*striparg % sectorsize != 0) {
2430 size -= (size % sectorsize);
2480 vol->v_sectorsize = sectorsize;
2704 pd->pd_meta.sectorsize -
2836 vmeta->sectorsize;
2938 pd->pd_meta.sectorsize);
2982 pd->pd_meta.sectorsize);