Lines Matching refs:dentry
147 static struct dentry *ibmasmfs_create_file(struct dentry *parent,
153 struct dentry *dentry;
156 dentry = d_alloc_name(parent, name);
157 if (!dentry)
162 dput(dentry);
169 d_add(dentry, inode);
170 return dentry;
173 static struct dentry *ibmasmfs_create_dir(struct dentry *parent,
176 struct dentry *dentry;
179 dentry = d_alloc_name(parent, name);
180 if (!dentry)
185 dput(dentry);
192 d_add(dentry, inode);
193 return dentry;
584 struct dentry *dir;
585 struct dentry *remote_dir;