Lines Matching refs:amt
358 int amt, fd, haderr, indx, result;
412 amt = bp->cnt;
413 if (i + amt > stb.st_size)
414 amt = stb.st_size - i;
416 result = read(fd, bp->buf, amt);
417 if (result != amt)
421 (void)write(rem, bp->buf, amt);
423 result = write(rem, bp->buf, amt);
424 if (result != amt)
498 int amt, exists, first, mask, mode, ofd, omode;
652 amt = BUFSIZ;
653 if (i + amt > size)
654 amt = size - i;
655 count += amt;
657 j = read(rem, cp, amt);
663 amt -= j;
665 } while (amt > 0);