Home
last modified time | relevance | path

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

/external/crosvm/sys_util/src/
Dwrite_zeroes.rs28 fn write_zeroes(&mut self, length: usize) -> io::Result<usize>; in write_zeroes() method
32 fn write_zeroes(&mut self, length: usize) -> io::Result<usize> { in write_zeroes() method
103 f.write_zeroes(4321).expect("write_zeroes failed"); in simple_test()
152 f.write_zeroes(0x10001).expect("write_zeroes failed"); in large_write_zeroes()
Dlib.rs39 mod write_zeroes; module
73 pub use crate::write_zeroes::{PunchHole, WriteZeroes};
/external/crosvm/qcow_utils/src/
Dqcow_img.rs267 qcow_file.write_zeroes(CHUNK_SIZE).map_err(|_| ())?; in dd()
/external/crosvm/qcow/src/
Dqcow.rs1023 self.raw_file.file_mut().write_zeroes(cluster_size)?; in get_new_cluster()
1209 self.raw_file.file_mut().write_zeroes(count)?; in deallocate_bytes()
1879 let nwritten = q.write_zeroes(0x200).expect("Failed to write zeroes."); in write_zeroes_read()
1905 let nwritten = q.write_zeroes(CHUNK_SIZE).expect("Failed to write zeroes."); in write_zeroes_full_cluster()
/external/crosvm/devices/src/virtio/
Dblock.rs633 disk.write_zeroes(length as usize).map_err(|e| { in execute()