Home
last modified time | relevance | path

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

/DragonOS-0.1.7/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.rs381 let mut entry = cursor.read_u16()?; in get_fat_entry()
403 let entry = cursor.read_u16()?; in get_fat_entry()
475 let mut entry = cursor.read_u16()?; in get_fat_entry_raw()
484 let entry = (cursor.read_u16()?) as u64; in get_fat_entry_raw()
939 let mut packed_val: u16 = cursor.read_u16()?; in get_free_cluster()
958 0 => cursor.read_u16()?, in get_free_cluster()
987 let val = cursor.read_u16()?; in get_free_cluster()
1066 let old_val: u16 = cursor.read_u16()?; in set_entry()
Dentry.rs2393 long_dentry.first_clus_low = cursor.read_u16()?; in get_raw_dir_entry()
2406 short_dentry.crt_time = cursor.read_u16()?; in get_raw_dir_entry()
2407 short_dentry.crt_date = cursor.read_u16()?; in get_raw_dir_entry()
2408 short_dentry.lst_acc_date = cursor.read_u16()?; in get_raw_dir_entry()
2409 short_dentry.fst_clus_hi = cursor.read_u16()?; in get_raw_dir_entry()
2410 short_dentry.wrt_time = cursor.read_u16()?; in get_raw_dir_entry()
2411 short_dentry.wrt_date = cursor.read_u16()?; in get_raw_dir_entry()
2412 short_dentry.fst_clus_lo = cursor.read_u16()?; in get_raw_dir_entry()
/DragonOS-0.1.7/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.7/kernel/src/driver/disk/ahci/
Dahcidisk.rs372 table.dpte[i].starting_sector_cylinder = cursor.read_u16()?; in read_mbr_table()
375 table.dpte[i].ending_sector_cylingder = cursor.read_u16()?; in read_mbr_table()
381 table.bs_trailsig = cursor.read_u16()?; in read_mbr_table()