Home
last modified time | relevance | path

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

/DragonOS/kernel/src/filesystem/fat/
H A Dfs.rs1501 let old_size = guard.metadata.size as usize; in resize() localVariable
1506 match len.cmp(&old_size) { in resize()
1513 let mut remain_size = len - old_size; in resize()
1518 let mut offset = old_size; in resize()
1543 let old_size = guard.metadata.size as usize; in truncate() localVariable
1544 if len < old_size { in truncate()