| /bootable/libbootloader/gbl/libstorage/src/ |
| D | lib.rs | 61 pub fn total_size(&self) -> Result<u64> { in total_size() 91 blk_offset: u64, in read_blocks() 107 async fn write_blocks(&mut self, blk_offset: u64, data: &mut [u8]) -> Result<()>; in write_blocks() 123 blk_offset: u64, in read_blocks() 129 async fn write_blocks(&mut self, blk_offset: u64, data: &mut [u8]) -> Result<()> { in write_blocks() 146 _: u64, in read_blocks() 152 async fn write_blocks(&mut self, _: u64, _: &mut [u8]) -> Result<()> { in write_blocks() 170 fn check_range<T>(info: BlockInfo, offset: u64, buffer: &[T]) -> Result<SafeNum> { in check_range() 264 offset: u64, in read() 280 pub async fn write(&mut self, offset: u64, data: &mut [u8]) -> Result<()> { in write() [all …]
|
| D | ram_block.rs | 41 pub fn new(block_size: u64, alignment: u64, storage: T) -> Self { in new() 61 blk_offset: u64, in checks() 85 blk_offset: u64, in read_blocks() 93 async fn write_blocks(&mut self, blk_offset: u64, data: &mut [u8]) -> Result<(), Error> { in write_blocks()
|
| D | algorithm.rs | 26 offset: u64, in read_aligned_all() 38 offset: u64, in read_aligned_offset_and_buffer() 72 offset: u64, in read_aligned_buffer() 139 offset: u64, in read_async() 183 async fn write_aligned_all(io: &mut impl BlockIo, offset: u64, data: &mut [u8]) -> Result<()> { in write_aligned_all() 193 offset: u64, in write_aligned_offset_and_buffer() 243 offset: u64, in write_aligned_buffer() 297 offset: u64, in write_async()
|
| D | gpt.rs | 106 fn gpt_entries_blk(block_size: u64) -> Result<u64> { in gpt_entries_blk() 287 pub fn blocks(&self) -> Result<u64> { in blocks() 375 pub fn size(&self) -> Result<u64> { in size() 380 pub fn block_size(&self) -> u64 { in block_size() 390 pub fn absolute_range(&self) -> Result<(u64, u64)> { in absolute_range() argument 397 pub fn check_range(&self, off: u64, size: u64) -> Result<u64> { in check_range() 611 pub fn check_range(&self, part_name: &str, offset: u64, size: usize) -> Result<u64> { in check_range() 655 fn check_valid(&self) -> Result<u64> { in check_valid() 895 fn min_required_blocks(block_size: u64) -> Result<u64> { in min_required_blocks() 1016 flags: u64, [all …]
|
| /bootable/libbootloader/gbl/libgbl/src/ |
| D | partition.rs | 63 pub fn size(&self) -> Result<u64, Error> { in size() 77 pub fn absolute_range(&self) -> Result<(u64, u64), Error> { in absolute_range() argument 291 pub fn size(&self) -> u64 { in size() 302 fn check_rw_range(&self, off: u64, size: impl Into<SafeNum>) -> Result<u64, Error> { in check_rw_range() 313 pub async fn write(&mut self, off: u64, data: &mut [u8]) -> Result<(), Error> { in write() 320 off: u64, in read() 332 pub async fn write_sparse(&mut self, off: u64, img: &mut [u8]) -> Result<(), Error> { in write_sparse() 339 pub fn sub(self, off: u64, sz: u64) -> Result<Self, Error> { in sub() 354 async fn write(&mut self, off: u64, data: &mut [u8]) -> Result<(), Error> { in write() 387 off: u64, in read_unique_partition() [all …]
|
| D | ops.rs | 139 off: u64, in read_from_partition() 149 off: u64, in read_from_partition_sync() 159 off: u64, in write_to_partition() 169 off: u64, in write_to_partition_sync() 176 fn partition_size(&mut self, part: &str) -> Result<Option<u64>, Error> { in partition_size() 244 fn avb_read_rollback_index(&mut self, rollback_index_location: usize) -> AvbIoResult<u64>; in avb_read_rollback_index() 252 index: u64, in avb_write_rollback_index() 508 fn avb_read_rollback_index(&mut self, _rollback_index_location: usize) -> AvbIoResult<u64> { in avb_read_rollback_index() 584 off: u64, in read_from_partition_sync() 924 fn avb_read_rollback_index(&mut self, rollback_index_location: usize) -> AvbIoResult<u64> { in avb_read_rollback_index() [all …]
|
| /bootable/libbootloader/gbl/libgbl/src/fastboot/ |
| D | sparse.rs | 51 pub fn data_size(&self) -> u64 { in data_size() 138 async fn write(&mut self, off: u64, data: &mut [u8]) -> Result<(), Error>; in write() 155 ) -> Result<u64, Error> { in write_sparse_image() 281 fn to_u64<T: TryInto<u64>>(val: T) -> Result<u64, Error> { in to_u64() 286 fn u64_add<L: TryInto<u64>, R: TryInto<u64>>(lhs: L, rhs: R) -> Result<u64, Error> { in u64_add() 291 fn u64_mul<L: TryInto<u64>, R: TryInto<u64>>(lhs: L, rhs: R) -> Result<u64, Error> { in u64_mul() 301 async fn write(&mut self, off: u64, data: &mut [u8]) -> Result<(), Error> { in write()
|
| D | mod.rs | 409 ) -> CommandResult<(Option<&'s str>, usize, u64, u64)> { in parse_partition() argument 691 offset: u64, in fetch() 692 size: u64, in fetch() 1180 off: impl TryInto<u64, Error = EOff>, in fetch() 1181 size: impl TryInto<u64, Error = ESz>, in fetch() 1226 blk_id: u64, in check_blk_upload() 1227 off: u64, in check_blk_upload() 1228 size: u64, in check_blk_upload() 1266 off: u64, in check_part_upload() 1267 size: u64, in check_part_upload() [all …]
|
| /bootable/libbootloader/gbl/libefi/src/protocol/ |
| D | block_io.rs | 38 lba: u64, in read_blocks() 59 pub fn write_blocks(&self, lba: u64, buffer: &mut [u8]) -> Result<()> { in write_blocks()
|
| D | block_io2.rs | 61 lba: u64, in read_blocks_ex() 99 pub async fn write_blocks_ex(&self, lba: u64, buffer: &mut [u8]) -> Result<()> { in write_blocks_ex()
|
| D | riscv.rs | 48 pub fn revision(&self) -> Result<u64> { in revision()
|
| D | gbl_efi_avb.rs | 84 pub fn read_rollback_index(&self, index_location: usize) -> Result<u64> { in read_rollback_index() 402 rollback_index_ptr: *mut u64, in read_rollback_index_returns_value() 429 _: *mut u64, in read_rollback_index_error_handled() 451 rollback_index: u64, in write_rollback_index_success() 476 _: u64, in write_rollback_index_error_handled()
|
| D | gbl_efi_fastboot.rs | 196 pub fn get_partition_permissions(&self, part_name: &str) -> Result<u64> { in get_partition_permissions()
|
| /bootable/libbootloader/gbl/efi/src/ |
| D | efi_blocks.rs | 65 blk_offset: u64, in read_blocks() 75 async fn write_blocks(&mut self, blk_offset: u64, data: &mut [u8]) -> Result<(), Error> { in write_blocks()
|
| D | ops.rs | 346 fn avb_read_rollback_index(&mut self, rollback_index_location: usize) -> AvbIoResult<u64> { in avb_read_rollback_index() 359 index: u64, in avb_write_rollback_index()
|
| D | net.rs | 371 pub fn set_io_yield_threshold(&mut self, threshold: u64) { in set_io_yield_threshold()
|
| /bootable/libbootloader/gbl/libefi/mocks/ |
| D | protocol.rs | 248 pub fn read_rollback_index(&self, _index_location: usize) -> Result<u64> { in read_rollback_index() 256 _rollback_index: u64, in write_rollback_index()
|
| /bootable/libbootloader/gbl/libgbl/src/gbl_avb/ |
| D | ops.rs | 87 fn partition_size(&mut self, partition: &str) -> IoResult<u64> { in partition_size() 289 fn read_rollback_index(&mut self, rollback_index_location: usize) -> IoResult<u64> { in read_rollback_index() 319 fn get_size_of_partition(&mut self, partition: &CStr) -> IoResult<u64> { in get_size_of_partition() 384 fn set_key_version(&mut self, rollback_index_location: usize, key_version: u64) { in set_key_version()
|
| /bootable/libbootloader/gbl/libasync/src/ |
| D | lib.rs | 117 pub async fn increment(&mut self, inc: u64) { in increment()
|
| /bootable/libbootloader/gbl/libgbl/src/android_boot/ |
| D | vboot.rs | 218 rollback_result: std::result::Result<u64, avb::IoError>, in test_avb_verify_slot()
|
| /bootable/libbootloader/gbl/libfastboot/src/ |
| D | lib.rs | 356 offset: u64, in fetch() 357 size: u64, in fetch() 1022 pub(crate) fn hex_to_u64(s: &str) -> CommandResult<u64> { in hex_to_u64() 1141 offset: u64, in fetch() 1142 size: u64, in fetch()
|
| /bootable/libbootloader/gbl/libefi/src/ |
| D | ab_slots.rs | 300 fn avb_read_rollback_index(&mut self, _rollback_index_location: usize) -> AvbIoResult<u64> { in avb_read_rollback_index() 307 _index: u64, in avb_write_rollback_index()
|
| D | lib.rs | 1245 duration: u64, in set_timer()
|