Lines Matching defs:usize
35 fn read_at(&self, offset: usize, len: usize, buf: &mut [u8]) -> Result<usize, SystemError>; in read_at()
42 fn write_at(&self, offset: usize, len: usize, buf: &[u8]) -> Result<usize, SystemError>; in write_at()
63 count: usize, in read_at()
65 ) -> Result<usize, SystemError>; in read_at()
77 count: usize, in write_at()
79 ) -> Result<usize, SystemError>; in write_at()
100 fn block_size(&self) -> usize; in block_size()
109 fn read_at(&self, offset: usize, len: usize, buf: &mut [u8]) -> Result<usize, SystemError> { in read_at()
145 fn write_at(&self, offset: usize, len: usize, buf: &[u8]) -> Result<usize, SystemError> { in write_at()
209 pub fn new(start_addr: usize, end_addr: usize, blk_size_log2: u8) -> BlockIter { in new()
217 pub fn new_multiblock(start_addr: usize, end_addr: usize, blk_size_log2: u8) -> BlockIter { in new_multiblock()
301 pub fn len(&self) -> usize { in len()
314 pub fn origin_begin(&self) -> usize { in origin_begin()
318 pub fn origin_end(&self) -> usize { in origin_end()
325 pub fn __bytes_to_lba(addr: usize, blk_size: usize) -> BlockId { in __bytes_to_lba()
331 pub fn __lba_to_bytes(lba_id: usize, blk_size: usize) -> BlockId { in __lba_to_bytes()