Home
last modified time | relevance | path

Searched refs:block_io (Results 1 – 3 of 3) sorted by relevance

/external/avb/examples/uefi/
Duefi_avb_ops.c73 static EFI_STATUS find_partition_entry_by_name(IN EFI_BLOCK_IO* block_io, in find_partition_entry_by_name() argument
97 err = uefi_call_wrapper(block_io->ReadBlocks, in find_partition_entry_by_name()
99 block_io, in find_partition_entry_by_name()
100 block_io->Media->MediaId, in find_partition_entry_by_name()
138 block_io->Media->BlockSize * (MAX_GPT_ENTRIES / ENTRIES_PER_BLOCK); in find_partition_entry_by_name()
140 err = uefi_call_wrapper(block_io->ReadBlocks, in find_partition_entry_by_name()
142 block_io, in find_partition_entry_by_name()
143 block_io->Media->MediaId, in find_partition_entry_by_name()
192 data->block_io, partition_name, &partition_entry); in read_from_partition()
199 data->block_io->Media->BlockSize; in read_from_partition()
[all …]
Duefi_avb_ops.h38 EFI_BLOCK_IO* block_io; member
/external/u-boot/lib/efi_selftest/
Defi_selftest_block_device.c166 static struct efi_block_io block_io = { variable
195 block_io.media->block_size = 1 << LB_BLOCK_SIZE; in setup()
196 block_io.media->last_block = img.length >> LB_BLOCK_SIZE; in setup()
200 EFI_NATIVE_INTERFACE, &block_io); in setup()
258 &block_io); in teardown()