/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Ip4Dxe/ |
D | Ip4Option.c | 125 IN OUT UINT32 *BufLen in Ip4CopyOption() argument 134 ASSERT ((BufLen != NULL) && (OptionLen <= 40)); in Ip4CopyOption() 175 *BufLen = 0; in Ip4CopyOption() 197 if ((Buf == NULL) || (*BufLen < Len)) { in Ip4CopyOption() 198 *BufLen = Len; in Ip4CopyOption() 208 *BufLen = Len; in Ip4CopyOption()
|
D | Ip4Option.h | 70 IN OUT UINT32 *BufLen
|
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Dxe/ |
D | UsbHcMem.c | 56 Block->BufLen = EFI_PAGES_TO_SIZE (Pages); in UsbHcAllocMemBlock() 57 Block->BitsLen = Block->BufLen / (USBHC_MEM_UNIT * 8); in UsbHcAllocMemBlock() 144 PciIo->FreeBuffer (PciIo, EFI_SIZE_TO_PAGES (Block->BufLen), Block->BufHost); in UsbHcFreeMemBlock() 258 …->BufHost <= (UINT8 *) Mem) && (((UINT8 *) Mem + AllocSize) <= (Block->BufHost + Block->BufLen))) { in UsbHcGetPciAddressForHostMem() 529 if ((Block->BufHost <= ToFree) && ((ToFree + AllocSize) <= (Block->BufHost + Block->BufLen))) { in UsbHcFreeMem()
|
D | UsbHcMem.h | 34 UINTN BufLen; // Memory size in bytes member
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/UhciDxe/ |
D | UsbHcMem.c | 55 Block->BufLen = EFI_PAGES_TO_SIZE (Pages); in UsbHcAllocMemBlock() 56 Block->BitsLen = Block->BufLen / (USBHC_MEM_UNIT * 8); in UsbHcAllocMemBlock() 143 PciIo->FreeBuffer (PciIo, EFI_SIZE_TO_PAGES (Block->BufLen), Block->BufHost); in UsbHcFreeMemBlock() 257 …->BufHost <= (UINT8 *) Mem) && (((UINT8 *) Mem + AllocSize) <= (Block->BufHost + Block->BufLen))) { in UsbHcGetPciAddressForHostMem() 527 if ((Block->Buf <= ToFree) && ((ToFree + AllocSize) <= (Block->Buf + Block->BufLen))) { in UsbHcFreeMem()
|
D | UsbHcMem.h | 34 UINTN BufLen; // Memory size in bytes member
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/EhciDxe/ |
D | UsbHcMem.c | 56 Block->BufLen = EFI_PAGES_TO_SIZE (Pages); in UsbHcAllocMemBlock() 57 Block->BitsLen = Block->BufLen / (USBHC_MEM_UNIT * 8); in UsbHcAllocMemBlock() 144 PciIo->FreeBuffer (PciIo, EFI_SIZE_TO_PAGES (Block->BufLen), Block->BufHost); in UsbHcFreeMemBlock() 258 …->BufHost <= (UINT8 *) Mem) && (((UINT8 *) Mem + AllocSize) <= (Block->BufHost + Block->BufLen))) { in UsbHcGetPciAddressForHostMem() 529 if ((Block->BufHost <= ToFree) && ((ToFree + AllocSize) <= (Block->BufHost + Block->BufLen))) { in UsbHcFreeMem()
|
D | UsbHcMem.h | 33 UINTN BufLen; // Memory size in bytes member
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/XhciDxe/ |
D | UsbHcMem.c | 56 Block->BufLen = EFI_PAGES_TO_SIZE (Pages); in UsbHcAllocMemBlock() 57 Block->BitsLen = Block->BufLen / (USBHC_MEM_UNIT * 8); in UsbHcAllocMemBlock() 135 PciIo->FreeBuffer (PciIo, EFI_SIZE_TO_PAGES (Block->BufLen), Block->BufHost); in UsbHcFreeMemBlock() 250 …->BufHost <= (UINT8 *) Mem) && (((UINT8 *) Mem + AllocSize) <= (Block->BufHost + Block->BufLen))) { in UsbHcGetPciAddrForHostAddr() 299 … ((Block->Buf <= (UINT8 *) Mem) && (((UINT8 *) Mem + AllocSize) <= (Block->Buf + Block->BufLen))) { in UsbHcGetHostAddrForPciAddr() 562 if ((Block->BufHost <= ToFree) && ((ToFree + AllocSize) <= (Block->BufHost + Block->BufLen))) { in UsbHcFreeMem()
|
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/ |
D | DmpStore.c | 49 UINTN BufLen; in GetAttrType() local 52 BufLen = 0; in GetAttrType() 56 StrnCatGrow (&RetString, &BufLen, L"+NV", 0); in GetAttrType() 59 StrnCatGrow (&RetString, &BufLen, L"+RT+BS", 0); in GetAttrType() 61 StrnCatGrow (&RetString, &BufLen, L"+BS", 0); in GetAttrType() 64 StrnCatGrow (&RetString, &BufLen, L"+HR", 0); in GetAttrType() 67 StrnCatGrow (&RetString, &BufLen, L"+AW", 0); in GetAttrType() 70 StrnCatGrow (&RetString, &BufLen, L"+AT", 0); in GetAttrType() 74 RetString = StrnCatGrow(&RetString, &BufLen, L"Invalid", 0); in GetAttrType()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Tcp4Dxe/ |
D | SockImpl.c | 34 IN UINT32 BufLen 81 IN UINT32 BufLen in SockTcpDataToRcv() argument 88 ASSERT ((SockBuffer != NULL) && (IsUrg != NULL) && (BufLen > 0)); in SockTcpDataToRcv() 99 DataLen = MIN (TcpRsvData->UrgLen, BufLen); in SockTcpDataToRcv() 115 while ((BufLen > DataLen) && (RcvBufEntry != NULL)) { in SockTcpDataToRcv() 127 if (TcpRsvData->UrgLen + DataLen < BufLen) { in SockTcpDataToRcv() 130 TcpRsvData->UrgLen = TcpRsvData->UrgLen - (BufLen - DataLen); in SockTcpDataToRcv() 133 return MIN (TcpRsvData->UrgLen + DataLen, BufLen); in SockTcpDataToRcv() 142 DataLen = MIN (BufLen, DataLen); in SockTcpDataToRcv()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/XhciPei/ |
D | UsbHcMem.c | 57 Block->BufLen = EFI_PAGES_TO_SIZE (Pages); in UsbHcAllocMemBlock() 58 Block->BitsLen = Block->BufLen / (USBHC_MEM_UNIT * 8); in UsbHcAllocMemBlock() 217 …->BufHost <= (UINT8 *) Mem) && (((UINT8 *) Mem + AllocSize) <= (Block->BufHost + Block->BufLen))) { in UsbHcGetPciAddrForHostAddr() 266 … ((Block->Buf <= (UINT8 *) Mem) && (((UINT8 *) Mem + AllocSize) <= (Block->Buf + Block->BufLen))) { in UsbHcGetHostAddrForPciAddr() 523 if ((Block->BufHost <= ToFree) && ((ToFree + AllocSize) <= (Block->BufHost + Block->BufLen))) { in UsbHcFreeMem()
|
D | UsbHcMem.h | 31 UINTN BufLen; // Memory size in bytes member
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/MnpDxe/ |
D | MnpIo.c | 861 UINTN BufLen; in MnpReceivePacket() local 899 BufLen = Nbuf->TotalSize; in MnpReceivePacket() 906 Status = Snp->Receive (Snp, &HeaderSize, &BufLen, BufPtr, NULL, NULL, NULL); in MnpReceivePacket() 920 if ((HeaderSize != Snp->Mode->MediaHeaderSize) || (BufLen < HeaderSize)) { in MnpReceivePacket() 925 BufLen) in MnpReceivePacket() 931 if (Nbuf->TotalSize != BufLen) { in MnpReceivePacket() 935 Trimmed = NetbufTrim (Nbuf, Nbuf->TotalSize - (UINT32) BufLen, NET_BUF_TAIL); in MnpReceivePacket() 936 ASSERT (Nbuf->TotalSize == BufLen); in MnpReceivePacket()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Ufs/UfsBlockIoPei/ |
D | UfsHcMem.h | 30 UINTN BufLen; // Memory size in bytes member
|
D | UfsHcMem.c | 53 Block->BufLen = EFI_PAGES_TO_SIZE (Pages); in UfsPeimAllocMemBlock() 54 Block->BitsLen = Block->BufLen / (UFS_PEIM_MEM_UNIT * 8); in UfsPeimAllocMemBlock() 419 if ((Block->Buf <= ToFree) && ((ToFree + AllocSize) <= (Block->Buf + Block->BufLen))) { in UfsPeimFreeMem()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Sd/EmmcBlockIoPei/ |
D | EmmcHcMem.h | 30 UINTN BufLen; // Memory size in bytes member
|
D | EmmcHcMem.c | 53 Block->BufLen = EFI_PAGES_TO_SIZE (Pages); in EmmcPeimAllocMemBlock() 54 Block->BitsLen = Block->BufLen / (EMMC_PEIM_MEM_UNIT * 8); in EmmcPeimAllocMemBlock() 419 if ((Block->Buf <= ToFree) && ((ToFree + AllocSize) <= (Block->Buf + Block->BufLen))) { in EmmcPeimFreeMem()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Sd/SdBlockIoPei/ |
D | SdHcMem.h | 30 UINTN BufLen; // Memory size in bytes member
|
D | SdHcMem.c | 53 Block->BufLen = EFI_PAGES_TO_SIZE (Pages); in SdPeimAllocMemBlock() 54 Block->BitsLen = Block->BufLen / (SD_PEIM_MEM_UNIT * 8); in SdPeimAllocMemBlock() 419 if ((Block->Buf <= ToFree) && ((ToFree + AllocSize) <= (Block->Buf + Block->BufLen))) { in SdPeimFreeMem()
|
/device/linaro/bootloader/edk2/NetworkPkg/TcpDxe/ |
D | SockImpl.c | 105 IN UINT32 BufLen in SockTcpDataToRcv() argument 113 ASSERT ((SockBuffer != NULL) && (IsUrg != NULL) && (BufLen > 0)); in SockTcpDataToRcv() 131 DataLen = MIN (TcpRsvData->UrgLen, BufLen); in SockTcpDataToRcv() 151 while ((BufLen > DataLen) && (RcvBufEntry != NULL)) { in SockTcpDataToRcv() 163 if (TcpRsvData->UrgLen + DataLen < BufLen) { in SockTcpDataToRcv() 166 TcpRsvData->UrgLen = TcpRsvData->UrgLen - (BufLen - DataLen); in SockTcpDataToRcv() 169 return MIN (TcpRsvData->UrgLen + DataLen, BufLen); in SockTcpDataToRcv() 178 DataLen = MIN (BufLen, DataLen); in SockTcpDataToRcv()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/EhciPei/ |
D | UsbHcMem.h | 38 UINTN BufLen; // Memory size in bytes member
|
D | UsbHcMem.c | 65 Block->BufLen = EFI_PAGES_TO_SIZE (Pages); in UsbHcAllocMemBlock() 66 Block->BitsLen = Block->BufLen / (USBHC_MEM_UNIT * 8); in UsbHcAllocMemBlock() 457 if ((Block->Buf <= ToFree) && ((ToFree + AllocSize) <= (Block->Buf + Block->BufLen))) { in UsbHcFreeMem()
|
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Pei/ |
D | UsbHcMem.c | 66 Block->BufLen = EFI_PAGES_TO_SIZE (Pages); in UsbHcAllocMemBlock() 67 Block->BitsLen = Block->BufLen / (USBHC_MEM_UNIT * 8); in UsbHcAllocMemBlock() 461 if ((Block->BufHost <= ToFree) && ((ToFree + AllocSize) <= (Block->BufHost + Block->BufLen))) { in UsbHcFreeMem()
|
D | UsbHcMem.h | 34 UINTN BufLen; // Memory size in bytes member
|