Home
last modified time | relevance | path

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

/DragonOS-0.1.5/kernel/src/filesystem/fat/
Dentry.rs131 let offset = fs.cluster_bytes_offset(current_cluster) + in_cluster_offset; in read()
199 let offset = fs.cluster_bytes_offset(current_cluster) + in_cluster_bytes_offset; in write()
278 fs.cluster_bytes_offset(start_cluster) + self.size() % fs.bytes_per_cluster(); in ensure_len()
298 let short_entry_offset = fs.cluster_bytes_offset(self.loc.1 .0) + self.loc.1 .1; in ensure_len()
348 let short_entry_offset = fs.cluster_bytes_offset((self.loc.1).0) + (self.loc.1).1; in truncate()
428 let e_offset = fs.cluster_bytes_offset(current_cluster) + offset; in find_free_entries()
613 dot_entry.flush(&fs, fs.cluster_bytes_offset(first_cluster) + offset)?; in create_dir()
627 dot_dot_entry.flush(&fs, fs.cluster_bytes_offset(first_cluster) + offset)?; in create_dir()
738 let bytes_offset = fs.cluster_bytes_offset(off.0) + off.1;
745 let offset = fs.cluster_bytes_offset(end.0) + end.1;
[all …]
Dfs.rs523 pub fn cluster_bytes_offset(&self, cluster: Cluster) -> u64 { in cluster_bytes_offset() method
1164 let offset: usize = self.cluster_bytes_offset(cluster) as usize; in zero_cluster()