Home
last modified time | relevance | path

Searched refs:read_u8 (Results 1 – 5 of 5) sorted by relevance

/DragonOS-0.1.8/kernel/src/filesystem/fat/
Dbpb.rs239 bpb.sector_per_cluster = cursor.read_u8()?; in new()
241 bpb.num_fats = cursor.read_u8()?; in new()
244 bpb.media = cursor.read_u8()?; in new()
260 bpb32.drive_num = cursor.read_u8()?; in new()
261 bpb32.reserved1 = cursor.read_u8()?; in new()
262 bpb32.boot_sig = cursor.read_u8()?; in new()
Dentry.rs2379 let dir_0 = cursor.read_u8()?; in get_raw_dir_entry()
2390 let file_attr: FileAttributes = FileAttributes::new(cursor.read_u8()?); in get_raw_dir_entry()
2399 long_dentry.ord = cursor.read_u8()?; in get_raw_dir_entry()
2401 long_dentry.file_attrs = FileAttributes::new(cursor.read_u8()?); in get_raw_dir_entry()
2402 long_dentry.dirent_type = cursor.read_u8()?; in get_raw_dir_entry()
2403 long_dentry.checksum = cursor.read_u8()?; in get_raw_dir_entry()
2415 short_dentry.attributes = FileAttributes::new(cursor.read_u8()?); in get_raw_dir_entry()
2417 short_dentry.nt_res = cursor.read_u8()?; in get_raw_dir_entry()
2418 short_dentry.crt_time_tenth = cursor.read_u8()?; in get_raw_dir_entry()
Dfs.rs964 let next_byte = cursor.read_u8()? as u16; in get_free_cluster()
/DragonOS-0.1.8/kernel/src/driver/disk/ahci/
Dahcidisk.rs418 table.dpte[i].flags = cursor.read_u8()?; in read_mbr_table()
419 table.dpte[i].starting_head = cursor.read_u8()?; 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()
/DragonOS-0.1.8/kernel/src/libs/
Dvec_cursor.rs45 pub fn read_u8(&mut self) -> Result<u8, SystemError> { in read_u8() method