Lines Matching refs:retval
41 errcode_t retval; in expand_dir_proc() local
53 retval = ext2fs_new_block2(fs, es->goal, 0, &new_blk); in expand_dir_proc()
54 if (retval) { in expand_dir_proc()
55 es->err = retval; in expand_dir_proc()
62 retval = ext2fs_new_dir_block(fs, 0, 0, &block); in expand_dir_proc()
63 if (retval) { in expand_dir_proc()
64 es->err = retval; in expand_dir_proc()
68 retval = ext2fs_write_dir_block4(fs, new_blk, block, 0, in expand_dir_proc()
72 retval = ext2fs_zero_blocks2(fs, new_blk, 1, NULL, NULL); in expand_dir_proc()
75 if (retval) { in expand_dir_proc()
76 es->err = retval; in expand_dir_proc()
89 errcode_t retval; in ext2fs_expand_dir() local
101 retval = ext2fs_check_directory(fs, dir); in ext2fs_expand_dir()
102 if (retval) in ext2fs_expand_dir()
103 return retval; in ext2fs_expand_dir()
105 retval = ext2fs_read_inode(fs, dir, &inode); in ext2fs_expand_dir()
106 if (retval) in ext2fs_expand_dir()
107 return retval; in ext2fs_expand_dir()
115 retval = ext2fs_block_iterate3(fs, dir, BLOCK_FLAG_APPEND, in ext2fs_expand_dir()
117 if (retval == EXT2_ET_INLINE_DATA_CANT_ITERATE) in ext2fs_expand_dir()
128 retval = ext2fs_read_inode(fs, dir, &inode); in ext2fs_expand_dir()
129 if (retval) in ext2fs_expand_dir()
130 return retval; in ext2fs_expand_dir()
132 retval = ext2fs_inode_size_set(fs, &inode, in ext2fs_expand_dir()
134 if (retval) in ext2fs_expand_dir()
135 return retval; in ext2fs_expand_dir()
138 retval = ext2fs_write_inode(fs, dir, &inode); in ext2fs_expand_dir()
139 if (retval) in ext2fs_expand_dir()
140 return retval; in ext2fs_expand_dir()