Lines Matching refs:parent
154 static struct dentry *hmdfs_do_vfs_mkdir(struct dentry *parent,
158 struct inode *dir = d_inode(parent);
164 child = lookup_one_len(name, parent, namelen);
189 struct dentry *hmdfs_stash_new_work_dir(struct dentry *parent)
194 base = hmdfs_do_vfs_mkdir(parent, HMDFS_STASH_DIR_NAME,
208 struct dentry *parent = NULL;
213 parent = hmdfs_do_vfs_mkdir(d_path->dentry, cid, strlen(cid), 0700);
214 if (IS_ERR(parent)) {
215 err = PTR_ERR(parent);
221 stash.dentry = parent;
230 dput(parent);
235 dput(parent);
459 struct dentry *parent = NULL;
467 parent = lock_parent(stash);
468 dir = d_inode(parent);
471 child = lookup_one_len(name, parent, strlen(name));
505 unlock_dir(parent);
934 struct dentry *parent = d_path->dentry;
935 struct inode *dir = d_inode(parent);
941 child = lookup_one_len(cid, parent, strlen(cid));
1052 static int hmdfs_del_stash_file(struct dentry *parent, struct dentry *child)
1054 struct inode *dir = d_inode(parent);
1568 struct dentry *parent = NULL;
1575 parent = p_path->dentry;
1576 dir = d_inode(parent);
1578 child = lookup_one_len(name, parent, strlen(name));
2023 struct path parent;
2030 &parent);
2036 child = hmdfs_stash_new_work_dir(parent.dentry);
2038 sbi->stash_work_dir.mnt = mntget(parent.mnt);
2045 path_put(&parent);