• Home
  • Raw
  • Download

Lines Matching refs:err

41 	int err = ext2_add_link(dentry, inode);  in ext2_add_nondir()  local
42 if (!err) { in ext2_add_nondir()
50 return err; in ext2_add_nondir()
95 int err = PTR_ERR(inode); in ext2_create() local
109 err = ext2_add_nondir(dentry, inode); in ext2_create()
111 return err; in ext2_create()
117 int err; in ext2_mknod() local
123 err = PTR_ERR(inode); in ext2_mknod()
130 err = ext2_add_nondir(dentry, inode); in ext2_mknod()
132 return err; in ext2_mknod()
139 int err = -ENAMETOOLONG; in ext2_symlink() local
147 err = PTR_ERR(inode); in ext2_symlink()
158 err = page_symlink(inode, symname, l); in ext2_symlink()
159 if (err) in ext2_symlink()
169 err = ext2_add_nondir(dentry, inode); in ext2_symlink()
171 return err; in ext2_symlink()
184 int err; in ext2_link() local
193 err = ext2_add_link(dentry, inode); in ext2_link()
194 if (!err) { in ext2_link()
200 return err; in ext2_link()
206 int err = -EMLINK; in ext2_mkdir() local
214 err = PTR_ERR(inode); in ext2_mkdir()
227 err = ext2_make_empty(inode, dir); in ext2_mkdir()
228 if (err) in ext2_mkdir()
231 err = ext2_add_link(dentry, inode); in ext2_mkdir()
232 if (err) in ext2_mkdir()
238 return err; in ext2_mkdir()
255 int err = -ENOENT; in ext2_unlink() local
261 err = ext2_delete_entry (de, page); in ext2_unlink()
262 if (err) in ext2_unlink()
267 err = 0; in ext2_unlink()
269 return err; in ext2_unlink()
275 int err = -ENOTEMPTY; in ext2_rmdir() local
278 err = ext2_unlink(dir, dentry); in ext2_rmdir()
279 if (!err) { in ext2_rmdir()
285 return err; in ext2_rmdir()
297 int err = -ENOENT; in ext2_rename() local
304 err = -EIO; in ext2_rename()
314 err = -ENOTEMPTY; in ext2_rename()
318 err = -ENOENT; in ext2_rename()
330 err = -EMLINK; in ext2_rename()
335 err = ext2_add_link(new_dentry, old_inode); in ext2_rename()
336 if (err) { in ext2_rename()
370 return err; in ext2_rename()