Home
last modified time | relevance | path

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

/DragonOS/kernel/src/filesystem/
H A Dmbr.rs26 pub total_sectors: u32, // 分区占用的磁盘扇区数 field
37 self.starting_sector() + self.total_sectors - 1 in ending_sector()
49 && self.total_sectors != 0 in is_valid()
107 table.dpte[i].total_sectors = cursor.read_u32()?; in from_disk()
142 self.dpte[i].total_sectors as u64, in partitions()
184 self.table.dpte[index].total_sectors as u64, in next()
/DragonOS/kernel/src/filesystem/fat/
H A Dbpb.rs279 let total_sectors = if bpb.total_sectors_16 != 0 { in new() localVariable
286 let data_sectors = total_sectors in new()
353 let total_sectors = if self.total_sectors_16 != 0 { in validate() localVariable
363 if total_sectors <= first_data_sector { in validate()