Home
last modified time | relevance | path

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

/external/crosvm/disk/src/
Dcomposite.rs247 let cursor_location = offset; in read_at_volatile() localVariable
248 let disk = self.disk_at_offset(cursor_location)?; in read_at_volatile()
249 let subslice = if cursor_location + slice.size() as u64 > disk.offset + disk.length { in read_at_volatile()
250 let new_size = disk.offset + disk.length - cursor_location; in read_at_volatile()
258 .read_at_volatile(subslice, cursor_location - disk.offset) in read_at_volatile()
261 let cursor_location = offset; in write_at_volatile() localVariable
262 let disk = self.disk_at_offset(cursor_location)?; in write_at_volatile()
263 let subslice = if cursor_location + slice.size() as u64 > disk.offset + disk.length { in write_at_volatile()
264 let new_size = disk.offset + disk.length - cursor_location; in write_at_volatile()
272 .write_at_volatile(subslice, cursor_location - disk.offset) in write_at_volatile()
[all …]