Lines Matching defs:sectorsize
123 unsigned md_sectorsize; /* sectorsize */
250 unsigned sectorsize;
490 md_malloc_move_ma(vm_page_t **mp, int *ma_offs, unsigned sectorsize,
511 for (n = sectorsize; n != 0; n -= sz) {
665 nsec = bp->bio_length / sc->sectorsize;
666 secno = bp->bio_offset / sc->sectorsize;
677 sc->sectorsize, NULL, 0,
681 &ma_offs, sc->sectorsize, NULL, 0,
684 bzero(dst, sc->sectorsize);
688 sc->sectorsize, NULL, osp,
692 &ma_offs, sc->sectorsize, NULL, osp,
695 memset(dst, osp, sc->sectorsize);
699 sc->sectorsize, (void *)osp, 0,
703 &ma_offs, sc->sectorsize,
707 bcopy((void *)osp, dst, sc->sectorsize);
708 cpu_flush_dcache(dst, sc->sectorsize);
716 sc->sectorsize, &uc, 0,
718 i = error1 == 0 ? sc->sectorsize : 0;
721 &ma_offs, sc->sectorsize, &uc, 0,
723 i = error1 == 0 ? sc->sectorsize : 0;
726 for (i = 1; i < sc->sectorsize; i++) {
735 if (i == sc->sectorsize) {
749 &ma_offs, sc->sectorsize,
755 sc->sectorsize, (void *)sp,
759 sc->sectorsize);
765 &ma_offs, sc->sectorsize,
771 sc->sectorsize, (void *)osp,
775 sc->sectorsize);
789 dst += sc->sectorsize;
929 (ZERO_REGION_SIZE % sc->sectorsize);
1311 pp->sectorsize = sc->sectorsize;
1324 sc->devstat = devstat_new_entry("md", sc->unit, sc->sectorsize,
1351 sc->indir = dimension(sc->mediasize / sc->sectorsize);
1352 sc->uma = uma_zcreate(sc->name, sc->sectorsize, NULL, NULL, NULL, NULL,
1357 nsectors = sc->mediasize / sc->sectorsize;
1394 tmpbuf = malloc(sc->sectorsize, M_TEMP, M_WAITOK);
1398 aiov.iov_len = sc->sectorsize;
1703 sc->sectorsize = sectsize;
1738 i = sc->mediasize % sc->sectorsize;
1800 if (mdr->md_mediasize < sc->sectorsize)
1834 mdr->md_sectorsize = sc->sectorsize;
1996 sc->sectorsize = DEV_BSIZE;
2109 sbuf_printf(sb, " s %ju", (uintmax_t) mp->sectorsize);
2121 sbuf_printf(sb, "%s<sectorsize>%ju</sectorsize>\n",
2122 indent, (uintmax_t) mp->sectorsize);