Home
last modified time | relevance | path

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

/DragonOS-0.1.9/kernel/src/filesystem/fat/
Dentry.rs249 let extra_bytes = min((offset + len) - self.size(), MAX_FILE_SIZE - self.size()); in ensure_len() localVariable
261 if bytes_remain_in_cluster < extra_bytes { in ensure_len()
263 (extra_bytes - bytes_remain_in_cluster + fs.bytes_per_cluster() - 1) in ensure_len()
304 let new_size = self.size() + extra_bytes; in ensure_len()