Home
last modified time | relevance | path

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

/DragonOS/kernel/src/driver/base/block/
H A Ddisk_info.rs16 pub partno: u16, // 在磁盘上的分区号 field
27 partno: u16, in new()
34 partno, in new()
38 pub fn new_raw(start_sector: SectorT, lba_start: u64, sectors_num: u64, partno: u16) -> Self { in new_raw()
44 partno, in new_raw()
H A Dmanager.rs150 let (devname, partno) = self.path2devname(path)?; in lookup_gendisk_by_path()
154 return dev.blkdev_meta().inner().gendisks.get(&partno).cloned(); in lookup_gendisk_by_path()
188 let mut partno = GenDisk::ENTIRE_DISK_IDX; in path2devname() localVariable
199 partno = path[last_digit..].parse().ok()?; in path2devname()
204 Some((path, partno)) in path2devname()