Home
last modified time | relevance | path

Searched refs:ZeroMem (Results 1 – 25 of 602) sorted by relevance

12345678910>>...25

/device/linaro/bootloader/edk2/CryptoPkg/Application/Cryptest/
DBlockCipherVerify.c165 ZeroMem (Encrypt, sizeof (Encrypt)); in ValidateCryptBlockCipher()
166 ZeroMem (Decrypt, sizeof (Decrypt)); in ValidateCryptBlockCipher()
201 ZeroMem (Encrypt, sizeof (Encrypt)); in ValidateCryptBlockCipher()
202 ZeroMem (Decrypt, sizeof (Decrypt)); in ValidateCryptBlockCipher()
237 ZeroMem (Encrypt, 256); in ValidateCryptBlockCipher()
238 ZeroMem (Decrypt, 256); in ValidateCryptBlockCipher()
282 ZeroMem (Encrypt, sizeof (Encrypt)); in ValidateCryptBlockCipher()
283 ZeroMem (Decrypt, sizeof (Decrypt)); in ValidateCryptBlockCipher()
318 ZeroMem (Encrypt, sizeof (Encrypt)); in ValidateCryptBlockCipher()
319 ZeroMem (Decrypt, sizeof (Decrypt)); in ValidateCryptBlockCipher()
[all …]
DHashVerify.c102 ZeroMem (Digest, MAX_DIGEST_SIZE); in ValidateCryptDigest()
142 ZeroMem (Digest, MAX_DIGEST_SIZE); in ValidateCryptDigest()
182 ZeroMem (Digest, MAX_DIGEST_SIZE); in ValidateCryptDigest()
222 ZeroMem (Digest, MAX_DIGEST_SIZE); in ValidateCryptDigest()
262 ZeroMem (Digest, MAX_DIGEST_SIZE); in ValidateCryptDigest()
302 ZeroMem (Digest, MAX_DIGEST_SIZE); in ValidateCryptDigest()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Usb/UsbBusPei/
DHubPeim.c44 ZeroMem (&DeviceRequest, sizeof (EFI_USB_DEVICE_REQUEST)); in PeiHubGetPortStatus()
90 ZeroMem (&DeviceRequest, sizeof (EFI_USB_DEVICE_REQUEST)); in PeiHubSetPortFeature()
134 ZeroMem (&DeviceRequest, sizeof (EFI_USB_DEVICE_REQUEST)); in PeiHubClearPortFeature()
176 ZeroMem (&DeviceRequest, sizeof (EFI_USB_DEVICE_REQUEST)); in PeiHubGetHubStatus()
217 ZeroMem (&DeviceRequest, sizeof (EFI_USB_DEVICE_REQUEST)); in PeiHubSetHubFeature()
258 ZeroMem (&DeviceRequest, sizeof (EFI_USB_DEVICE_REQUEST)); in PeiHubClearHubFeature()
301 ZeroMem (&DevReq, sizeof (EFI_USB_DEVICE_REQUEST)); in PeiGetHubDescriptor()
343 ZeroMem (&DevReq, sizeof (EFI_USB_DEVICE_REQUEST)); in PeiGetSuperSpeedHubDesc()
434 ZeroMem (&DevReq, sizeof (EFI_USB_DEVICE_REQUEST)); in PeiUsbHubCtrlSetHubDepth()
477 ZeroMem (&HubDescriptor, sizeof (HubDescriptor)); in PeiDoHubConfig()
[all …]
/device/linaro/bootloader/edk2/MdePkg/Library/UefiUsbLib/
DUsbDxeLib.c64 ZeroMem (&DevReq, sizeof (EFI_USB_DEVICE_REQUEST)); in UsbGetDescriptor()
124 ZeroMem (&DevReq, sizeof (EFI_USB_DEVICE_REQUEST)); in UsbSetDescriptor()
182 ZeroMem (&DevReq, sizeof (EFI_USB_DEVICE_REQUEST)); in UsbGetInterface()
235 ZeroMem (&DevReq, sizeof (EFI_USB_DEVICE_REQUEST)); in UsbSetInterface()
290 ZeroMem (&DevReq, sizeof (EFI_USB_DEVICE_REQUEST)); in UsbGetConfiguration()
340 ZeroMem (&DevReq, sizeof (EFI_USB_DEVICE_REQUEST)); in UsbSetConfiguration()
396 ZeroMem (&DevReq, sizeof (EFI_USB_DEVICE_REQUEST)); in UsbSetFeature()
474 ZeroMem (&DevReq, sizeof (EFI_USB_DEVICE_REQUEST)); in UsbClearFeature()
553 ZeroMem (&DevReq, sizeof (EFI_USB_DEVICE_REQUEST)); in UsbGetStatus()
629 ZeroMem (&EndpointDescriptor, sizeof (EFI_USB_ENDPOINT_DESCRIPTOR)); in UsbClearEndpointHalt()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Ufs/UfsBlockIoPei/
DUfsBlockIoPei.c158 ZeroMem (&Packet, sizeof (UFS_SCSI_REQUEST_PACKET)); in UfsPeimRequestSense()
159 ZeroMem (Cdb, sizeof (Cdb)); in UfsPeimRequestSense()
206 ZeroMem (&Packet, sizeof (UFS_SCSI_REQUEST_PACKET)); in UfsPeimTestUnitReady()
207 ZeroMem (Cdb, sizeof (Cdb)); in UfsPeimTestUnitReady()
256 ZeroMem (&Packet, sizeof (UFS_SCSI_REQUEST_PACKET)); in UfsPeimInquiry()
257 ZeroMem (Cdb, sizeof (Cdb)); in UfsPeimInquiry()
313 ZeroMem (&Packet, sizeof (UFS_SCSI_REQUEST_PACKET)); in UfsPeimReadCapacity()
314 ZeroMem (Cdb, sizeof (Cdb)); in UfsPeimReadCapacity()
369 ZeroMem (&Packet, sizeof (UFS_SCSI_REQUEST_PACKET)); in UfsPeimReadCapacity16()
370 ZeroMem (Cdb, sizeof (Cdb)); in UfsPeimReadCapacity16()
[all …]
DUfsHcMem.c44 ZeroMem ((VOID*)(UINTN)TempPtr, sizeof(UFS_PEIM_MEM_BLOCK)); in UfsPeimAllocMemBlock()
61 ZeroMem ((VOID*)(UINTN)TempPtr, Block->BitsLen); in UfsPeimAllocMemBlock()
74 ZeroMem ((VOID*)(UINTN)Address, EFI_PAGES_TO_SIZE (Pages)); in UfsPeimAllocMemBlock()
267 ZeroMem ((VOID*)(UINTN)TempPtr, sizeof (UFS_PEIM_MEM_POOL)); in UfsPeimInitMemPool()
348 ZeroMem (Mem, Size); in UfsPeimAllocateMem()
381 ZeroMem (Mem, Size); in UfsPeimAllocateMem()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/
DUsbMassBoot.c48 ZeroMem (&SenseCmd, sizeof (USB_BOOT_REQUEST_SENSE_CMD)); in UsbBootRequestSense()
49 ZeroMem (&SenseData, sizeof (USB_BOOT_REQUEST_SENSE_DATA)); in UsbBootRequestSense()
317 ZeroMem (&TestCmd, sizeof (USB_BOOT_TEST_UNIT_READY_CMD)); in UsbBootIsUnitReady()
355 ZeroMem (&InquiryCmd, sizeof (USB_BOOT_INQUIRY_CMD)); in UsbBootInquiry()
356 ZeroMem (&UsbMass->InquiryData, sizeof (USB_BOOT_INQUIRY_DATA)); in UsbBootInquiry()
421 ZeroMem (CapacityCmd, sizeof (CapacityCmd)); in UsbBootReadCapacity16()
422 ZeroMem (&CapacityData, sizeof (CapacityData)); in UsbBootReadCapacity16()
429 ZeroMem ((CapacityCmd + 2), 8); in UsbBootReadCapacity16()
499 ZeroMem (&CapacityCmd, sizeof (USB_BOOT_READ_CAPACITY_CMD)); in UsbBootReadCapacity()
500 ZeroMem (&CapacityData, sizeof (USB_BOOT_READ_CAPACITY_DATA)); in UsbBootReadCapacity()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Usb/UsbBotPei/
DPeiAtapi.c46 ZeroMem (&Packet, sizeof (ATAPI_PACKET_COMMAND)); in PeiUsbInquiry()
47 ZeroMem (&Idata, sizeof (ATAPI_INQUIRY_DATA)); in PeiUsbInquiry()
113 ZeroMem (&Packet, sizeof (ATAPI_PACKET_COMMAND)); in PeiUsbTestUnitReady()
168 ZeroMem (&Packet, sizeof (ATAPI_PACKET_COMMAND)); in PeiUsbRequestSense()
255 ZeroMem (&Data, sizeof (ATAPI_READ_CAPACITY_DATA)); in PeiUsbReadCapacity()
256 ZeroMem (&Packet, sizeof (ATAPI_PACKET_COMMAND)); in PeiUsbReadCapacity()
315 ZeroMem (&FormatData, sizeof (ATAPI_READ_FORMAT_CAPACITY_DATA)); in PeiUsbReadFormattedCapacity()
316 ZeroMem (&Packet, sizeof (ATAPI_PACKET_COMMAND)); in PeiUsbReadFormattedCapacity()
406 ZeroMem (&Packet, sizeof (ATAPI_PACKET_COMMAND)); in PeiUsbRead10()
/device/linaro/bootloader/edk2/NetworkPkg/HttpBootDxe/
DHttpBootImpl.c61 ZeroMem (Private->OfferBuffer, sizeof (Private->OfferBuffer)); in HttpBootStart()
269 ZeroMem (&Private->StationIp, sizeof (EFI_IP_ADDRESS)); in HttpBootStop()
270 ZeroMem (&Private->SubnetMask, sizeof (EFI_IP_ADDRESS)); in HttpBootStop()
271 ZeroMem (&Private->GatewayIp, sizeof (EFI_IP_ADDRESS)); in HttpBootStop()
305 ZeroMem (Private->OfferBuffer, sizeof (Private->OfferBuffer)); in HttpBootStop()
307 ZeroMem (Private->OfferCount, sizeof (Private->OfferCount)); in HttpBootStop()
308 ZeroMem (Private->OfferIndex, sizeof (Private->OfferIndex)); in HttpBootStop()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/NvmExpressDxe/
DNvmExpressHci.c515 ZeroMem (&Cc, sizeof (NVME_CC)); in NvmeEnableController()
581 ZeroMem (&CommandPacket, sizeof(EFI_NVM_EXPRESS_PASS_THRU_COMMAND_PACKET)); in NvmeIdentifyController()
582 ZeroMem (&Command, sizeof(EFI_NVM_EXPRESS_COMMAND)); in NvmeIdentifyController()
583 ZeroMem (&Completion, sizeof(EFI_NVM_EXPRESS_COMPLETION)); in NvmeIdentifyController()
637 ZeroMem (&CommandPacket, sizeof(EFI_NVM_EXPRESS_PASS_THRU_COMMAND_PACKET)); in NvmeIdentifyNamespace()
638 ZeroMem (&Command, sizeof(EFI_NVM_EXPRESS_COMMAND)); in NvmeIdentifyNamespace()
639 ZeroMem (&Completion, sizeof(EFI_NVM_EXPRESS_COMPLETION)); in NvmeIdentifyNamespace()
686 ZeroMem (&CommandPacket, sizeof(EFI_NVM_EXPRESS_PASS_THRU_COMMAND_PACKET)); in NvmeCreateIoCompletionQueue()
687 ZeroMem (&Command, sizeof(EFI_NVM_EXPRESS_COMMAND)); in NvmeCreateIoCompletionQueue()
688 ZeroMem (&Completion, sizeof(EFI_NVM_EXPRESS_COMPLETION)); in NvmeCreateIoCompletionQueue()
[all …]
DNvmExpressBlockIo.c50 ZeroMem (&CommandPacket, sizeof(EFI_NVM_EXPRESS_PASS_THRU_COMMAND_PACKET)); in ReadSectors()
51 ZeroMem (&Command, sizeof(EFI_NVM_EXPRESS_COMMAND)); in ReadSectors()
52 ZeroMem (&Completion, sizeof(EFI_NVM_EXPRESS_COMPLETION)); in ReadSectors()
113 ZeroMem (&CommandPacket, sizeof(EFI_NVM_EXPRESS_PASS_THRU_COMMAND_PACKET)); in WriteSectors()
114 ZeroMem (&Command, sizeof(EFI_NVM_EXPRESS_COMMAND)); in WriteSectors()
115 ZeroMem (&Completion, sizeof(EFI_NVM_EXPRESS_COMPLETION)); in WriteSectors()
287 ZeroMem (&CommandPacket, sizeof(EFI_NVM_EXPRESS_PASS_THRU_COMMAND_PACKET)); in NvmeFlush()
288 ZeroMem (&Command, sizeof(EFI_NVM_EXPRESS_COMMAND)); in NvmeFlush()
289 ZeroMem (&Completion, sizeof(EFI_NVM_EXPRESS_COMPLETION)); in NvmeFlush()
608 ZeroMem (&CommandPacket, sizeof (EFI_NVM_EXPRESS_PASS_THRU_COMMAND_PACKET)); in TrustTransferNvmeDevice()
[all …]
/device/linaro/bootloader/edk2/SecurityPkg/Library/Tpm2CommandLib/
DTpm2Hierarchy.c207 ZeroMem (&SendBuffer, sizeof(SendBuffer)); in Tpm2SetPrimaryPolicy()
208 ZeroMem (&RecvBuffer, sizeof(RecvBuffer)); in Tpm2SetPrimaryPolicy()
294 ZeroMem (&Cmd, sizeof(Cmd)); in Tpm2Clear()
295 ZeroMem (&Res, sizeof(Res)); in Tpm2Clear()
388 ZeroMem (&Cmd, sizeof(Cmd)); in Tpm2ClearControl()
389 ZeroMem (&Res, sizeof(Res)); in Tpm2ClearControl()
496 ZeroMem (&Cmd, sizeof(Cmd)); in Tpm2HierarchyChangeAuth()
497 ZeroMem (&Res, sizeof(Res)); in Tpm2HierarchyChangeAuth()
594 ZeroMem (&Cmd, sizeof(Cmd)); in Tpm2ChangeEPS()
595 ZeroMem (&Res, sizeof(Res)); in Tpm2ChangeEPS()
[all …]
DTpm2DictionaryAttack.c125 ZeroMem (&SendBuffer, sizeof(SendBuffer)); in Tpm2DictionaryAttackLockReset()
126 ZeroMem (&RecvBuffer, sizeof(RecvBuffer)); in Tpm2DictionaryAttackLockReset()
216 ZeroMem (&SendBufferSize, sizeof(SendBufferSize)); in Tpm2DictionaryAttackParameters()
217 ZeroMem (&RecvBuffer, sizeof(RecvBuffer)); in Tpm2DictionaryAttackParameters()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseMemoryLib/X64/
DZeroMem.S2 # ConvertAsm.py: Automatically generated from ZeroMem.asm
17 # ZeroMem.S
21 # ZeroMem function
/device/linaro/bootloader/edk2/MdePkg/Library/BaseMemoryLibOptPei/X64/
DZeroMem.S2 # ConvertAsm.py: Automatically generated from ZeroMem.asm
17 # ZeroMem.S
21 # ZeroMem function
/device/linaro/bootloader/edk2/MdePkg/Library/BaseMemoryLibRepStr/X64/
DZeroMem.S2 # ConvertAsm.py: Automatically generated from ZeroMem.asm
17 # ZeroMem.S
21 # ZeroMem function
/device/linaro/bootloader/edk2/MdePkg/Library/BaseMemoryLibOptDxe/X64/
DZeroMem.S2 # ConvertAsm.py: Automatically generated from ZeroMem.asm
17 # ZeroMem.S
21 # ZeroMem function
/device/linaro/bootloader/edk2/MdePkg/Library/BaseMemoryLibMmx/X64/
DZeroMem.S2 # ConvertAsm.py: Automatically generated from ZeroMem.asm
17 # ZeroMem.S
21 # ZeroMem function
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/
DLegacyBda.c40 ZeroMem (Bda, 0x100); in LegacyBiosInitBda()
41 ZeroMem (Ebda, 0x400); in LegacyBiosInitBda()
/device/linaro/bootloader/edk2/MdePkg/Library/UefiScsiLib/
DUefiScsiLib.c156 ZeroMem (&CommandPacket, sizeof (EFI_SCSI_IO_SCSI_REQUEST_PACKET)); in ScsiTestUnitReadyCommand()
157 ZeroMem (Cdb, EFI_SCSI_OP_LENGTH_SIX); in ScsiTestUnitReadyCommand()
297 ZeroMem (&CommandPacket, sizeof (EFI_SCSI_IO_SCSI_REQUEST_PACKET)); in ScsiInquiryCommandEx()
298 ZeroMem (Cdb, EFI_SCSI_OP_LENGTH_SIX); in ScsiInquiryCommandEx()
562 ZeroMem (&CommandPacket, sizeof (EFI_SCSI_IO_SCSI_REQUEST_PACKET)); in ScsiModeSense10Command()
563 ZeroMem (Cdb, EFI_SCSI_OP_LENGTH_TEN); in ScsiModeSense10Command()
652 ZeroMem (&CommandPacket, sizeof (EFI_SCSI_IO_SCSI_REQUEST_PACKET)); in ScsiRequestSenseCommand()
653 ZeroMem (Cdb, EFI_SCSI_OP_LENGTH_SIX); in ScsiRequestSenseCommand()
748 ZeroMem (&CommandPacket, sizeof (EFI_SCSI_IO_SCSI_REQUEST_PACKET)); in ScsiReadCapacityCommand()
749 ZeroMem (Cdb, EFI_SCSI_OP_LENGTH_TEN); in ScsiReadCapacityCommand()
[all …]
/device/linaro/bootloader/edk2/MdePkg/Library/BaseMemoryLibSse2/X64/
DZeroMem.S2 # ConvertAsm.py: Automatically generated from ZeroMem.asm
17 # ZeroMem.S
21 # ZeroMem function
/device/linaro/bootloader/edk2/NetworkPkg/Ip6Dxe/
DIp6Icmp.c175 ZeroMem (&ReplyHead, sizeof (EFI_IP6_HEADER)); in Ip6IcmpReplyEcho()
478 ZeroMem (Prefix, sizeof (EFI_IPv6_ADDRESS)); in Ip6GetPrefix()
491 ZeroMem (Prefix->Addr + Byte, 16 - Byte); in Ip6GetPrefix()
521 ZeroMem (&Prefix, sizeof (EFI_IPv6_ADDRESS)); in Ip6IsAnycast()
636 ZeroMem (&Head, sizeof (EFI_IP6_HEADER)); in Ip6SendIcmpError()
645 ZeroMem (&Head.SourceAddress, sizeof (EFI_IPv6_ADDRESS)); in Ip6SendIcmpError()
661 ZeroMem (IcmpHead, sizeof (IP6_ICMP_INFORMATION_HEAD)); in Ip6SendIcmpError()
675 ZeroMem (ErrorBody, PayloadLen); in Ip6SendIcmpError()
/device/linaro/bootloader/edk2/IntelFrameworkPkg/Library/PeiHobLibFramework/
DHobLib.c301 ZeroMem (Hob->MemoryAllocationHeader.Reserved, sizeof (Hob->MemoryAllocationHeader.Reserved)); in BuildModuleHob()
383 ZeroMem (&(Hob->Owner), sizeof (EFI_GUID)); in BuildResourceDescriptorHob()
611 ZeroMem (Hob->Reserved, sizeof (Hob->Reserved)); in BuildCpuHob()
652 ZeroMem (Hob->AllocDescriptor.Reserved, sizeof (Hob->AllocDescriptor.Reserved)); in BuildStackHob()
695 ZeroMem (Hob->AllocDescriptor.Reserved, sizeof (Hob->AllocDescriptor.Reserved)); in BuildBspStoreHob()
730 ZeroMem (&(Hob->AllocDescriptor.Name), sizeof (EFI_GUID)); in BuildMemoryAllocationHob()
737 ZeroMem (Hob->AllocDescriptor.Reserved, sizeof (Hob->AllocDescriptor.Reserved)); in BuildMemoryAllocationHob()
/device/linaro/bootloader/edk2/MdePkg/Library/PeiHobLib/
DHobLib.c297 ZeroMem (Hob->MemoryAllocationHeader.Reserved, sizeof (Hob->MemoryAllocationHeader.Reserved)); in BuildModuleHob()
379 ZeroMem (&(Hob->Owner), sizeof (EFI_GUID)); in BuildResourceDescriptorHob()
609 ZeroMem (Hob->Reserved, sizeof (Hob->Reserved)); in BuildCpuHob()
650 ZeroMem (Hob->AllocDescriptor.Reserved, sizeof (Hob->AllocDescriptor.Reserved)); in BuildStackHob()
693 ZeroMem (Hob->AllocDescriptor.Reserved, sizeof (Hob->AllocDescriptor.Reserved)); in BuildBspStoreHob()
728 ZeroMem (&(Hob->AllocDescriptor.Name), sizeof (EFI_GUID)); in BuildMemoryAllocationHob()
735 ZeroMem (Hob->AllocDescriptor.Reserved, sizeof (Hob->AllocDescriptor.Reserved)); in BuildMemoryAllocationHob()
/device/linaro/bootloader/edk2/MdePkg/Library/BaseMemoryLibSse2/
DBaseMemoryLibSse2.inf53 Ia32/ZeroMem.S
64 Ia32/ZeroMem.asm
77 X64/ZeroMem.asm
88 X64/ZeroMem.S

12345678910>>...25