Lines Matching refs:amt
589 off_t i, amt, result; local
669 amt = bp->cnt;
670 if (i + amt > stb.st_size)
671 amt = stb.st_size - i;
673 result = atomicio(read, fd, bp->buf, amt);
674 if (result != amt)
678 (void) atomicio(write, remout, bp->buf, amt);
680 result = atomicio(write, remout, bp->buf, amt);
681 if (result != amt)
768 int amt, count, exists, first, mask, mode, ofd, omode; local
945 amt = bp->cnt;
947 if (i + amt > size)
948 amt = size - i;
949 count = amt;
951 j = read(remin, cp, amt);
960 amt -= j;
963 } while (amt > 0);