Lines Matching refs:left
239 /* st devices return 0 when no space left */
262 /* st devices return 0 when no more space left */
906 int rv, cur_buf, left, have, tpcnt;
918 left = *Cnts[cur_buf];
919 if (!left)
923 while (left) {
924 have = (left < Out.f_bsize) ? left : Out.f_bsize;
942 left -= rv;
963 int rv, left, have, tpcnt, cur_buf;
983 left = Bufsz;
985 while (left >= In.f_bsize && xfer_cnt) {
989 *Cnts[cur_buf] = Bufsz - left;
1002 *Cnts[cur_buf] = Bufsz - left;
1012 left -= rv;
1026 *Cnts[cur_buf] = Bufsz - left;
1049 int rv, left, have, tpcnt = 1, xfer_cnt = Fs * BLKSIZ;
1056 left = Bufsz - *Cnts[0];
1058 while (left >= In.f_bsize && xfer_cnt) {
1062 *Cnts[0] = Bufsz - left;
1078 left -= rv;
1083 } /* left >= In.f_bsize && xfer_cnt */
1084 *Cnts[0] = Bufsz - left;
1087 left = *Cnts[0];
1089 while (left >= Out.f_bsize || (left > 0 && !xfer_cnt)) {
1090 have = (left < Out.f_bsize) ? left : Out.f_bsize;
1108 left -= rv;
1113 } /* left >= Out.f_bsize */
1114 if (left) {
1115 (void) memcpy(Buf[0], c_p, left);
1116 Blocks -= left;
1118 *Cnts[0] = left;