Home
last modified time | relevance | path

Searched defs:CacheBlockAddr (Results 1 – 2 of 2) sorted by relevance

/DragonOS/kernel/src/driver/block/cache/
H A Dcached_block_device.rs89 fn check_able_to_read(block_iter: BlockIter) -> Result<Vec<CacheBlockAddr>, BlockCacheError> { in check_able_to_read()
127 cache_block_addr: CacheBlockAddr, in read_one_block()
204 addr: CacheBlockAddr, in read()
211 pub fn _write(&mut self, _addr: CacheBlockAddr, _data: CacheBlock) -> Option<()> { in _write()
250 addr: CacheBlockAddr, in read()
264 pub fn _write(&mut self, _addr: CacheBlockAddr, _data: CacheBlock) -> Option<()> { in _write()
323 pub fn find(&self, lba_id: BlockId) -> Option<CacheBlockAddr> { in find()
354 pub fn find(&self, lba_id: BlockId) -> Option<CacheBlockAddr> { in find()
369 fn index_append(&mut self) -> CacheBlockAddr; in index_append()
372 fn index_replace(&mut self) -> CacheBlockAddr; in index_replace()
[all …]
H A Dcache_block.rs16 pub type CacheBlockAddr = usize; typedef