Lines Matching refs:dentry
36 static inline int exofs_add_nondir(struct dentry *dentry, struct inode *inode) in exofs_add_nondir() argument
38 int err = exofs_add_link(dentry, inode); in exofs_add_nondir()
40 d_instantiate(dentry, inode); in exofs_add_nondir()
48 static struct dentry *exofs_lookup(struct inode *dir, struct dentry *dentry, in exofs_lookup() argument
54 if (dentry->d_name.len > EXOFS_NAME_LEN) in exofs_lookup()
57 ino = exofs_inode_by_name(dir, dentry); in exofs_lookup()
59 return d_splice_alias(inode, dentry); in exofs_lookup()
62 static int exofs_create(struct inode *dir, struct dentry *dentry, umode_t mode, in exofs_create() argument
72 err = exofs_add_nondir(dentry, inode); in exofs_create()
77 static int exofs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, in exofs_mknod() argument
88 err = exofs_add_nondir(dentry, inode); in exofs_mknod()
93 static int exofs_symlink(struct inode *dir, struct dentry *dentry, in exofs_symlink() argument
129 err = exofs_add_nondir(dentry, inode); in exofs_symlink()
139 static int exofs_link(struct dentry *old_dentry, struct inode *dir, in exofs_link()
140 struct dentry *dentry) in exofs_link() argument
148 return exofs_add_nondir(dentry, inode); in exofs_link()
151 static int exofs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in exofs_mkdir() argument
173 err = exofs_add_link(dentry, inode); in exofs_mkdir()
177 d_instantiate(dentry, inode); in exofs_mkdir()
190 static int exofs_unlink(struct inode *dir, struct dentry *dentry) in exofs_unlink() argument
192 struct inode *inode = d_inode(dentry); in exofs_unlink()
197 de = exofs_find_entry(dir, dentry, &page); in exofs_unlink()
212 static int exofs_rmdir(struct inode *dir, struct dentry *dentry) in exofs_rmdir() argument
214 struct inode *inode = d_inode(dentry); in exofs_rmdir()
218 err = exofs_unlink(dir, dentry); in exofs_rmdir()
228 static int exofs_rename(struct inode *old_dir, struct dentry *old_dentry, in exofs_rename()
229 struct inode *new_dir, struct dentry *new_dentry) in exofs_rename()