Lines Matching refs:BlockIoProtocol
151 EFI_BLOCK_IO_PROTOCOL *BlockIoProtocol; in LoadSNFromBlock() local
165 (VOID **) &BlockIoProtocol, in LoadSNFromBlock()
175 NumPages = EFI_SIZE_TO_PAGES (BlockIoProtocol->Media->BlockSize); in LoadSNFromBlock()
180 Status = BlockIoProtocol->ReadBlocks ( in LoadSNFromBlock()
181 BlockIoProtocol, in LoadSNFromBlock()
182 BlockIoProtocol->Media->MediaId, in LoadSNFromBlock()
184 BlockIoProtocol->Media->BlockSize, in LoadSNFromBlock()
213 Status = BlockIoProtocol->WriteBlocks ( in LoadSNFromBlock()
214 BlockIoProtocol, in LoadSNFromBlock()
215 BlockIoProtocol->Media->MediaId, in LoadSNFromBlock()
217 BlockIoProtocol->Media->BlockSize, in LoadSNFromBlock()
239 EFI_BLOCK_IO_PROTOCOL *BlockIoProtocol; in StoreSNToBlock() local
252 (VOID **) &BlockIoProtocol, in StoreSNToBlock()
261 NumPages = EFI_SIZE_TO_PAGES (BlockIoProtocol->Media->BlockSize); in StoreSNToBlock()
266 ZeroMem (DataPtr, BlockIoProtocol->Media->BlockSize); in StoreSNToBlock()
286 Status = BlockIoProtocol->WriteBlocks ( in StoreSNToBlock()
287 BlockIoProtocol, in StoreSNToBlock()
288 BlockIoProtocol->Media->MediaId, in StoreSNToBlock()
290 BlockIoProtocol->Media->BlockSize, in StoreSNToBlock()