Home
last modified time | relevance | path

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

/DragonOS-0.1.7/kernel/src/filesystem/fat/
Dutils.rs4 pub const RESERVED_CLUSTERS: u32 = 2; constant
Dfs.rs30 utils::RESERVED_CLUSTERS,
558 Cluster::new(RESERVED_CLUSTERS as u64) in allocate_cluster()
561 _ => Cluster::new(RESERVED_CLUSTERS as u64), in allocate_cluster()
567 Err(_) if start_cluster.cluster_num > RESERVED_CLUSTERS as u64 => { in allocate_cluster()
568 self.get_free_cluster(Cluster::new(RESERVED_CLUSTERS as u64), end_cluster)? in allocate_cluster()
883 return Cluster::new(total_clusters + RESERVED_CLUSTERS as u64 - 1); in max_cluster_number()
898 return Cluster::new(total_clusters + RESERVED_CLUSTERS as u64 - 1); in max_cluster_number()
1249 let count_clusters = max_cluster.cluster_num - RESERVED_CLUSTERS as u64 + 1; in count_free_cluster()
1623 next_free: RESERVED_CLUSTERS, in default()