Lines Matching refs:sectorsize
60 int sectorsize; member
100 sc->sp = calloc(1, sizeof(*sc->sp) + sc->sectorsize); in startElement()
123 sc->sectorsize = strtoul(sbuf_data(sc->sbuf), &p, 0); in endElement()
150 memset(sc->sp->data, j, sc->sectorsize); in endElement()
154 for (i = 0; i < sc->sectorsize; i++) { in endElement()
242 sc->mediasize = sc->lastsector + sc->sectorsize * 10; in main()
243 if (sc->sectorsize == 0) in main()
244 sc->sectorsize = 512; in main()
246 (intmax_t)sc->mediasize / sc->sectorsize, sc->sectorsize); in main()
263 error = write(fd, dsp->data, sc->sectorsize); in main()
264 if (error != sc->sectorsize) in main()