Lines Matching refs:left
904 int rv, cur_buf, left, have, tpcnt; in child_copy() local
916 left = *Cnts[cur_buf]; in child_copy()
917 if (!left) in child_copy()
921 while (left) { in child_copy()
922 have = (left < Out.f_bsize) ? left : Out.f_bsize; in child_copy()
940 left -= rv; in child_copy()
961 int rv, left, have, tpcnt, cur_buf; in parent_copy() local
981 left = Bufsz; in parent_copy()
983 while (left >= In.f_bsize && xfer_cnt) { in parent_copy()
987 *Cnts[cur_buf] = Bufsz - left; in parent_copy()
1000 *Cnts[cur_buf] = Bufsz - left; in parent_copy()
1010 left -= rv; in parent_copy()
1024 *Cnts[cur_buf] = Bufsz - left; in parent_copy()
1047 int rv, left, have, tpcnt = 1, xfer_cnt = Fs * BLKSIZ; in copy() local
1054 left = Bufsz - *Cnts[0]; in copy()
1056 while (left >= In.f_bsize && xfer_cnt) { in copy()
1060 *Cnts[0] = Bufsz - left; in copy()
1076 left -= rv; in copy()
1082 *Cnts[0] = Bufsz - left; in copy()
1085 left = *Cnts[0]; in copy()
1087 while (left >= Out.f_bsize || (left > 0 && !xfer_cnt)) { in copy()
1088 have = (left < Out.f_bsize) ? left : Out.f_bsize; in copy()
1106 left -= rv; in copy()
1112 if (left) { in copy()
1113 (void) memcpy(Buf[0], c_p, left); in copy()
1114 Blocks -= left; in copy()
1116 *Cnts[0] = left; in copy()