Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/filesystem/fat/
Dentry.rs2397 let mut long_dentry = LongDirEntry::default(); in get_raw_dir_entry() localVariable
2399 long_dentry.ord = cursor.read_u8()?; in get_raw_dir_entry()
2400 cursor.read_u16_into(&mut long_dentry.name1)?; 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()
2405 cursor.read_u16_into(&mut long_dentry.name2)?; in get_raw_dir_entry()
2406 long_dentry.first_clus_low = cursor.read_u16()?; in get_raw_dir_entry()
2407 cursor.read_u16_into(&mut long_dentry.name3)?; in get_raw_dir_entry()
2409 return Ok(FATRawDirEntry::Long(long_dentry)); in get_raw_dir_entry()