Lines Matching refs:usize
41 BlockOutsidePartition(usize),
59 indices: RangeInclusive<usize>,
74 pub fn indices(&self) -> RangeInclusive<usize> { in indices() argument
78 pub fn read_block(&mut self, index: usize, blk: &mut [u8]) -> Result<()> { in read_block() argument
83 pub fn write_block(&mut self, index: usize, blk: &[u8]) -> Result<()> { in write_block() argument
88 fn block_index(&self, index: usize) -> Option<usize> { in block_index() argument
99 entries_count: usize,
103 pub const LBA_SIZE: usize = SECTOR_SIZE;
112 let entries_count = usize::try_from(header.entries_count()).unwrap(); in new()
148 fn read_block(&mut self, index: usize, blk: &mut [u8]) -> Result<()> { in read_block() argument
152 fn write_block(&mut self, index: usize, blk: &[u8]) -> Result<()> { in write_block() argument
183 const LBA: usize = 1;
184 const ENTRIES_LBA: usize = 2;
237 const NAME_SIZE: usize = 72;