Lines Matching defs:amt
457 int amt, fd, haderr, indx, result;
511 amt = bp->cnt;
512 if (i + amt > stb.st_size)
513 amt = stb.st_size - i;
515 result = read(fd, bp->buf, amt);
516 if (result != amt)
520 (void)write(rem, bp->buf, amt);
522 result = write(rem, bp->buf, amt);
523 if (result != amt)
597 int amt, exists, first, mask, mode, ofd, omode;
751 amt = BUFSIZ;
752 if (i + amt > size)
753 amt = size - i;
754 count += amt;
756 j = read(rem, cp, amt);
762 amt -= j;
764 } while (amt > 0);