Lines Matching refs:amt
750 size_t amt;
819 amt = bp->cnt;
820 if (i + (off_t)amt > stb.st_size)
821 amt = stb.st_size - i;
823 if (atomicio(read, fd, bp->buf, amt) != amt)
828 (void)atomicio(vwrite, remout, bp->buf, amt);
831 if (atomicio6(vwrite, remout, bp->buf, amt, scpio,
832 &statbytes) != amt)
912 int amt, exists, first, ofd;
1102 amt = bp->cnt;
1103 if (i + amt > size)
1104 amt = size - i;
1105 count += amt;
1107 j = atomicio6(read, remin, cp, amt,
1115 amt -= j;
1117 } while (amt > 0);