Lines Matching refs:actual
66 ssize_t actual; in ext2fs_image_inode_write() local
113 actual = write(fd, cp, fs->blocksize * d); in ext2fs_image_inode_write()
114 if (actual == -1) { in ext2fs_image_inode_write()
118 if (actual != (ssize_t) (fs->blocksize * d)) { in ext2fs_image_inode_write()
145 ssize_t actual; in ext2fs_image_inode_read() local
163 actual = read(fd, buf, fs->blocksize * c); in ext2fs_image_inode_read()
164 if (actual == -1) { in ext2fs_image_inode_read()
168 if (actual != (ssize_t) (fs->blocksize * c)) { in ext2fs_image_inode_read()
194 ssize_t actual; in ext2fs_image_super_write() local
206 actual = write(fd, buf, fs->blocksize); in ext2fs_image_super_write()
207 if (actual == -1) { in ext2fs_image_super_write()
211 if (actual != (ssize_t) fs->blocksize) { in ext2fs_image_super_write()
220 actual = write(fd, cp, fs->blocksize * fs->desc_blocks); in ext2fs_image_super_write()
221 if (actual == -1) { in ext2fs_image_super_write()
225 if (actual != (ssize_t) (fs->blocksize * fs->desc_blocks)) { in ext2fs_image_super_write()
244 ssize_t actual, size; in ext2fs_image_super_read() local
255 actual = read(fd, buf, size); in ext2fs_image_super_read()
256 if (actual == -1) { in ext2fs_image_super_read()
260 if (actual != size) { in ext2fs_image_super_read()
287 ssize_t actual; in ext2fs_image_bitmap_write() local
325 actual = write(fd, buf, size); in ext2fs_image_bitmap_write()
326 if (actual == -1) in ext2fs_image_bitmap_write()
328 if (actual != (int) size) in ext2fs_image_bitmap_write()
343 actual = write(fd, buf, c); in ext2fs_image_bitmap_write()
344 if (actual == -1) in ext2fs_image_bitmap_write()
346 if (actual != c) in ext2fs_image_bitmap_write()
365 ssize_t actual; in ext2fs_image_bitmap_read() local
394 actual = read(fd, buf, size); in ext2fs_image_bitmap_read()
395 if (actual == -1) in ext2fs_image_bitmap_read()
397 if (actual != (int) size) in ext2fs_image_bitmap_read()