Searched refs:needblock (Results 1 – 1 of 1) sorted by relevance
533 int needblock, count; in tftp_read() local537 needblock = tftpfile->off / tftpfile->tftp_blksize + 1; in tftp_read()539 if (tftpfile->currblock > needblock) { /* seek backwards */ in tftp_read()546 while (tftpfile->currblock < needblock) { in tftp_read()564 if (tftpfile->currblock == needblock) { in tftp_read()590 printf("tftp: block %d not found\n", needblock); in tftp_read()