Home
last modified time | relevance | path

Searched refs:TftpContext (Results 1 – 2 of 2) sorted by relevance

/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellTftpCommandLib/
DTftp.c901 DOWNLOAD_CONTEXT *TftpContext; in DownloadFile() local
922 TftpContext = AllocatePool (sizeof (DOWNLOAD_CONTEXT)); in DownloadFile()
923 if (TftpContext == NULL) { in DownloadFile()
927 TftpContext->FileSize = FileSize; in DownloadFile()
928 TftpContext->DownloadedNbOfBytes = 0; in DownloadFile()
929 TftpContext->LastReportedNbOfBytes = 0; in DownloadFile()
936 Mtftp4Token.Context = (VOID*)TftpContext; in DownloadFile()
959 if (TftpContext == NULL) { in DownloadFile()
960 FreePool (TftpContext); in DownloadFile()
/device/linaro/bootloader/edk2/ArmPkg/Library/BdsLib/
DBdsFilePath.c1046 BDS_TFTP_CONTEXT *TftpContext; in BdsTftpLoadImage() local
1058 TftpContext = NULL; in BdsTftpLoadImage()
1206 TftpContext = AllocatePool (sizeof (BDS_TFTP_CONTEXT)); in BdsTftpLoadImage()
1207 if (TftpContext == NULL) { in BdsTftpLoadImage()
1211 TftpContext->FileSize = FileSize; in BdsTftpLoadImage()
1229 TftpContext->DownloadedNbOfBytes = 0; in BdsTftpLoadImage()
1230 TftpContext->LastReportedNbOfBytes = 0; in BdsTftpLoadImage()
1237 Mtftp4Token.Context = (VOID*)TftpContext; in BdsTftpLoadImage()
1282 if (TftpContext != NULL) { in BdsTftpLoadImage()
1283 FreePool (TftpContext); in BdsTftpLoadImage()