/device/linaro/bootloader/edk2/NetworkPkg/HttpDxe/ |
D | HttpImpl.c | 249 HTTP_TOKEN_WRAP *Wrap; in EfiHttpRequest() local 262 Wrap = NULL; in EfiHttpRequest() 425 Wrap = AllocateZeroPool (sizeof (HTTP_TOKEN_WRAP)); in EfiHttpRequest() 426 if (Wrap == NULL) { in EfiHttpRequest() 431 Wrap->HttpToken = Token; in EfiHttpRequest() 432 Wrap->HttpInstance = HttpInstance; in EfiHttpRequest() 434 Status = HttpCreateTcpTxEvent (Wrap); in EfiHttpRequest() 439 Status = NetMapInsertTail (&HttpInstance->TxTokens, Token, Wrap); in EfiHttpRequest() 444 Wrap->TcpWrap.Method = Request->Method; in EfiHttpRequest() 538 Wrap = AllocateZeroPool (sizeof (HTTP_TOKEN_WRAP)); in EfiHttpRequest() [all …]
|
D | HttpProto.c | 51 HTTP_TOKEN_WRAP *Wrap; in HttpTcpTransmitNotifyDpc() local 58 Wrap = (HTTP_TOKEN_WRAP *) Context; in HttpTcpTransmitNotifyDpc() 59 HttpInstance = Wrap->HttpInstance; in HttpTcpTransmitNotifyDpc() 62 Wrap->HttpToken->Status = Wrap->TcpWrap.Tx4Token.CompletionToken.Status; in HttpTcpTransmitNotifyDpc() 63 gBS->SignalEvent (Wrap->HttpToken->Event); in HttpTcpTransmitNotifyDpc() 68 if (Wrap->TcpWrap.Tx4Token.Packet.TxData->FragmentTable[0].FragmentBuffer != NULL) { in HttpTcpTransmitNotifyDpc() 69 FreePool (Wrap->TcpWrap.Tx4Token.Packet.TxData->FragmentTable[0].FragmentBuffer); in HttpTcpTransmitNotifyDpc() 72 if (Wrap->TcpWrap.Tx4Token.CompletionToken.Event != NULL) { in HttpTcpTransmitNotifyDpc() 73 gBS->CloseEvent (Wrap->TcpWrap.Tx4Token.CompletionToken.Event); in HttpTcpTransmitNotifyDpc() 77 Wrap->HttpToken->Status = Wrap->TcpWrap.Tx6Token.CompletionToken.Status; in HttpTcpTransmitNotifyDpc() [all …]
|
D | HttpProto.h | 261 IN HTTP_TOKEN_WRAP *Wrap 289 IN HTTP_TOKEN_WRAP *Wrap 300 IN HTTP_TOKEN_WRAP *Wrap 371 IN HTTP_TOKEN_WRAP *Wrap 387 IN HTTP_TOKEN_WRAP *Wrap 437 IN HTTP_TOKEN_WRAP *Wrap, 498 IN HTTP_TOKEN_WRAP *Wrap, 575 IN HTTP_TOKEN_WRAP *Wrap, 587 IN HTTP_TOKEN_WRAP *Wrap 602 IN HTTP_TOKEN_WRAP *Wrap
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Udp4Dxe/ |
D | Udp4Impl.c | 406 UDP4_RXDATA_WRAP *Wrap; in Udp4CheckTimeout() local 429 Wrap = NET_LIST_USER_STRUCT (WrapEntry, UDP4_RXDATA_WRAP, Link); in Udp4CheckTimeout() 434 if (Wrap->TimeoutTick < (UDP4_TIMEOUT_INTERVAL / 10)) { in Udp4CheckTimeout() 438 Udp4RecycleRxDataWrap (NULL, (VOID *) Wrap); in Udp4CheckTimeout() 440 Wrap->TimeoutTick -= (UDP4_TIMEOUT_INTERVAL / 10); in Udp4CheckTimeout() 1196 UDP4_RXDATA_WRAP *Wrap; in Udp4FlushRcvdDgram() local 1202 Wrap = NET_LIST_HEAD (&Instance->RcvdDgramQue, UDP4_RXDATA_WRAP, Link); in Udp4FlushRcvdDgram() 1207 Udp4RecycleRxDataWrap (NULL, (VOID *) Wrap); in Udp4FlushRcvdDgram() 1360 UDP4_RXDATA_WRAP *Wrap; in Udp4RecycleRxDataWrap() local 1362 Wrap = (UDP4_RXDATA_WRAP *) Context; in Udp4RecycleRxDataWrap() [all …]
|
/device/linaro/bootloader/edk2/NetworkPkg/Udp6Dxe/ |
D | Udp6Impl.c | 420 UDP6_RXDATA_WRAP *Wrap; in Udp6CheckTimeout() local 443 Wrap = NET_LIST_USER_STRUCT (WrapEntry, UDP6_RXDATA_WRAP, Link); in Udp6CheckTimeout() 445 if (Wrap->TimeoutTick < UDP6_TIMEOUT_INTERVAL / 10) { in Udp6CheckTimeout() 449 Udp6RecycleRxDataWrap (NULL, (VOID *) Wrap); in Udp6CheckTimeout() 451 Wrap->TimeoutTick -= UDP6_TIMEOUT_INTERVAL / 10; in Udp6CheckTimeout() 1186 UDP6_RXDATA_WRAP *Wrap; in Udp6FlushRcvdDgram() local 1192 Wrap = NET_LIST_HEAD (&Instance->RcvdDgramQue, UDP6_RXDATA_WRAP, Link); in Udp6FlushRcvdDgram() 1197 Udp6RecycleRxDataWrap (NULL, (VOID *) Wrap); in Udp6FlushRcvdDgram() 1345 UDP6_RXDATA_WRAP *Wrap; in Udp6RecycleRxDataWrap() local 1347 Wrap = (UDP6_RXDATA_WRAP *) Context; in Udp6RecycleRxDataWrap() [all …]
|
/device/linaro/bootloader/edk2/NetworkPkg/Ip6Dxe/ |
D | Ip6Impl.c | 1127 IP6_TXTOKEN_WRAP *Wrap; in Ip6FreeTxToken() local 1130 Wrap = (IP6_TXTOKEN_WRAP *) Context; in Ip6FreeTxToken() 1135 if (Wrap->IpSecRecycleSignal != NULL) { in Ip6FreeTxToken() 1136 gBS->SignalEvent (Wrap->IpSecRecycleSignal); in Ip6FreeTxToken() 1143 Item = NetMapFindKey (&Wrap->IpInstance->TxTokens, Wrap->Token); in Ip6FreeTxToken() 1146 NetMapRemoveItem (&Wrap->IpInstance->TxTokens, Item, NULL); in Ip6FreeTxToken() 1149 if (Wrap->Sent) { in Ip6FreeTxToken() 1150 gBS->SignalEvent (Wrap->Token->Event); in Ip6FreeTxToken() 1158 FreePool (Wrap); in Ip6FreeTxToken() 1179 IP6_TXTOKEN_WRAP *Wrap; in Ip6OnPacketSent() local [all …]
|
D | Ip6Input.c | 464 IP6_IPSEC_WRAP *Wrap; in Ip6IpSecFree() local 466 Wrap = (IP6_IPSEC_WRAP *) Arg; in Ip6IpSecFree() 468 if (Wrap->IpSecRecycleSignal != NULL) { in Ip6IpSecFree() 469 gBS->SignalEvent (Wrap->IpSecRecycleSignal); in Ip6IpSecFree() 472 NetbufFree (Wrap->Packet); in Ip6IpSecFree() 474 FreePool (Wrap); in Ip6IpSecFree() 1187 IP6_RXDATA_WRAP *Wrap; in Ip6OnRecyclePacket() local 1189 Wrap = (IP6_RXDATA_WRAP *) Context; in Ip6OnRecyclePacket() 1191 EfiAcquireLockOrFail (&Wrap->IpInstance->RecycleLock); in Ip6OnRecyclePacket() 1192 RemoveEntryList (&Wrap->Link); in Ip6OnRecyclePacket() [all …]
|
D | Ip6Output.c | 519 IP6_TXTOKEN_WRAP *Wrap; in Ip6Output() local 924 Wrap = (IP6_TXTOKEN_WRAP *) Context; in Ip6Output() 925 Wrap->Token->Status = Status; in Ip6Output()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Ip4Dxe/ |
D | Ip4Impl.c | 1514 IP4_TXTOKEN_WRAP *Wrap; in Ip4FreeTxToken() local 1517 Wrap = (IP4_TXTOKEN_WRAP *) Context; in Ip4FreeTxToken() 1522 if (Wrap->IpSecRecycleSignal != NULL) { in Ip4FreeTxToken() 1523 gBS->SignalEvent (Wrap->IpSecRecycleSignal); in Ip4FreeTxToken() 1530 Item = NetMapFindKey (&Wrap->IpInstance->TxTokens, Wrap->Token); in Ip4FreeTxToken() 1533 NetMapRemoveItem (&Wrap->IpInstance->TxTokens, Item, NULL); in Ip4FreeTxToken() 1536 if (Wrap->Sent) { in Ip4FreeTxToken() 1537 gBS->SignalEvent (Wrap->Token->Event); in Ip4FreeTxToken() 1545 FreePool (Wrap); in Ip4FreeTxToken() 1568 IP4_TXTOKEN_WRAP *Wrap; in Ip4OnPacketSent() local [all …]
|
D | Ip4Input.c | 456 IP4_IPSEC_WRAP *Wrap; in Ip4IpSecFree() local 458 Wrap = (IP4_IPSEC_WRAP *) Arg; in Ip4IpSecFree() 460 if (Wrap->IpSecRecycleSignal != NULL) { in Ip4IpSecFree() 461 gBS->SignalEvent (Wrap->IpSecRecycleSignal); in Ip4IpSecFree() 464 NetbufFree (Wrap->Packet); in Ip4IpSecFree() 466 FreePool (Wrap); in Ip4IpSecFree() 1137 IP4_RXDATA_WRAP *Wrap; in Ip4OnRecyclePacket() local 1139 Wrap = (IP4_RXDATA_WRAP *) Context; in Ip4OnRecyclePacket() 1141 EfiAcquireLockOrFail (&Wrap->IpInstance->RecycleLock); in Ip4OnRecyclePacket() 1142 RemoveEntryList (&Wrap->Link); in Ip4OnRecyclePacket() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Dhcp4Dxe/ |
D | Dhcp4Impl.c | 1323 NET_BUF *Wrap; in PxeDhcpInput() local 1329 Wrap = NULL; in PxeDhcpInput() 1354 Wrap = NetbufAlloc (Len); in PxeDhcpInput() 1355 if (Wrap == NULL) { in PxeDhcpInput() 1359 Packet = (EFI_DHCP4_PACKET *) NetbufAllocSpace (Wrap, Len, NET_BUF_TAIL); in PxeDhcpInput() 1392 NET_GET_REF (Wrap); in PxeDhcpInput() 1393 NetbufQueAppend (&Instance->ResponseQueue, Wrap); in PxeDhcpInput() 1399 if (Wrap != NULL) { in PxeDhcpInput() 1400 NetbufFree (Wrap); in PxeDhcpInput() 1494 NET_BUF *Wrap; in EfiDhcp4TransmitReceive() local [all …]
|
D | Dhcp4Io.c | 1174 NET_BUF *Wrap; in DhcpSendMessage() local 1368 Wrap = NetbufFromExt (&Frag, 1, 0, 0, DhcpReleasePacket, Packet); in DhcpSendMessage() 1370 if (Wrap == NULL) { in DhcpSendMessage() 1402 NET_GET_REF (Wrap); in DhcpSendMessage() 1406 Wrap, in DhcpSendMessage() 1414 NET_PUT_REF (Wrap); in DhcpSendMessage() 1439 NET_BUF *Wrap; in DhcpRetransmit() local 1457 Wrap = NetbufFromExt (&Frag, 1, 0, 0, DhcpReleasePacket, DhcpSb->LastPacket); in DhcpRetransmit() 1459 if (Wrap == NULL) { in DhcpRetransmit() 1480 NET_GET_REF (Wrap); in DhcpRetransmit() [all …]
|
/device/linaro/bootloader/edk2/NetworkPkg/Dhcp6Dxe/ |
D | Dhcp6Utility.h | 163 IN NET_BUF *Wrap,
|
D | Dhcp6Utility.c | 599 IN NET_BUF *Wrap, in Dhcp6OnTransmitted() argument 605 NetbufFree (Wrap); in Dhcp6OnTransmitted()
|
D | Dhcp6Io.c | 836 NET_BUF *Wrap; in Dhcp6TransmitPacket() local 852 Wrap = NetbufFromExt (&Frag, 1, 0, 0, Dhcp6DummyExtFree, NULL); in Dhcp6TransmitPacket() 854 if (Wrap == NULL) { in Dhcp6TransmitPacket() 892 Wrap, in Dhcp6TransmitPacket() 900 NetbufFree (Wrap); in Dhcp6TransmitPacket()
|