Lines Matching defs:nbyte
282 dos_read(struct open_file *fd, void *buf, size_t nbyte, size_t *resid)
295 nb = (u_int)nbyte;
333 *resid = nbyte - nb + cnt;
757 u_int val_in, val_out, offset, blknum, nbyte;
768 nbyte = fs->fatsz != 32 ? 2 : 4;
769 if (offset + nbyte > secbyt(fs->spf))
773 if (offset + nbyte > FATBLKSZ)
818 ioread(DOS_FS *fs, u_int offset, void *buf, size_t nbyte)
828 if ((n = SECSIZ - off) > nbyte)
829 n = nbyte;
835 nbyte -= n;
837 n = nbyte & (SECSIZ - 1);
838 if (nbyte -= n) {
839 if ((err = ioget(fs->fd, bytsec(offset), s, nbyte)))
841 offset += nbyte;
842 s += nbyte;