Lines Matching defs:amt_to_read
2826 off_t amt_to_read;
2832 amt_to_read = file_size;
2834 if (read_exact && amt_to_read < CPIOBSZ)
2835 readsz = amt_to_read;
2855 *real_filesz = file_size - amt_to_read;
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) {
2870 amt_to_read -= (off_t)amount_read;
2872 amt_to_read == 0 && amount_read == CPIOBSZ) {
2876 * amt_to_read already gets 0.
2885 } while (amt_to_read != 0);
2887 return (amt_to_read);
2971 off_t amt_to_read;
3179 amt_to_read = read_compress_holes(nam_p, G_p->g_filesz,
3182 amt_to_read = read_file(nam_p, G_p->g_filesz,
3186 while (amt_to_read > 0) {
3187 cnt = (amt_to_read > CPIOBSZ) ? CPIOBSZ : (int)amt_to_read;
3192 amt_to_read -= cnt;