Lines Matching refs:cursor
412 let mut cursor = VecCursor::new(buf); in read_mbr_table() localVariable
413 cursor.seek(SeekFrom::SeekCurrent(446))?; in read_mbr_table()
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()
424 table.dpte[i].starting_lba = cursor.read_u32()?; in read_mbr_table()
425 table.dpte[i].total_sectors = cursor.read_u32()?; in read_mbr_table()
429 table.bs_trailsig = cursor.read_u16()?; in read_mbr_table()