Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/filesystem/fat/
Dentry.rs105 let mut in_cluster_offset: u64 = offset % fs.bytes_per_cluster(); in read() localVariable
113 if in_cluster_offset >= fs.bytes_per_cluster() { in read()
116 in_cluster_offset %= fs.bytes_per_cluster(); in read()
126 (fs.bytes_per_cluster() - in_cluster_offset) as usize, in read()
132 let offset = fs.cluster_bytes_offset(current_cluster) + in_cluster_offset; in read()
142 in_cluster_offset += r as u64; in read()
241 let in_cluster_offset = self.size() % fs.bytes_per_cluster(); in ensure_len() localVariable
242 let mut bytes_remain_in_cluster = if in_cluster_offset == 0 { in ensure_len()
245 fs.bytes_per_cluster() - in_cluster_offset in ensure_len()