Lines Matching defs:sector_size
180 uint_t sector_size;
183 sector_size = mediainfo.dki_lbsize;
185 sector_size = NBPSCTR;
187 trksiz = sector_size * dkg.dkg_nsect;
199 if (mallopt(M_GRAIN, sector_size)) {
203 if ((verbuf = malloc(sector_size * dkg.dkg_nsect)) ==
211 if ((verbuf = malloc(sector_size + sector_size * dkg.dkg_nsect))
216 verbuf = (char *)((((unsigned long)verbuf + sector_size)) &
217 (-sector_size));
252 if (llseek(devfd, cursec * sector_size, 0) == -1) {
275 if (llseek(devfd, tmpsec * sector_size,
285 if (write(devfd, verbuf, sector_size)
286 != sector_size) {
299 if (llseek(devfd, cursec * sector_size, 0) == -1) {
316 if (llseek(devfd, tmpsec * sector_size,
324 if (read(devfd, verbuf, sector_size) !=
325 sector_size) {