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;
214 parent = hmdfs_do_vfs_mkdir(d_path->dentry, cid, strlen(cid), 0700);
215 if (IS_ERR(parent)) {
216 err = PTR_ERR(parent);
221 child = vfs_tmpfile(parent, S_IFREG | 0600, 0);
238 dput(parent);
245 dput(parent);
469 struct dentry *parent = NULL;
477 parent = lock_parent(stash);
478 dir = d_inode(parent);
481 child = lookup_one_len(name, parent, strlen(name));
515 unlock_dir(parent);
944 struct dentry *parent = d_path->dentry;
945 struct inode *dir = d_inode(parent);
951 child = lookup_one_len(cid, parent, strlen(cid));
1062 static int hmdfs_del_stash_file(struct dentry *parent, struct dentry *child)
1064 struct inode *dir = d_inode(parent);
1583 struct dentry *parent = NULL;
1590 parent = p_path->dentry;
1591 dir = d_inode(parent);
1593 child = lookup_one_len(name, parent, strlen(name));
2038 struct path parent;
2045 &parent);
2051 child = hmdfs_stash_new_work_dir(parent.dentry);
2053 sbi->stash_work_dir.mnt = mntget(parent.mnt);
2060 path_put(&parent);