Home | History | Annotate | Download | only in libsa

Lines Matching refs:ISO_DEFAULT_BLOCK_SIZE

76 #define	cdb2devb(bno)	((bno) * ISO_DEFAULT_BLOCK_SIZE / DEV_BSIZE)
149 buf_size = ISO_DEFAULT_BLOCK_SIZE;
157 ISO_DEFAULT_BLOCK_SIZE, buf, &nread);
160 if (nread != ISO_DEFAULT_BLOCK_SIZE) {
172 if (isonum_723(vd->logical_block_size) != ISO_DEFAULT_BLOCK_SIZE)
179 if (psize > ISO_DEFAULT_BLOCK_SIZE) {
180 dealloc(buf, ISO_DEFAULT_BLOCK_SIZE);
181 buf = alloc(buf_size = roundup(psize, ISO_DEFAULT_BLOCK_SIZE));
237 if (!(psize % ISO_DEFAULT_BLOCK_SIZE)) {
244 ISO_DEFAULT_BLOCK_SIZE,
248 if (nread != ISO_DEFAULT_BLOCK_SIZE) {
256 psize += ISO_DEFAULT_BLOCK_SIZE;
258 psize = roundup(psize, ISO_DEFAULT_BLOCK_SIZE);
315 char buf[ISO_DEFAULT_BLOCK_SIZE];
322 bno = fp->off / ISO_DEFAULT_BLOCK_SIZE + fp->bno;
323 if (fp->off & (ISO_DEFAULT_BLOCK_SIZE - 1)
324 || (fp->off + ISO_DEFAULT_BLOCK_SIZE) > fp->size
325 || size < ISO_DEFAULT_BLOCK_SIZE)
333 ISO_DEFAULT_BLOCK_SIZE, dp, &nread);
336 if (nread != ISO_DEFAULT_BLOCK_SIZE)
340 off = fp->off & (ISO_DEFAULT_BLOCK_SIZE - 1);
352 start = (char *)start + ISO_DEFAULT_BLOCK_SIZE;
353 fp->off += ISO_DEFAULT_BLOCK_SIZE;
354 size -= ISO_DEFAULT_BLOCK_SIZE;