Lines Matching refs:Rx6Token
150 gBS->CloseEvent (Wrap->TcpWrap.Rx6Token.CompletionToken.Event); in HttpTcpReceiveNotifyDpc()
151 Wrap->TcpWrap.Rx6Token.CompletionToken.Event = NULL; in HttpTcpReceiveNotifyDpc()
153 if (EFI_ERROR (Wrap->TcpWrap.Rx6Token.CompletionToken.Status)) { in HttpTcpReceiveNotifyDpc()
154 …DEBUG ((EFI_D_ERROR, "HttpTcpReceiveNotifyDpc: %r!\n", Wrap->TcpWrap.Rx6Token.CompletionToken.Stat… in HttpTcpReceiveNotifyDpc()
155 Wrap->HttpToken->Status = Wrap->TcpWrap.Rx6Token.CompletionToken.Status; in HttpTcpReceiveNotifyDpc()
245 Wrap->HttpToken->Status = Wrap->TcpWrap.Rx6Token.CompletionToken.Status; in HttpTcpReceiveNotifyDpc()
507 &HttpInstance->Rx6Token.CompletionToken.Event in HttpCreateTcpRxEventForHeader()
514 HttpInstance->Rx6Token.Packet.RxData = &HttpInstance->Rx6Data; in HttpCreateTcpRxEventForHeader()
515 HttpInstance->Rx6Token.CompletionToken.Status = EFI_NOT_READY; in HttpCreateTcpRxEventForHeader()
565 &TcpWrap->Rx6Token.CompletionToken.Event in HttpCreateTcpRxEvent()
572 TcpWrap->Rx6Token.Packet.RxData = &Wrap->TcpWrap.Rx6Data; in HttpCreateTcpRxEvent()
573 TcpWrap->Rx6Token.CompletionToken.Status = EFI_NOT_READY; in HttpCreateTcpRxEvent()
596 if (Wrap->TcpWrap.Rx6Token.CompletionToken.Event != NULL) { in HttpCloseTcpRxEvent()
597 gBS->CloseEvent (Wrap->TcpWrap.Rx6Token.CompletionToken.Event); in HttpCloseTcpRxEvent()
600 if (HttpInstance->Rx6Token.CompletionToken.Event != NULL) { in HttpCloseTcpRxEvent()
601 gBS->CloseEvent (HttpInstance->Rx6Token.CompletionToken.Event); in HttpCloseTcpRxEvent()
602 HttpInstance->Rx6Token.CompletionToken.Event = NULL; in HttpCloseTcpRxEvent()
1757 EFI_TCP6_IO_TOKEN *Rx6Token; in HttpTcpReceiveHeader() local
1772 Rx6Token = NULL; in HttpTcpReceiveHeader()
1890 Rx6Token = &HttpInstance->Rx6Token; in HttpTcpReceiveHeader()
1891 Rx6Token->Packet.RxData->FragmentTable[0].FragmentBuffer = AllocateZeroPool (DEF_BUF_LEN); in HttpTcpReceiveHeader()
1892 if (Rx6Token->Packet.RxData->FragmentTable[0].FragmentBuffer == NULL) { in HttpTcpReceiveHeader()
1904 Rx6Token->Packet.RxData->DataLength = DEF_BUF_LEN; in HttpTcpReceiveHeader()
1905 Rx6Token->Packet.RxData->FragmentTable[0].FragmentLength = DEF_BUF_LEN; in HttpTcpReceiveHeader()
1906 Status = Tcp6->Receive (Tcp6, Rx6Token); in HttpTcpReceiveHeader()
1920 Tcp6->Cancel (HttpInstance->Tcp6, &Rx6Token->CompletionToken); in HttpTcpReceiveHeader()
1921 gBS->CloseEvent (Rx6Token->CompletionToken.Event); in HttpTcpReceiveHeader()
1922 Rx6Token->CompletionToken.Status = EFI_TIMEOUT; in HttpTcpReceiveHeader()
1925 Status = Rx6Token->CompletionToken.Status; in HttpTcpReceiveHeader()
1930 Fragment.Len = Rx6Token->Packet.RxData->FragmentTable[0].FragmentLength; in HttpTcpReceiveHeader()
1931 Fragment.Bulk = (UINT8 *) Rx6Token->Packet.RxData->FragmentTable[0].FragmentBuffer; in HttpTcpReceiveHeader()
1977 …if (Rx6Token != NULL && Rx6Token->Packet.RxData != NULL && Rx6Token->Packet.RxData->FragmentTable[… in HttpTcpReceiveHeader()
1978 FreePool (Rx6Token->Packet.RxData->FragmentTable[0].FragmentBuffer); in HttpTcpReceiveHeader()
1979 Rx6Token->Packet.RxData->FragmentTable[0].FragmentBuffer = NULL; in HttpTcpReceiveHeader()
2016 EFI_TCP6_IO_TOKEN *Rx6Token; in HttpTcpReceiveBody() local
2024 Rx6Token = NULL; in HttpTcpReceiveBody()
2033 Rx6Token = &Wrap->TcpWrap.Rx6Token; in HttpTcpReceiveBody()
2034 Rx6Token ->Packet.RxData->DataLength = (UINT32) HttpMsg->BodyLength; in HttpTcpReceiveBody()
2035 Rx6Token ->Packet.RxData->FragmentTable[0].FragmentLength = (UINT32) HttpMsg->BodyLength; in HttpTcpReceiveBody()
2036 Rx6Token ->Packet.RxData->FragmentTable[0].FragmentBuffer = (VOID *) HttpMsg->Body; in HttpTcpReceiveBody()
2037 Rx6Token->CompletionToken.Status = EFI_NOT_READY; in HttpTcpReceiveBody()
2039 Status = Tcp6->Receive (Tcp6, Rx6Token); in HttpTcpReceiveBody()
2075 EFI_TCP6_IO_TOKEN *Rx6Token; in HttpTcpTokenCleanup() local
2080 Rx6Token = NULL; in HttpTcpTokenCleanup()
2083 Rx6Token = &Wrap->TcpWrap.Rx6Token; in HttpTcpTokenCleanup()
2085 if (Rx6Token->CompletionToken.Event != NULL) { in HttpTcpTokenCleanup()
2086 gBS->CloseEvent (Rx6Token->CompletionToken.Event); in HttpTcpTokenCleanup()
2087 Rx6Token->CompletionToken.Event = NULL; in HttpTcpTokenCleanup()
2092 Rx6Token = &HttpInstance->Rx6Token; in HttpTcpTokenCleanup()
2094 if (Rx6Token->CompletionToken.Event != NULL) { in HttpTcpTokenCleanup()
2095 gBS->CloseEvent (Rx6Token->CompletionToken.Event); in HttpTcpTokenCleanup()
2096 Rx6Token->CompletionToken.Event = NULL; in HttpTcpTokenCleanup()
2099 if (Rx6Token->Packet.RxData->FragmentTable[0].FragmentBuffer != NULL) { in HttpTcpTokenCleanup()
2100 FreePool (Rx6Token->Packet.RxData->FragmentTable[0].FragmentBuffer); in HttpTcpTokenCleanup()
2101 Rx6Token->Packet.RxData->FragmentTable[0].FragmentBuffer = NULL; in HttpTcpTokenCleanup()