Lines Matching defs:amount_read
2825 int amount_read;
2842 if ((amount_read = read(Ifile, Buffr.b_in_p, readsz)) < 0) {
2853 if (amount_read == 0) {
2857 } else if (amount_read > amt_to_read) {
2860 (amount_read - amt_to_read);
2861 amount_read = amt_to_read;
2862 } else if (amount_read == amt_to_read) {
2867 Buffr.b_in_p += amount_read;
2868 Buffr.b_cnt += (long)amount_read;
2870 amt_to_read -= (off_t)amount_read;
2872 amt_to_read == 0 && amount_read == CPIOBSZ) {
2879 amount_read = read(Ifile, Buffr.b_in_p, CPIOBSZ);
2880 if (amount_read != 0) {
2882 *real_filesz = file_size + amount_read;