Home
last modified time | relevance | path

Searched refs:CacheBlock (Results 1 – 2 of 2) sorted by relevance

/DragonOS/kernel/src/driver/block/cache/
H A Dcache_block.rs20 pub struct CacheBlock { struct
26 impl CacheBlock { argument
28 CacheBlock { in new()
37 CacheBlock::new(space_box, CacheBlockFlag::Unwrited, lba_id) in from_data()
H A Dcached_block_device.rs8 cache_block::{CacheBlock, CacheBlockAddr},
211 pub fn _write(&mut self, _addr: CacheBlockAddr, _data: CacheBlock) -> Option<()> { in _write()
224 root: Vec<CacheBlock>,
264 pub fn _write(&mut self, _addr: CacheBlockAddr, _data: CacheBlock) -> Option<()> { in _write()
278 let data_block = CacheBlock::from_data(lba_id, data); in insert()