Home
last modified time | relevance | path

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

/DragonOS/kernel/src/filesystem/fat/
H A Dentry.rs52 pub first_cluster: Cluster, field
95 fs.get_cluster_by_relative(self.first_cluster, start_cluster_number as usize) in read()
168 fs.get_cluster_by_relative(self.first_cluster, start_cluster_num as usize) in write()
250 assert_eq!(self.first_cluster, Cluster::default()); in ensure_len()
251 self.first_cluster = fs.allocate_cluster(None)?; in ensure_len()
252 self.short_dir_entry.set_first_cluster(self.first_cluster); in ensure_len()
260 let last_cluster = if let Some(c) = fs.get_last_cluster(self.first_cluster) { in ensure_len()
278 .get_cluster_by_relative(self.first_cluster, start_cluster as usize) in ensure_len()
289 .get_cluster_by_relative(self.first_cluster, cluster_offset_start as usize) in ensure_len()
342 fs.get_cluster_by_relative(self.first_cluster, new_last_cluster as usize) in truncate()
[all …]
H A Dfs.rs683 first_cluster: Cluster::new(s.root_cluster as u64), in root_dir()
691 first_cluster: Cluster::new(0), in root_dir()