Searched refs:inbufsize (Results 1 – 4 of 4) sorted by relevance
112 size_t inbufsize; member146 tftpfile->inbufsize = size; in tftp_open()148 if (tftpfile->inbufsize == 0) in tftp_open()152 EFI_SIZE_TO_PAGES(tftpfile->inbufsize), &addr); in tftp_open()177 EFI_SIZE_TO_PAGES(tftpfile->inbufsize)); in tftp_close()188 if (size > tftpfile->inbufsize - tftpfile->inbufoff) in tftp_read()189 toread = tftpfile->inbufsize - tftpfile->inbufoff; in tftp_read()217 tftpfile->inbufoff + offset > tftpfile->inbufsize) { in tftp_seek()224 if (offset < 0 || offset > tftpfile->inbufsize) { in tftp_seek()231 tftpfile->inbufoff = tftpfile->inbufsize; in tftp_seek()[all …]
139 size_t inbufsize; member173 tftpfile->inbufsize = size; in mtftp_open()175 if (tftpfile->inbufsize == 0) in mtftp_open()179 EFI_SIZE_TO_PAGES(tftpfile->inbufsize), &addr); in mtftp_open()204 EFI_SIZE_TO_PAGES(tftpfile->inbufsize)); in mtftp_close()215 if (size > tftpfile->inbufsize - tftpfile->inbufoff) in mtftp_read()216 toread = tftpfile->inbufsize - tftpfile->inbufoff; in mtftp_read()244 tftpfile->inbufoff + offset > tftpfile->inbufsize) { in mtftp_seek()251 if (offset < 0 || offset > tftpfile->inbufsize) { in mtftp_seek()258 tftpfile->inbufoff = tftpfile->inbufsize; in mtftp_seek()[all …]