Home
last modified time | relevance | path

Searched refs:fs_info (Results 1 – 2 of 2) sorted by relevance

/DragonOS-0.1.5/kernel/src/filesystem/fat/
Dfs.rs70 pub fs_info: Arc<LockedFATFsInfo>, field
84 pub fn new(fs_info: FATFsInfo) -> Self { in new()
85 return Self(SpinLock::new(fs_info)); in new()
250 let fs_info: FATFsInfo = match bpb.fat_type { in new() localVariable
253 + bpb32.fs_info as u64 * bpb.bytes_per_sector as u64; in new()
317 fs_info: Arc::new(LockedFATFsInfo::new(fs_info)), in new()
545 let next_free: u64 = match self.fs_info.0.lock().next_free() { in allocate_cluster()
569 self.fs_info.0.lock().update_free_count_delta(-1); in allocate_cluster()
571 self.fs_info in allocate_cluster()
605 self.fs_info.0.lock().update_free_count_delta(1); in deallocate_cluster()
[all …]
Dbpb.rs115 pub fs_info: u16, field
217 bpb32.fs_info = cursor.read_u16()?; in new()