Home
last modified time | relevance | path

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

/DragonOS/kernel/src/filesystem/fat/
H A Dbpb.rs233 bpb.bytes_per_sector = cursor.read_u16()?; in new()
235 bpb.rsvd_sec_cnt = cursor.read_u16()?; in new()
237 bpb.root_entries_cnt = cursor.read_u16()?; in new()
238 bpb.total_sectors_16 = cursor.read_u16()?; in new()
240 bpb.fat_size_16 = cursor.read_u16()?; in new()
241 bpb.sector_per_track = cursor.read_u16()?; in new()
242 bpb.num_heads = cursor.read_u16()?; in new()
248 ext_flags: cursor.read_u16()?, in new()
249 fs_version: cursor.read_u16()?, in new()
251 fs_info: cursor.read_u16()?, in new()
[all …]
H A Dfs.rs443 let mut entry = cursor.read_u16()?; in get_fat_entry()
465 let entry = cursor.read_u16()?; in get_fat_entry()
534 let mut entry = cursor.read_u16()?; in get_fat_entry_raw()
543 let entry = (cursor.read_u16()?) as u64; in get_fat_entry_raw()
988 let mut packed_val: u16 = cursor.read_u16()?; in get_free_cluster()
1007 0 => cursor.read_u16()?, in get_free_cluster()
1033 let val = cursor.read_u16()?; in get_free_cluster()
1108 let old_val: u16 = cursor.read_u16()?; in set_entry()
H A Dentry.rs2438 long_dentry.first_clus_low = cursor.read_u16()?; in get_raw_dir_entry()
2451 short_dentry.crt_time = cursor.read_u16()?; in get_raw_dir_entry()
2452 short_dentry.crt_date = cursor.read_u16()?; in get_raw_dir_entry()
2453 short_dentry.lst_acc_date = cursor.read_u16()?; in get_raw_dir_entry()
2454 short_dentry.fst_clus_hi = cursor.read_u16()?; in get_raw_dir_entry()
2455 short_dentry.wrt_time = cursor.read_u16()?; in get_raw_dir_entry()
2456 short_dentry.wrt_date = cursor.read_u16()?; in get_raw_dir_entry()
2457 short_dentry.fst_clus_lo = cursor.read_u16()?; in get_raw_dir_entry()
/DragonOS/kernel/src/filesystem/
H A Dmbr.rs102 table.dpte[i].starting_sector_cylinder = cursor.read_u16()?; in from_disk()
105 table.dpte[i].ending_sector_cylinder = cursor.read_u16()?; in from_disk()
111 table.bs_trailsig = cursor.read_u16()?; in from_disk()
/DragonOS/kernel/src/libs/
H A Dvec_cursor.rs55 pub fn read_u16(&mut self) -> Result<u16, SystemError> { in read_u16() method
120 *item = self.read_u16()?; in read_u16_into()