Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/filesystem/fat/
Dfs.rs69 pub fs_info: Arc<LockedFATFsInfo>, field
83 pub fn new(fs_info: FATFsInfo) -> Self { in new()
84 return Self(SpinLock::new(fs_info)); in new()
256 let fs_info: FATFsInfo = match bpb.fat_type { in new() localVariable
259 + bpb32.fs_info as u64 * bpb.bytes_per_sector as u64; in new()
323 fs_info: Arc::new(LockedFATFsInfo::new(fs_info)), in new()
555 let next_free: u64 = match self.fs_info.0.lock().next_free() { in allocate_cluster()
579 self.fs_info.0.lock().update_free_count_delta(-1); in allocate_cluster()
581 self.fs_info in allocate_cluster()
615 self.fs_info.0.lock().update_free_count_delta(1); in deallocate_cluster()
[all …]
Dbpb.rs115 pub fs_info: u16, field
256 bpb32.fs_info = cursor.read_u16()?; in new()