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