Lines Matching refs:NumBytes
398 IN OUT UINTN *NumBytes, in FvbReadBlock() argument
442 if ((NumBytes == NULL) || (Buffer == NULL)) { in FvbReadBlock()
446 if (*NumBytes == 0) { in FvbReadBlock()
469 if (LbaLength < (*NumBytes + BlockOffset)) { in FvbReadBlock()
470 *NumBytes = (UINT32) (LbaLength - BlockOffset); in FvbReadBlock()
474 CopyMem (Buffer, (UINT8 *) (LbaAddress + BlockOffset), (UINTN) (*NumBytes)); in FvbReadBlock()
484 IN OUT UINTN *NumBytes, in FvbWriteBlock() argument
527 if ((NumBytes == NULL) || (Buffer == NULL)) { in FvbWriteBlock()
531 if (*NumBytes == 0) { in FvbWriteBlock()
554 if (LbaLength < (*NumBytes + BlockOffset)) { in FvbWriteBlock()
555 *NumBytes = (UINT32) (LbaLength - BlockOffset); in FvbWriteBlock()
561 CopyMem ((UINT8 *) (LbaAddress + BlockOffset), Buffer, (UINTN) (*NumBytes)); in FvbWriteBlock()
994 IN OUT UINTN *NumBytes, in FvbProtocolWrite() argument
1033 …return FvbWriteBlock (FvbDevice->Instance, (EFI_LBA)Lba, (UINTN)Offset, NumBytes, (UINT8 *)Buffer,… in FvbProtocolWrite()
1042 IN OUT UINTN *NumBytes, in FvbProtocolRead() argument
1082 …return FvbReadBlock (FvbDevice->Instance, Lba, Offset, NumBytes, Buffer, mFvbModuleGlobal, EfiGone… in FvbProtocolRead()