Lines Matching refs:err
40 int err = ufs_add_link(dentry, inode); in ufs_add_nondir() local
41 if (!err) { in ufs_add_nondir()
47 return err; in ufs_add_nondir()
84 int err; in ufs_create() local
88 err = PTR_ERR(inode); in ufs_create()
96 err = ufs_add_nondir(dentry, inode); in ufs_create()
99 UFSD("END: err=%d\n", err); in ufs_create()
100 return err; in ufs_create()
106 int err; in ufs_mknod() local
111 err = PTR_ERR(inode); in ufs_mknod()
117 err = ufs_add_nondir(dentry, inode); in ufs_mknod()
120 return err; in ufs_mknod()
127 int err = -ENAMETOOLONG; in ufs_symlink() local
136 err = PTR_ERR(inode); in ufs_symlink()
144 err = page_symlink(inode, symname, l); in ufs_symlink()
145 if (err) in ufs_symlink()
155 err = ufs_add_nondir(dentry, inode); in ufs_symlink()
159 return err; in ufs_symlink()
191 int err = -EMLINK; in ufs_mkdir() local
200 err = PTR_ERR(inode); in ufs_mkdir()
210 err = ufs_make_empty(inode, dir); in ufs_mkdir()
211 if (err) in ufs_mkdir()
214 err = ufs_add_link(dentry, inode); in ufs_mkdir()
215 if (err) in ufs_mkdir()
221 return err; in ufs_mkdir()
238 int err = -ENOENT; in ufs_unlink() local
244 err = ufs_delete_entry(dir, de, page); in ufs_unlink()
245 if (err) in ufs_unlink()
250 err = 0; in ufs_unlink()
252 return err; in ufs_unlink()
258 int err= -ENOTEMPTY; in ufs_rmdir() local
262 err = ufs_unlink(dir, dentry); in ufs_rmdir()
263 if (!err) { in ufs_rmdir()
270 return err; in ufs_rmdir()
282 int err = -ENOENT; in ufs_rename() local
289 err = -EIO; in ufs_rename()
299 err = -ENOTEMPTY; in ufs_rename()
303 err = -ENOENT; in ufs_rename()
315 err = -EMLINK; in ufs_rename()
320 err = ufs_add_link(new_dentry, old_inode); in ufs_rename()
321 if (err) { in ufs_rename()
355 return err; in ufs_rename()