Searched refs:write_zeroes (Results 1 – 5 of 5) sorted by relevance
28 fn write_zeroes(&mut self, length: usize) -> io::Result<usize>; in write_zeroes() method32 fn write_zeroes(&mut self, length: usize) -> io::Result<usize> { in write_zeroes() method103 f.write_zeroes(4321).expect("write_zeroes failed"); in simple_test()152 f.write_zeroes(0x10001).expect("write_zeroes failed"); in large_write_zeroes()
39 mod write_zeroes; module73 pub use crate::write_zeroes::{PunchHole, WriteZeroes};
267 qcow_file.write_zeroes(CHUNK_SIZE).map_err(|_| ())?; in dd()
1023 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()
633 disk.write_zeroes(length as usize).map_err(|e| { in execute()