Lines Matching defs:amount_read
2820 int amount_read;
2837 if ((amount_read = read(Ifile, Buffr.b_in_p, readsz)) < 0) {
2848 if (amount_read == 0) {
2852 } else if (amount_read > amt_to_read) {
2855 (amount_read - amt_to_read);
2856 amount_read = amt_to_read;
2857 } else if (amount_read == amt_to_read) {
2862 Buffr.b_in_p += amount_read;
2863 Buffr.b_cnt += (long)amount_read;
2865 amt_to_read -= (off_t)amount_read;
2867 amt_to_read == 0 && amount_read == CPIOBSZ) {
2874 amount_read = read(Ifile, Buffr.b_in_p, CPIOBSZ);
2875 if (amount_read != 0) {
2877 *real_filesz = file_size + amount_read;