Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/io/
Ddevice.rs86 fn blk_size_log2(&self) -> u8; in blk_size_log2() method
114 let iter = BlockIter::new_multiblock(offset, offset + len, self.blk_size_log2()); in read_at()
130 if self.blk_size_log2() > BLK_SIZE_LOG2_LIMIT { in read_at()
135 temp.resize(1usize << self.blk_size_log2(), 0); in read_at()
151 let iter = BlockIter::new_multiblock(offset, offset + len, self.blk_size_log2()); in write_at()
164 if self.blk_size_log2() > BLK_SIZE_LOG2_LIMIT { in write_at()
169 temp.resize(1usize << self.blk_size_log2(), 0); in write_at()
192 pub blk_size_log2: u8, field
204 pub blk_size_log2: u8, field
209 pub fn new(start_addr: usize, end_addr: usize, blk_size_log2: u8) -> BlockIter { in new()
[all …]
/DragonOS-0.1.8/kernel/src/driver/disk/ahci/
Dahcidisk.rs445 fn blk_size_log2(&self) -> u8 { in blk_size_log2() method