Lines Matching refs:Wrap
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
1185 Wrap = (IP6_TXTOKEN_WRAP *) Context; in Ip6OnPacketSent()
1186 Wrap->Token->Status = IoStatus; in Ip6OnPacketSent()
1188 NetbufFree (Wrap->Packet); in Ip6OnPacketSent()
1258 IP6_TXTOKEN_WRAP *Wrap; in EfiIp6Transmit() local
1366 Wrap = AllocateZeroPool (sizeof (IP6_TXTOKEN_WRAP)); in EfiIp6Transmit()
1367 if (Wrap == NULL) { in EfiIp6Transmit()
1371 Wrap->IpInstance = IpInstance; in EfiIp6Transmit()
1372 Wrap->Token = Token; in EfiIp6Transmit()
1373 Wrap->Sent = FALSE; in EfiIp6Transmit()
1374 Wrap->Life = IP6_US_TO_SEC (Config->TransmitTimeout); in EfiIp6Transmit()
1375 Wrap->Packet = NetbufFromExt ( in EfiIp6Transmit()
1381 Wrap in EfiIp6Transmit()
1384 if (Wrap->Packet == NULL) { in EfiIp6Transmit()
1385 FreePool (Wrap); in EfiIp6Transmit()
1391 Status = NetMapInsertTail (&IpInstance->TxTokens, Token, Wrap); in EfiIp6Transmit()
1398 NetbufFree (Wrap->Packet); in EfiIp6Transmit()
1418 Wrap->Sent = TRUE; in EfiIp6Transmit()
1424 Wrap->Packet, in EfiIp6Transmit()
1429 Wrap in EfiIp6Transmit()
1432 Wrap->Sent = FALSE; in EfiIp6Transmit()
1433 NetbufFree (Wrap->Packet); in EfiIp6Transmit()
1576 IP6_TXTOKEN_WRAP *Wrap; in Ip6CancelTxTokens() local
1588 Wrap = (IP6_TXTOKEN_WRAP *) Item->Value; in Ip6CancelTxTokens()
1589 ASSERT (Wrap != NULL); in Ip6CancelTxTokens()
1595 Ip6CancelPacket (Wrap->IpInstance->Interface, Wrap->Packet, EFI_ABORTED); in Ip6CancelTxTokens()