Home
last modified time | relevance | path

Searched defs:BlockCacheError (Results 1 – 3 of 3) sorted by relevance

/DragonOS/kernel/src/driver/block/cache/
H A Dcached_block_device.rs65 ) -> Result<usize, BlockCacheError> { in read() argument
89 fn check_able_to_read(block_iter: BlockIter) -> Result<Vec<CacheBlockAddr>, BlockCacheError> { in check_able_to_read() argument
130 ) -> Result<usize, BlockCacheError> { in read_one_block() argument
144 pub fn insert(f_data_vec: Vec<FailData>, data: &[u8]) -> Result<usize, BlockCacheError> { in insert() argument
166 fn insert_one_block(lba_id: BlockId, data: Vec<u8>) -> Result<(), BlockCacheError> { in insert_one_block() argument
185 ) -> Result<usize, BlockCacheError> { in immediate_write() argument
207 ) -> Result<usize, BlockCacheError> { in read() argument
215 pub fn insert(&mut self, lba_id: BlockId, data: Vec<u8>) -> Result<(), BlockCacheError> { in insert() argument
253 ) -> Result<usize, BlockCacheError> { in read() argument
276 pub fn insert(&mut self, lba_id: BlockId, data: Vec<u8>) -> Result<(), BlockCacheError> { in insert() argument
H A Dmod.rs14 pub enum BlockCacheError { enum
H A Dcache_block.rs43 pub fn data(&self, buf: &mut [u8]) -> Result<usize, BlockCacheError> { in data() argument