Lines Matching refs:FATRawDirEntry
445 let entry: FATRawDirEntry = get_raw_dir_entry(&fs, e_offset)?; in find_free_entries()
448 FATRawDirEntry::Free | FATRawDirEntry::FreeRest => { in find_free_entries()
465 offset += FATRawDirEntry::DIR_ENTRY_LEN; in find_free_entries()
473 (remain_entries * FATRawDirEntry::DIR_ENTRY_LEN + fs.bytes_per_cluster() - 1) in find_free_entries()
633 offset += FATRawDirEntry::DIR_ENTRY_LEN; in create_dir()
1346 pub enum FATRawDirEntry { enum
1357 impl FATRawDirEntry { impl
1448 let raw_dentry: FATRawDirEntry = get_raw_dir_entry(&self.fs, offset)?; in get_dir_entry()
1454 FATRawDirEntry::Short(s) => { in get_dir_entry()
1456 self.offset += FATRawDirEntry::DIR_ENTRY_LEN; in get_dir_entry()
1462 self.offset - FATRawDirEntry::DIR_ENTRY_LEN, in get_dir_entry()
1466 FATRawDirEntry::Long(_) => { in get_dir_entry()
1470 let mut long_name_entries: Vec<FATRawDirEntry> = vec![raw_dentry]; in get_dir_entry()
1474 self.offset += FATRawDirEntry::DIR_ENTRY_LEN; in get_dir_entry()
1507 let raw_dentry: FATRawDirEntry = get_raw_dir_entry(&self.fs, offset)?; in get_dir_entry()
1510 FATRawDirEntry::Short(_) => { in get_dir_entry()
1515 FATRawDirEntry::Long(_) => { in get_dir_entry()
1518 self.offset += FATRawDirEntry::DIR_ENTRY_LEN; in get_dir_entry()
1539 self.offset += FATRawDirEntry::DIR_ENTRY_LEN; in get_dir_entry()
1545 self.offset += FATRawDirEntry::DIR_ENTRY_LEN; in get_dir_entry()
1549 FATRawDirEntry::Free => { in get_dir_entry()
1551 self.offset += FATRawDirEntry::DIR_ENTRY_LEN; in get_dir_entry()
1553 FATRawDirEntry::FreeRest => { in get_dir_entry()
1589 mut long_name_entries: Vec<FATRawDirEntry>, in new() argument
1604 FATRawDirEntry::Short(s) => s, in new()
1611 &FATRawDirEntry::Long(l) => { in new()
2326 let mut new_offset = r.1 + FATRawDirEntry::DIR_ENTRY_LEN; in next()
2359 ) -> Result<FATRawDirEntry, SystemError> { in get_raw_dir_entry() argument
2383 return Ok(FATRawDirEntry::FreeRest); in get_raw_dir_entry()
2386 return Ok(FATRawDirEntry::Free); in get_raw_dir_entry()
2409 return Ok(FATRawDirEntry::Long(long_dentry)); in get_raw_dir_entry()
2428 return Ok(FATRawDirEntry::Short(short_dentry)); in get_raw_dir_entry()