Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/filesystem/fat/
Dbpb.rs238 bpb.bytes_per_sector = cursor.read_u16()?; in new()
240 bpb.rsvd_sec_cnt = cursor.read_u16()?; in new()
242 bpb.root_entries_cnt = cursor.read_u16()?; in new()
243 bpb.total_sectors_16 = cursor.read_u16()?; in new()
245 bpb.fat_size_16 = cursor.read_u16()?; in new()
246 bpb.sector_per_track = cursor.read_u16()?; in new()
247 bpb.num_heads = cursor.read_u16()?; in new()
253 bpb32.ext_flags = cursor.read_u16()?; in new()
254 bpb32.fs_version = cursor.read_u16()?; in new()
256 bpb32.fs_info = cursor.read_u16()?; in new()
[all …]
Dfs.rs385 let mut entry = cursor.read_u16()?; in get_fat_entry()
407 let entry = cursor.read_u16()?; in get_fat_entry()
479 let mut entry = cursor.read_u16()?; in get_fat_entry_raw()
488 let entry = (cursor.read_u16()?) as u64; in get_fat_entry_raw()
943 let mut packed_val: u16 = cursor.read_u16()?; in get_free_cluster()
962 0 => cursor.read_u16()?, in get_free_cluster()
991 let val = cursor.read_u16()?; in get_free_cluster()
1070 let old_val: u16 = cursor.read_u16()?; in set_entry()
Dentry.rs2406 long_dentry.first_clus_low = cursor.read_u16()?; in get_raw_dir_entry()
2419 short_dentry.crt_time = cursor.read_u16()?; in get_raw_dir_entry()
2420 short_dentry.crt_date = cursor.read_u16()?; in get_raw_dir_entry()
2421 short_dentry.lst_acc_date = cursor.read_u16()?; in get_raw_dir_entry()
2422 short_dentry.fst_clus_hi = cursor.read_u16()?; in get_raw_dir_entry()
2423 short_dentry.wrt_time = cursor.read_u16()?; in get_raw_dir_entry()
2424 short_dentry.wrt_date = cursor.read_u16()?; in get_raw_dir_entry()
2425 short_dentry.fst_clus_lo = cursor.read_u16()?; in get_raw_dir_entry()
/DragonOS-0.1.8/kernel/src/libs/
Dvec_cursor.rs54 pub fn read_u16(&mut self) -> Result<u16, SystemError> { in read_u16() method
119 buf[i] = self.read_u16()?; in read_u16_into()
/DragonOS-0.1.8/kernel/src/driver/disk/ahci/
Dahcidisk.rs420 table.dpte[i].starting_sector_cylinder = cursor.read_u16()?; in read_mbr_table()
423 table.dpte[i].ending_sector_cylingder = cursor.read_u16()?; in read_mbr_table()
429 table.bs_trailsig = cursor.read_u16()?; in read_mbr_table()