Searched refs:lba_start (Results 1 – 4 of 4) sorted by relevance
/DragonOS-0.1.7/kernel/src/io/ |
D | device.rs | 122 let count: usize = (range.lba_end - range.lba_start).try_into().unwrap(); in read_at() 127 BlockDevice::read_at(self, range.lba_start, count, buf_slice)?; in read_at() 136 BlockDevice::read_at(self, range.lba_start, 1, &mut temp[..])?; in read_at() 158 let count: usize = (range.lba_end - range.lba_start).try_into().unwrap(); in write_at() 162 BlockDevice::write_at(self, range.lba_start, count, buf_slice)?; in write_at() 171 BlockDevice::read_at(self, range.lba_start, 1, &mut temp[..])?; in write_at() 174 BlockDevice::write_at(self, range.lba_start, 1, &temp[..])?; in write_at() 200 pub lba_start: usize, // 起始块的lba_id field 241 lba_start: lba_id, in next_block() 253 let lba_start = self.begin / blk_size; in next_multiblock() localVariable [all …]
|
D | disk_info.rs | 16 pub lba_start: u64, // 起始LBA号 field 30 lba_start: u64, in new() 37 lba_start, in new()
|
/DragonOS-0.1.7/kernel/src/filesystem/fat/ |
D | bpb.rs | 229 .read_at(partition.lba_start as usize, 1, &mut v)?; in new()
|
D | fs.rs | 258 let fs_info_in_disk_bytes_offset = partition.lba_start * LBA_SIZE as u64 in new() 365 let fat_ent_lba = self.partition.lba_start + fat_bytes_offset / LBA_SIZE as u64; in get_fat_entry() 700 return (self.partition.lba_start in get_lba_from_offset() 720 return disk_bytes_offset - (self.partition.lba_start * LBA_SIZE as u64); in get_in_partition_bytes_offset()
|