Lines Matching refs:retval

68 	errcode_t	retval;  in ext2fs_image_inode_write()  local
78 retval = EXT2_ET_MISSING_INODE_TABLE; in ext2fs_image_inode_write()
86 retval = io_channel_read_blk64(fs->io, blk, c, buf); in ext2fs_image_inode_write()
87 if (retval) in ext2fs_image_inode_write()
104 retval = errno; in ext2fs_image_inode_write()
117 retval = errno; in ext2fs_image_inode_write()
121 retval = EXT2_ET_SHORT_WRITE; in ext2fs_image_inode_write()
131 retval = 0; in ext2fs_image_inode_write()
135 return retval; in ext2fs_image_inode_write()
148 errcode_t retval; in ext2fs_image_inode_read() local
157 retval = EXT2_ET_MISSING_INODE_TABLE; in ext2fs_image_inode_read()
167 retval = errno; in ext2fs_image_inode_read()
171 retval = EXT2_ET_SHORT_READ; in ext2fs_image_inode_read()
174 retval = io_channel_write_blk64(fs->io, blk, c, buf); in ext2fs_image_inode_read()
175 if (retval) in ext2fs_image_inode_read()
182 retval = ext2fs_flush_icache(fs); in ext2fs_image_inode_read()
186 return retval; in ext2fs_image_inode_read()
197 errcode_t retval; in ext2fs_image_super_write() local
225 retval = errno; in ext2fs_image_super_write()
229 retval = EXT2_ET_SHORT_WRITE; in ext2fs_image_super_write()
265 retval = errno; in ext2fs_image_super_write()
269 retval = EXT2_ET_SHORT_WRITE; in ext2fs_image_super_write()
273 retval = 0; in ext2fs_image_super_write()
277 return retval; in ext2fs_image_super_write()
288 errcode_t retval; in ext2fs_image_super_read() local
300 retval = errno; in ext2fs_image_super_read()
304 retval = EXT2_ET_SHORT_READ; in ext2fs_image_super_read()
316 retval = 0; in ext2fs_image_super_read()
320 return retval; in ext2fs_image_super_read()
329 errcode_t retval; in ext2fs_image_bitmap_write() local
337 retval = ext2fs_read_inode_bitmap(fs); in ext2fs_image_bitmap_write()
338 if (retval) in ext2fs_image_bitmap_write()
339 return retval; in ext2fs_image_bitmap_write()
347 retval = ext2fs_read_block_bitmap(fs); in ext2fs_image_bitmap_write()
348 if (retval) in ext2fs_image_bitmap_write()
349 return retval; in ext2fs_image_bitmap_write()
363 retval = ext2fs_get_generic_bmap_range(bmap, itr, in ext2fs_image_bitmap_write()
365 if (retval) in ext2fs_image_bitmap_write()
366 return retval; in ext2fs_image_bitmap_write()
404 errcode_t retval; in ext2fs_image_bitmap_read() local
412 retval = ext2fs_read_inode_bitmap(fs); in ext2fs_image_bitmap_read()
413 if (retval) in ext2fs_image_bitmap_read()
414 return retval; in ext2fs_image_bitmap_read()
422 retval = ext2fs_read_block_bitmap(fs); in ext2fs_image_bitmap_read()
423 if (retval) in ext2fs_image_bitmap_read()
424 return retval; in ext2fs_image_bitmap_read()
443 retval = ext2fs_set_generic_bmap_range(bmap, itr, in ext2fs_image_bitmap_read()
445 if (retval) in ext2fs_image_bitmap_read()
446 return retval; in ext2fs_image_bitmap_read()