Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/filesystem/fat/
Dutils.rs4 pub const RESERVED_CLUSTERS: u32 = 2; constant
Dfs.rs30 utils::RESERVED_CLUSTERS,
562 Cluster::new(RESERVED_CLUSTERS as u64) in allocate_cluster()
565 _ => Cluster::new(RESERVED_CLUSTERS as u64), in allocate_cluster()
571 Err(_) if start_cluster.cluster_num > RESERVED_CLUSTERS as u64 => { in allocate_cluster()
572 self.get_free_cluster(Cluster::new(RESERVED_CLUSTERS as u64), end_cluster)? in allocate_cluster()
887 return Cluster::new(total_clusters + RESERVED_CLUSTERS as u64 - 1); in max_cluster_number()
902 return Cluster::new(total_clusters + RESERVED_CLUSTERS as u64 - 1); in max_cluster_number()
1253 let count_clusters = max_cluster.cluster_num - RESERVED_CLUSTERS as u64 + 1; in count_free_cluster()
1665 next_free: RESERVED_CLUSTERS, in default()