Lines Matching refs:have
904 int rv, cur_buf, left, have, tpcnt; in child_copy() local
922 have = (left < Out.f_bsize) ? left : Out.f_bsize; in child_copy()
928 have = (tpcnt < have) ? tpcnt : have; in child_copy()
931 if ((rv = g_write(Out.f_dev, Out.f_des, c_p, have)) < in child_copy()
961 int rv, left, have, tpcnt, cur_buf; in parent_copy() local
984 have = (xfer_cnt < In.f_bsize) ? xfer_cnt : In.f_bsize; in parent_copy()
995 have = (tpcnt < have) ? tpcnt : have; in parent_copy()
998 if ((rv = g_read(In.f_dev, In.f_des, c_p, have)) < 0) { in parent_copy()
1047 int rv, left, have, tpcnt = 1, xfer_cnt = Fs * BLKSIZ; in copy() local
1057 have = (xfer_cnt < In.f_bsize) ? xfer_cnt : In.f_bsize; in copy()
1065 have = (tpcnt < have) ? tpcnt : have; in copy()
1068 if ((rv = g_read(In.f_dev, In.f_des, c_p, have)) < 0) { in copy()
1088 have = (left < Out.f_bsize) ? left : Out.f_bsize; in copy()
1094 have = (tpcnt < have) ? tpcnt : have; in copy()
1097 if ((rv = g_write(Out.f_dev, Out.f_des, c_p, have)) < in copy()