Home
last modified time | relevance | path

Searched defs:u64 (Results 1 – 23 of 23) sorted by relevance

/bootable/libbootloader/gbl/libstorage/src/
Dlib.rs61 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 …]
Dram_block.rs41 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()
Dalgorithm.rs26 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()
Dgpt.rs106 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/
Dpartition.rs63 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 …]
Dops.rs139 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/
Dsparse.rs51 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()
Dmod.rs409 ) -> 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/
Dblock_io.rs38 lba: u64, in read_blocks()
59 pub fn write_blocks(&self, lba: u64, buffer: &mut [u8]) -> Result<()> { in write_blocks()
Dblock_io2.rs61 lba: u64, in read_blocks_ex()
99 pub async fn write_blocks_ex(&self, lba: u64, buffer: &mut [u8]) -> Result<()> { in write_blocks_ex()
Driscv.rs48 pub fn revision(&self) -> Result<u64> { in revision()
Dgbl_efi_avb.rs84 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()
Dgbl_efi_fastboot.rs196 pub fn get_partition_permissions(&self, part_name: &str) -> Result<u64> { in get_partition_permissions()
/bootable/libbootloader/gbl/efi/src/
Defi_blocks.rs65 blk_offset: u64, in read_blocks()
75 async fn write_blocks(&mut self, blk_offset: u64, data: &mut [u8]) -> Result<(), Error> { in write_blocks()
Dops.rs346 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()
Dnet.rs371 pub fn set_io_yield_threshold(&mut self, threshold: u64) { in set_io_yield_threshold()
/bootable/libbootloader/gbl/libefi/mocks/
Dprotocol.rs248 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/
Dops.rs87 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/
Dlib.rs117 pub async fn increment(&mut self, inc: u64) { in increment()
/bootable/libbootloader/gbl/libgbl/src/android_boot/
Dvboot.rs218 rollback_result: std::result::Result<u64, avb::IoError>, in test_avb_verify_slot()
/bootable/libbootloader/gbl/libfastboot/src/
Dlib.rs356 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/
Dab_slots.rs300 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()
Dlib.rs1245 duration: u64, in set_timer()