Home
last modified time | relevance | path

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

/DragonOS/kernel/src/filesystem/fat/
H A Dentry.rs17 fs::{Cluster, FATFileSystem, MAX_FILE_SIZE},
83 fs: &Arc<FATFileSystem>, in read() argument
158 fs: &Arc<FATFileSystem>, in write() argument
227 fs: &Arc<FATFileSystem>, in ensure_len() argument
315 fs: &Arc<FATFileSystem>, in zero_range() argument
335 pub fn truncate(&mut self, fs: &Arc<FATFileSystem>, new_size: u64) -> Result<(), SystemError> { in truncate() argument
380 pub fn to_iter(&self, fs: Arc<FATFileSystem>) -> FATDirIter { in to_iter()
396 pub fn size(&self, fs: &Arc<FATFileSystem>) -> u64 { in size()
410 fs: Arc<FATFileSystem>, in find_free_entries() argument
504 fs: Arc<FATFileSystem>, in find_entry() argument
[all …]
H A Dbpb.rs11 use super::fs::{Cluster, FATFileSystem};
292 bpb.fat_type = if count_clusters < FATFileSystem::FAT12_MAX_CLUSTER { in new()
294 } else if count_clusters <= FATFileSystem::FAT16_MAX_CLUSTER { in new()
296 } else if count_clusters < FATFileSystem::FAT32_MAX_CLUSTER { in new()
H A Dfs.rs77 pub struct FATFileSystem { struct
116 fs: Weak<FATFileSystem>,
189 fs: Arc<FATFileSystem>, in new() argument
263 impl FileSystem for FATFileSystem { implementation
304 impl FATFileSystem { impl
312 pub fn new(gendisk: Arc<GenDisk>) -> Result<Arc<FATFileSystem>, SystemError> { in new() argument
380 let result: Arc<FATFileSystem> = Arc::new(FATFileSystem { in new()
1215 impl Drop for FATFileSystem { implementation
1425 let fs: &Arc<FATFileSystem> = &guard.fs.upgrade().unwrap(); in write_at()
1451 let fs: &Arc<FATFileSystem> = &guard.fs.upgrade().unwrap(); in create()
[all …]
/DragonOS/kernel/src/filesystem/vfs/
H A Dcore.rs11 fat::fs::FATFileSystem,
145 let fatfs: Result<Arc<FATFileSystem>, SystemError> = FATFileSystem::new(gendisk); in mount_root_fs()
155 let fatfs: Arc<FATFileSystem> = fatfs.unwrap(); in mount_root_fs()