Home
last modified time | relevance | path

Searched refs:inbufsize (Results 1 – 4 of 4) sorted by relevance

/openbsd/sys/arch/amd64/stand/efiboot/
H A Defipxe.c112 size_t inbufsize; member
146 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 …]
/openbsd/sys/arch/arm64/stand/efiboot/
H A Defipxe.c139 size_t inbufsize; member
173 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 …]
/openbsd/sys/arch/armv7/stand/efiboot/
H A Defipxe.c139 size_t inbufsize; member
173 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 …]
/openbsd/sys/arch/riscv64/stand/efiboot/
H A Defipxe.c139 size_t inbufsize; member
173 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 …]