Searched refs:FATFileSystem (Results 1 – 4 of 4) sorted by relevance
/DragonOS-0.1.8/kernel/src/filesystem/fat/ |
D | entry.rs | 17 fs::{Cluster, FATFileSystem, MAX_FILE_SIZE}, 83 fs: &Arc<FATFileSystem>, in read() argument 160 fs: &Arc<FATFileSystem>, in write() argument 231 fs: &Arc<FATFileSystem>, in ensure_len() argument 320 fs: &Arc<FATFileSystem>, in zero_range() argument 343 pub fn truncate(&mut self, fs: &Arc<FATFileSystem>, new_size: u64) -> Result<(), SystemError> { in truncate() argument 388 pub fn to_iter(&self, fs: Arc<FATFileSystem>) -> FATDirIter { in to_iter() 404 pub fn size(&self, fs: &Arc<FATFileSystem>) -> u64 { in size() 418 fs: Arc<FATFileSystem>, in find_free_entries() argument 513 fs: Arc<FATFileSystem>, in find_entry() argument [all …]
|
D | bpb.rs | 11 use super::fs::{Cluster, FATFileSystem}; 297 bpb.fat_type = if count_clusters < FATFileSystem::FAT12_MAX_CLUSTER { in new() 299 } else if count_clusters <= FATFileSystem::FAT16_MAX_CLUSTER { in new() 301 } else if count_clusters < FATFileSystem::FAT32_MAX_CLUSTER { in new()
|
D | fs.rs | 61 pub struct FATFileSystem { struct 100 fs: Weak<FATFileSystem>, 162 fs: Arc<FATFileSystem>, in new() argument 228 impl FileSystem for FATFileSystem { implementation 244 impl FATFileSystem { implementation 252 pub fn new(partition: Arc<Partition>) -> Result<Arc<FATFileSystem>, SystemError> { in new() argument 319 let result: Arc<FATFileSystem> = Arc::new(FATFileSystem { in new() 1183 impl Drop for FATFileSystem { implementation 1391 let fs: &Arc<FATFileSystem> = &guard.fs.upgrade().unwrap(); in write_at() 1430 let fs: &Arc<FATFileSystem> = &guard.fs.upgrade().unwrap(); in create() [all …]
|
/DragonOS-0.1.8/kernel/src/filesystem/vfs/ |
D | core.rs | 13 fat::fs::FATFileSystem, 179 let fatfs: Result<Arc<FATFileSystem>, SystemError> = FATFileSystem::new(partiton); in mount_root_fs() 189 let fatfs: Arc<FATFileSystem> = fatfs.unwrap(); in mount_root_fs()
|