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