Searched defs:BlockId (Results 1 – 7 of 7) sorted by relevance
/DragonOS/kernel/src/driver/block/cache/ |
H A D | cache_iter.rs | 16 pub fn new(lba_id: BlockId, data_start_addr: BlockId, block_size: usize) -> Self { in new() 24 pub fn lba_id(&self) -> BlockId { in lba_id() 28 pub fn _data_start_addr(&self) -> BlockId { in _data_start_addr() 52 pub fn new(lba_id_start: BlockId, count: usize, block_size: usize) -> Self { in new() 90 pub fn new(lba_id: BlockId, index: usize) -> Self { in new() 94 pub fn lba_id(&self) -> BlockId { in lba_id()
|
H A D | cached_block_device.rs | 62 lba_id_start: BlockId, in read() 166 fn insert_one_block(lba_id: BlockId, data: Vec<u8>) -> Result<(), BlockCacheError> { in insert_one_block() 182 lba_id_start: BlockId, in immediate_write() 215 pub fn insert(&mut self, lba_id: BlockId, data: Vec<u8>) -> Result<(), BlockCacheError> { in insert() 276 pub fn insert(&mut self, lba_id: BlockId, data: Vec<u8>) -> Result<(), BlockCacheError> { in insert() 319 pub fn insert(&mut self, lba_id: BlockId, caddr: CacheBlockAddr) -> Option<()> { in insert() 327 pub fn remove(&mut self, lba_id: BlockId) { in remove() 347 pub fn insert(&mut self, lba_id: BlockId, caddr: CacheBlockAddr) -> Option<()> { in insert() 359 pub fn remove(&mut self, lba_id: BlockId) { in remove()
|
H A D | cache_block.rs | 35 pub fn from_data(lba_id: BlockId, data: Vec<u8>) -> Self { in from_data() 51 pub fn lba_id(&self) -> BlockId { in lba_id()
|
/DragonOS/kernel/src/driver/base/block/ |
H A D | block_device.rs | 32 pub type BlockId = usize; typedef 214 pub fn __bytes_to_lba(addr: usize, blk_size: usize) -> BlockId { in __bytes_to_lba() 220 pub fn __lba_to_bytes(lba_id: usize, blk_size: usize) -> BlockId { in __lba_to_bytes() 308 lba_id_start: BlockId, in read_at_sync() 322 lba_id_start: BlockId, in write_at_sync() 355 lba_id_start: BlockId, in read_at() 366 lba_id_start: BlockId, in write_at() 377 lba_id_start: BlockId, in cache_read() 408 lba_id_start: BlockId, in cache_write()
|
H A D | gendisk.rs | 54 start_block_offset: BlockId, in read_at() 123 fn block_offset_2_disk_blkid(&self, block_offset: BlockId) -> BlockId { in block_offset_2_disk_blkid()
|
/DragonOS/kernel/src/driver/disk/ahci/ |
H A D | ahcidisk.rs | 72 lba_id_start: BlockId, // 起始lba编号 in read_at() 228 lba_id_start: BlockId, in write_at() 565 lba_id_start: BlockId, // 起始lba编号 in read_at_sync() 575 lba_id_start: BlockId, in write_at_sync()
|
/DragonOS/kernel/src/driver/block/ |
H A D | virtio_blk.rs | 229 lba_id_start: BlockId, in read_at_sync() 251 lba_id_start: BlockId, in write_at_sync()
|