Lines Matching refs:block_io
72 EFI_BLOCK_IO *block_io, in try_gpt() argument
83 assert(block_io); in try_gpt()
87 err = block_io->ReadBlocks( in try_gpt()
88 block_io, in try_gpt()
89 block_io->Media->MediaId, in try_gpt()
106 err = block_io->ReadBlocks( in try_gpt()
107 block_io, in try_gpt()
108 block_io->Media->MediaId, in try_gpt()
181 EFI_BLOCK_IO *block_io; in find_device() local
186 err = BS->HandleProtocol(disk_handle, &BlockIoProtocol, (void **)&block_io); in find_device()
193 if (block_io->Media->LogicalPartition || in find_device()
194 !block_io->Media->MediaPresent || in find_device()
195 block_io->Media->LastBlock <= 1) in find_device()
211 else if (nr == 2 && backup_lba != block_io->Media->LastBlock) in find_device()
212 lba = block_io->Media->LastBlock; in find_device()
217 block_io, lba, in find_device()