Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/filesystem/fat/
Dentry.rs52 pub first_cluster: Cluster, field
95 fs.get_cluster_by_relative(self.first_cluster, start_cluster_number as usize) in read()
170 fs.get_cluster_by_relative(self.first_cluster, start_cluster_num as usize) in write()
254 assert_eq!(self.first_cluster, Cluster::default()); in ensure_len()
255 self.first_cluster = fs.allocate_cluster(None)?; in ensure_len()
256 self.short_dir_entry.set_first_cluster(self.first_cluster); in ensure_len()
265 let last_cluster = if let Some(c) = fs.get_last_cluster(self.first_cluster) { in ensure_len()
283 .get_cluster_by_relative(self.first_cluster, start_cluster as usize) in ensure_len()
294 .get_cluster_by_relative(self.first_cluster, cluster_offset_start as usize) in ensure_len()
350 fs.get_cluster_by_relative(self.first_cluster, new_last_cluster as usize) in truncate()
[all …]
Dfs.rs632 first_cluster: Cluster::new(s.root_cluster as u64), in root_dir()
640 first_cluster: Cluster::new(0), in root_dir()