Lines Matching defs:u64

178     pub fn total_size(&self) -> Result<u64> {  in total_size()
198 fn block_size(&mut self) -> u64 { in block_size()
203 fn num_blocks(&mut self) -> u64 { in num_blocks()
211 fn alignment(&mut self) -> u64 { in alignment()
229 blk_offset: u64, in read_blocks()
247 blk_offset: u64, in write_blocks()
266 pub fn size(&self) -> Result<u64> { in size()
273 pub fn block_size(&self) -> u64 { in block_size()
343 fn with(&mut self, f: &mut dyn FnMut(&mut dyn BlockIo, &mut [u8], u64)); in with() argument
346 fn block_size(&mut self) -> Result<u64> { in block_size()
351 fn num_blocks(&mut self) -> Result<u64> { in num_blocks()
356 fn total_size(&mut self) -> Result<u64> { in total_size()
369 fn read(&mut self, offset: u64, out: &mut [u8]) -> Result<()> { in read()
386 fn write(&mut self, offset: u64, data: &mut [u8]) -> Result<()> { in write()
444 fn read_gpt_partition(&mut self, part_name: &str, offset: u64, out: &mut [u8]) -> Result<()> { in read_gpt_partition()
467 fn write_gpt_partition(&mut self, part_name: &str, offset: u64, data: &mut [u8]) -> Result<()> { in write_gpt_partition()
476 fn with(&mut self, f: &mut dyn FnMut(&mut dyn BlockIo, &mut [u8], u64)) { in with() argument
495 fn with(&mut self, f: &mut dyn FnMut(&mut dyn BlockIo, &mut [u8], u64)) { in with() argument
503 max_gpt_entries: u64, in required_scratch_size()
550 offset: u64, in check_range()
569 offset: u64, in read_aligned_all()
581 offset: u64, in read_aligned_offset_and_buffer()
615 offset: u64, in read_aligned_buffer()
697 offset: u64, in read()
741 offset: u64, in write_aligned_all()
753 offset: u64, in write_aligned_offset_and_buffer()
795 offset: u64, in write_aligned_buffer()
851 offset: u64, in write_bytes_mut()
913 rw_offset: u64, in new()
914 rw_size: u64, in new()
915 misalignment: u64, in new()
916 alignment: u64, in new()
917 block_size: u64, in new()
918 storage_size: u64, in new()
932 pub fn new(alignment: u64, size: u64) -> Self { in new()
986 fn write_test_helper(case: &TestCase, write_func: fn(&mut TestBlockDevice, u64, &mut [u8])) { in write_test_helper() argument