Home
last modified time | relevance | path

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

/DragonOS/kernel/src/filesystem/fat/
H A Dfs.rs85 pub fs_info: Arc<LockedFATFsInfo>, field
99 pub fn new(fs_info: FATFsInfo) -> Self { in new()
100 return Self(SpinLock::new(fs_info)); in new()
315 let fs_info: FATFsInfo = match bpb.fat_type { in new() localVariable
318 bpb32.fs_info as usize * bpb.bytes_per_sector as usize; in new()
384 fs_info: Arc::new(LockedFATFsInfo::new(fs_info)), in new()
609 let next_free: u64 = self.fs_info.0.lock().next_free().unwrap_or(0xffffffff); in allocate_cluster()
630 self.fs_info.0.lock().update_free_count_delta(-1); in allocate_cluster()
632 self.fs_info in allocate_cluster()
666 self.fs_info.0.lock().update_free_count_delta(1); in deallocate_cluster()
[all …]
H A Dbpb.rs115 pub fs_info: u16, field
251 fs_info: cursor.read_u16()?, in new()