Searched refs:copy_buf (Results 1 – 1 of 1) sorted by relevance
167 void *copy_buf = NULL; in qcow2_write_raw_image() local189 ret = ext2fs_get_memzero(1 << img.cluster_bits, ©_buf); in qcow2_write_raw_image()235 off_out, copy_buf, img.cluster_size); in qcow2_write_raw_image()247 ((char *)copy_buf)[0] = 0; in qcow2_write_raw_image()248 size = write(raw_fd, copy_buf, 1); in qcow2_write_raw_image()255 if (copy_buf) in qcow2_write_raw_image()256 ext2fs_free_mem(©_buf); in qcow2_write_raw_image()