Home
last modified time | relevance | path

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

/DragonOS-0.1.5/kernel/src/io/
Ddevice.rs76 fn blk_size_log2(&self) -> u8; in blk_size_log2() method
104 let iter = BlockIter::new_multiblock(offset, offset + len, self.blk_size_log2()); in read_at()
120 if self.blk_size_log2() > BLK_SIZE_LOG2_LIMIT { in read_at()
125 temp.resize(1usize << self.blk_size_log2(), 0); in read_at()
141 let iter = BlockIter::new_multiblock(offset, offset + len, self.blk_size_log2()); in write_at()
154 if self.blk_size_log2() > BLK_SIZE_LOG2_LIMIT { in write_at()
159 temp.resize(1usize << self.blk_size_log2(), 0); in write_at()
182 pub blk_size_log2: u8, field
194 pub blk_size_log2: u8, field
199 pub fn new(start_addr: usize, end_addr: usize, blk_size_log2: u8) -> BlockIter { in new()
[all …]
/DragonOS-0.1.5/kernel/src/driver/disk/ahci/
Dahcidisk.rs397 fn blk_size_log2(&self) -> u8 { in blk_size_log2() method