Home
last modified time | relevance | path

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

/DragonOS/kernel/src/filesystem/fat/
H A Dentry.rs132 let offset = fs.cluster_bytes_offset(current_cluster) + in_cluster_offset; in read()
197 let offset = fs.cluster_bytes_offset(current_cluster) + in_cluster_bytes_offset; in write()
282 fs.cluster_bytes_offset(start_cluster) + self.size() % fs.bytes_per_cluster(); in ensure_len()
302 let short_entry_offset = fs.cluster_bytes_offset(self.loc.1 .0) + self.loc.1 .1; in ensure_len()
355 let short_entry_offset = fs.cluster_bytes_offset((self.loc.1).0) + (self.loc.1).1; in truncate()
436 let e_offset = fs.cluster_bytes_offset(current_cluster) + offset; in find_free_entries()
619 dot_entry.flush(fs, fs.cluster_bytes_offset(first_cluster) + offset)?; in create_dir()
633 dot_dot_entry.flush(fs, fs.cluster_bytes_offset(first_cluster) + offset)?; in create_dir()
744 let bytes_offset = fs.cluster_bytes_offset(off.0) + off.1;
751 let offset = fs.cluster_bytes_offset(end.0) + end.1;
[all …]
H A Dfs.rs587 pub fn cluster_bytes_offset(&self, cluster: Cluster) -> u64 { in cluster_bytes_offset() method
1209 let offset = self.cluster_bytes_offset(cluster) as usize; in zero_cluster()