Home
last modified time | relevance | path

Searched refs:offset_from_partition (Results 1 – 2 of 2) sorted by relevance

/external/avb/examples/uefi/
Duefi_avb_ops.c178 int64_t offset_from_partition, in read_from_partition() argument
201 if (offset_from_partition < 0) { in read_from_partition()
202 if ((-offset_from_partition) > partition_size) { in read_from_partition()
207 offset_from_partition = partition_size - (-offset_from_partition); in read_from_partition()
213 if (num_bytes > partition_size - offset_from_partition) in read_from_partition()
214 *out_num_read = partition_size - offset_from_partition; in read_from_partition()
224 offset_from_partition, in read_from_partition()
240 int64_t offset_from_partition, in write_to_partition() argument
260 if (offset_from_partition < 0) { in write_to_partition()
261 if ((-offset_from_partition) > partition_size) { in write_to_partition()
[all …]
/external/u-boot/common/
Davb_verify.c534 s64 offset_from_partition, in read_from_partition() argument
539 return mmc_byte_io(ops, partition_name, offset_from_partition, in read_from_partition()
562 s64 offset_from_partition, in write_to_partition() argument
566 return mmc_byte_io(ops, partition_name, offset_from_partition, in write_to_partition()