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
316 fs: &Arc<FATFileSystem>, in zero_range() argument
336 pub fn truncate(&mut self, fs: &Arc<FATFileSystem>, new_size: u64) -> Result<(), SystemError> { in truncate() argument
381 pub fn to_iter(&self, fs: Arc<FATFileSystem>) -> FATDirIter { in to_iter()
397 pub fn size(&self, fs: &Arc<FATFileSystem>) -> u64 { in size()
411 fs: Arc<FATFileSystem>, in find_free_entries() argument
506 fs: Arc<FATFileSystem>, in find_entry() argument
[all …]
H A Dbpb.rs11 use super::fs::{Cluster, FATFileSystem};
293 bpb.fat_type = if count_clusters < FATFileSystem::FAT12_MAX_CLUSTER { in new()
295 } else if count_clusters <= FATFileSystem::FAT16_MAX_CLUSTER { in new()
297 } 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
381 let result: Arc<FATFileSystem> = Arc::new(FATFileSystem { in new()
1217 impl Drop for FATFileSystem { implementation
1423 let fs: &Arc<FATFileSystem> = &guard.fs.upgrade().unwrap(); in write_at()
1449 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()