Home | History | Annotate | Download | only in ext2fs

Lines Matching defs:size

54 	size_t size;
67 size = read(fd, buffer, sizeof(struct ext2_qcow2_hdr));
68 if (size != sizeof(struct ext2_qcow2_hdr)) {
87 size_t size, l1_size = img->l1_size * sizeof(blk64_t);
100 size = read(fd, table, l1_size);
101 if (size != l1_size) {
115 size_t size;
122 size = read(fd, *l2_table, img->cluster_size);
123 if (size != img->cluster_size)
132 size_t size;
142 size = read(fdin, buf, count);
143 if (size != count)
146 size = write(fdout, buf, count);
147 if (size != count)
163 size_t size;
177 img.image_size = ext2fs_be64_to_cpu(hdr->size);
236 /* Resize the output image to the filesystem size */
241 size = write(raw_fd, copy_buf, 1);
242 if (size != 1) {