Home
last modified time | relevance | path

Searched refs:BlockOpNum (Results 1 – 17 of 17) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Library/DxeNetLib/
DNetBuffer.c41 IN UINT32 BlockOpNum in NetbufAllocStruct() argument
47 ASSERT (BlockOpNum >= 1); in NetbufAllocStruct()
52 Nbuf = AllocateZeroPool (NET_BUF_SIZE (BlockOpNum)); in NetbufAllocStruct()
60 Nbuf->BlockOpNum = BlockOpNum; in NetbufAllocStruct()
248 Clone = AllocatePool (NET_BUF_SIZE (Nbuf->BlockOpNum)); in NetbufClone()
266 Clone->BlockOpNum = Nbuf->BlockOpNum; in NetbufClone()
268 CopyMem (Clone->BlockOp, Nbuf->BlockOp, sizeof (NET_BLOCK_OP) * Nbuf->BlockOpNum); in NetbufClone()
392 for (Loop = 0; Loop < Nbuf->BlockOpNum; Loop++) { in NetbufGetByte()
439 ASSERT (Index < Nbuf->BlockOpNum); in NetbufSetBlock()
479 ASSERT (Index < Nbuf->BlockOpNum); in NetbufSetBlockOp()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/IScsiDxe/
DIScsiTcp4Io.c353 …TxData = AllocatePool (sizeof (EFI_TCP4_TRANSMIT_DATA) + (Packet->BlockOpNum - 1) * sizeof (EFI_TC… in Tcp4IoTransmit()
365 TxData->FragmentCount = Packet->BlockOpNum; in Tcp4IoTransmit()
424 FragmentCount = Packet->BlockOpNum; in Tcp4IoReceive()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Mtftp4Dxe/
DMtftp4Wrq.c389 if (UdpPacket->BlockOpNum > 1) { in Mtftp4WrqInput()
467 if ((Packet != NULL) && (UdpPacket->BlockOpNum > 1)) { in Mtftp4WrqInput()
DMtftp4Rrq.c696 if (UdpPacket->BlockOpNum > 1) { in Mtftp4RrqInput()
776 if ((Packet != NULL) && (UdpPacket->BlockOpNum > 1)) { in Mtftp4RrqInput()
/device/linaro/bootloader/edk2/MdeModulePkg/Library/DxeTcpIoLib/
DDxeTcpIoLib.c773 (Packet->BlockOpNum - 1) * sizeof (EFI_TCP4_FRAGMENT_DATA); in TcpIoTransmit()
776 (Packet->BlockOpNum - 1) * sizeof (EFI_TCP6_FRAGMENT_DATA); in TcpIoTransmit()
793 ((EFI_TCP4_TRANSMIT_DATA *) Data)->FragmentCount = Packet->BlockOpNum; in TcpIoTransmit()
929 FragmentCount = Packet->BlockOpNum; in TcpIoReceive()
/device/linaro/bootloader/edk2/NetworkPkg/HttpDxe/
DHttpsSupport.c583 (Packet->BlockOpNum - 1) * sizeof (EFI_TCP4_FRAGMENT_DATA); in TlsCommonTransmit()
586 (Packet->BlockOpNum - 1) * sizeof (EFI_TCP6_FRAGMENT_DATA); in TlsCommonTransmit()
602 ((EFI_TCP4_TRANSMIT_DATA *) Data)->FragmentCount = Packet->BlockOpNum; in TlsCommonTransmit()
636 ((EFI_TCP6_TRANSMIT_DATA *) Data)->FragmentCount = Packet->BlockOpNum; in TlsCommonTransmit()
706 FragmentCount = Packet->BlockOpNum; in TlsCommonReceive()
/device/linaro/bootloader/edk2/MdeModulePkg/Include/Library/
DNetLib.h1549 UINT32 BlockOpNum; // Total number of BlockOp in the buffer member
1609 #define NET_BUF_SIZE(BlockOpNum) \ argument
1610 (sizeof (NET_BUF) + ((BlockOpNum) - 1) * sizeof (NET_BLOCK_OP))
/device/linaro/bootloader/edk2/MdeModulePkg/Library/DxeUdpIoLib/
DDxeUdpIoLib.c447 Size = sizeof (UDP_TX_TOKEN) + sizeof (EFI_UDP4_FRAGMENT_DATA) * (Packet->BlockOpNum - 1); in UdpIoCreateTxToken()
449 Size = sizeof (UDP_TX_TOKEN) + sizeof (EFI_UDP6_FRAGMENT_DATA) * (Packet->BlockOpNum - 1); in UdpIoCreateTxToken()
467 Count = Packet->BlockOpNum; in UdpIoCreateTxToken()
/device/linaro/bootloader/edk2/NetworkPkg/Ip6Dxe/
DIp6If.c374 …Token = AllocatePool (sizeof (IP6_LINK_TX_TOKEN) + (Packet->BlockOpNum - 1) * sizeof (EFI_MANAGED_… in Ip6CreateLinkTxToken()
415 Count = Packet->BlockOpNum; in Ip6CreateLinkTxToken()
DIp6Input.c541 FragmentCount = Packet->BlockOpNum; in Ip6IpSecProcessPacket()
1226 Wrap = AllocatePool (IP6_RXDATA_WRAP_SIZE (Packet->BlockOpNum)); in Ip6WrapRxData()
1265 RxData->FragmentCount = Packet->BlockOpNum; in Ip6WrapRxData()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Ip4Dxe/
DIp4Input.c527 FragmentCount = Packet->BlockOpNum; in Ip4IpSecProcessPacket()
1179 Wrap = AllocatePool (IP4_RXDATA_WRAP_SIZE (Packet->BlockOpNum)); in Ip4WrapRxData()
1230 RxData->FragmentCount = Packet->BlockOpNum; in Ip4WrapRxData()
DIp4If.c162 (Packet->BlockOpNum - 1) * sizeof (EFI_MANAGED_NETWORK_FRAGMENT_DATA)); in Ip4WrapLinkTxToken()
204 Count = Packet->BlockOpNum; in Ip4WrapLinkTxToken()
/device/linaro/bootloader/edk2/NetworkPkg/Mtftp6Dxe/
DMtftp6Wrq.c438 TotalNum = UdpPacket->BlockOpNum; in Mtftp6WrqInput()
DMtftp6Rrq.c735 TotalNum = UdpPacket->BlockOpNum; in Mtftp6RrqInput()
/device/linaro/bootloader/edk2/NetworkPkg/Udp6Dxe/
DUdp6Impl.c1394 (Packet->BlockOpNum - 1) * sizeof (EFI_UDP6_FRAGMENT_DATA)); in Udp6WrapRxData()
1526 RxData->FragmentCount = Wrap->Packet->BlockOpNum; in Udp6InstanceDeliverDgram()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Udp4Dxe/
DUdp4Impl.c1409 (Packet->BlockOpNum - 1) * sizeof (EFI_UDP4_FRAGMENT_DATA)); in Udp4WrapRxData()
1541 RxData->FragmentCount = Wrap->Packet->BlockOpNum; in Udp4InstanceDeliverDgram()
/device/linaro/bootloader/edk2/MdeModulePkg/Library/DxeIpIoLib/
DDxeIpIoLib.c664 FragmentCount = Pkt->BlockOpNum; in IpIoCreateSndEntry()