Searched refs:cursor_location (Results 1 – 1 of 1) sorted by relevance
326 let cursor_location = offset; in read_at_volatile() localVariable327 let disk = self.disk_at_offset(cursor_location)?; in read_at_volatile()328 let subslice = if cursor_location + slice.size() as u64 > disk.offset + disk.length { in read_at_volatile()329 let new_size = disk.offset + disk.length - cursor_location; in read_at_volatile()337 .read_at_volatile(subslice, cursor_location - disk.offset) in read_at_volatile()340 let cursor_location = offset; in write_at_volatile() localVariable341 let disk = self.disk_at_offset(cursor_location)?; in write_at_volatile()342 let subslice = if cursor_location + slice.size() as u64 > disk.offset + disk.length { in write_at_volatile()343 let new_size = disk.offset + disk.length - cursor_location; in write_at_volatile()353 .write_at_volatile(subslice, cursor_location - disk.offset)?; in write_at_volatile()