Searched refs:dpte (Results 1 – 2 of 2) sorted by relevance
38 pub dpte: [MbrDiskPartitionTableEntry; 4], // 磁盘分区表项 field61 dpte: [Default::default(); 4], in default()
385 if table.dpte[i].part_type != 0 { in new()387 table.dpte[i].starting_sector() as u64, in new()388 table.dpte[i].starting_lba as u64, in new()389 table.dpte[i].total_sectors as u64, in new()418 table.dpte[i].flags = cursor.read_u8()?; in read_mbr_table()419 table.dpte[i].starting_head = cursor.read_u8()?; in read_mbr_table()420 table.dpte[i].starting_sector_cylinder = cursor.read_u16()?; in read_mbr_table()421 table.dpte[i].part_type = cursor.read_u8()?; in read_mbr_table()422 table.dpte[i].ending_head = cursor.read_u8()?; in read_mbr_table()423 table.dpte[i].ending_sector_cylingder = cursor.read_u16()?; in read_mbr_table()[all …]