Lines Matching refs:entry
38 use super::entry::FATFile;
42 entry::{FATDir, FATDirEntry, FATDirIter, FATEntry},
154 if let Some(entry) = self.children.get(&search_name) { in find()
155 return Ok(entry.clone()); in find()
443 let mut entry = cursor.read_u16()?; in get_fat_entry() localVariable
446 entry >>= 4; in get_fat_entry()
448 entry &= 0x0fff; in get_fat_entry()
451 if entry == 0 { in get_fat_entry()
453 } else if entry == 0x0ff7 { in get_fat_entry()
455 } else if entry >= 0x0ff8 { in get_fat_entry()
459 cluster_num: entry as u64, in get_fat_entry()
465 let entry = cursor.read_u16()?; in get_fat_entry() localVariable
467 if entry == 0 { in get_fat_entry()
469 } else if entry == 0xfff7 { in get_fat_entry()
471 } else if entry >= 0xfff8 { in get_fat_entry()
475 cluster_num: entry as u64, in get_fat_entry()
481 let entry = cursor.read_u32()? & 0x0fffffff; in get_fat_entry() localVariable
483 match entry { in get_fat_entry()
493 cluster_num: entry as u64, in get_fat_entry()
534 let mut entry = cursor.read_u16()?; in get_fat_entry_raw() localVariable
535 entry = if (current_cluster & 0x0001) > 0 { in get_fat_entry_raw()
536 entry >> 4 in get_fat_entry_raw()
538 entry & 0x0fff in get_fat_entry_raw()
540 entry as u64 in get_fat_entry_raw()
543 let entry = (cursor.read_u16()?) as u64; in get_fat_entry_raw() localVariable
544 entry in get_fat_entry_raw()
547 let entry = cursor.read_u32()? & 0x0fff_ffff; in get_fat_entry_raw() localVariable
548 entry as u64 in get_fat_entry_raw()
663 let entry: FATEntry = self.get_fat_entry(cluster)?; in deallocate_cluster() localVariable
665 if entry != FATEntry::Bad { in deallocate_cluster()
1901 let entry: Option<FATEntry> = self.fs.get_fat_entry(c).ok(); in next() localVariable
1902 match entry { in next()