Searched refs:old_size (Results 1 – 1 of 1) sorted by relevance
1499 let old_size = guard.metadata.size as usize; in resize() localVariable1504 match len.cmp(&old_size) { in resize()1511 let mut remain_size = len - old_size; in resize()1516 let mut offset = old_size; in resize()1541 let old_size = guard.metadata.size as usize; in truncate() localVariable1542 if len < old_size { in truncate()