Home
last modified time | relevance | path

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

/DragonOS-0.1.5/kernel/src/filesystem/fat/
Dbpb.rs200 bpb.sector_per_cluster = cursor.read_u8()?; in new()
202 bpb.num_fats = cursor.read_u8()?; in new()
205 bpb.media = cursor.read_u8()?; in new()
221 bpb32.drive_num = cursor.read_u8()?; in new()
222 bpb32.reserved1 = cursor.read_u8()?; in new()
223 bpb32.boot_sig = cursor.read_u8()?; in new()
Dentry.rs2351 let dir_0 = cursor.read_u8()?; in get_raw_dir_entry()
2362 let file_attr: FileAttributes = FileAttributes::new(cursor.read_u8()?); in get_raw_dir_entry()
2371 long_dentry.ord = cursor.read_u8()?; in get_raw_dir_entry()
2373 long_dentry.file_attrs = FileAttributes::new(cursor.read_u8()?); in get_raw_dir_entry()
2374 long_dentry.dirent_type = cursor.read_u8()?; in get_raw_dir_entry()
2375 long_dentry.checksum = cursor.read_u8()?; in get_raw_dir_entry()
2387 short_dentry.attributes = FileAttributes::new(cursor.read_u8()?); in get_raw_dir_entry()
2389 short_dentry.nt_res = cursor.read_u8()?; in get_raw_dir_entry()
2390 short_dentry.crt_time_tenth = cursor.read_u8()?; in get_raw_dir_entry()
Dfs.rs954 let next_byte = cursor.read_u8()? as u16; in get_free_cluster()
/DragonOS-0.1.5/kernel/src/driver/disk/ahci/
Dahcidisk.rs370 table.dpte[i].flags = cursor.read_u8()?; in read_mbr_table()
371 table.dpte[i].starting_head = cursor.read_u8()?; in read_mbr_table()
373 table.dpte[i].part_type = cursor.read_u8()?; in read_mbr_table()
374 table.dpte[i].ending_head = cursor.read_u8()?; in read_mbr_table()
/DragonOS-0.1.5/kernel/src/libs/
Dvec_cursor.rs48 pub fn read_u8(&mut self) -> Result<u8, i32> { in read_u8() method