Lines Matching refs:parent_path
66 struct path *parent_path, in ksmbd_vfs_path_lookup_locked() argument
87 parent_path, &last, &type, in ksmbd_vfs_path_lookup_locked()
95 path_put(parent_path); in ksmbd_vfs_path_lookup_locked()
100 inode_lock_nested(parent_path->dentry->d_inode, I_MUTEX_PARENT); in ksmbd_vfs_path_lookup_locked()
101 d = lookup_one_qstr_excl(&last, parent_path->dentry, 0); in ksmbd_vfs_path_lookup_locked()
111 path->mnt = mntget(parent_path->mnt); in ksmbd_vfs_path_lookup_locked()
125 inode_unlock(d_inode(parent_path->dentry)); in ksmbd_vfs_path_lookup_locked()
126 path_put(parent_path); in ksmbd_vfs_path_lookup_locked()
1205 unsigned int flags, struct path *parent_path, in ksmbd_vfs_kern_path_locked() argument
1211 err = ksmbd_vfs_path_lookup_locked(share_conf, name, flags, parent_path, in ksmbd_vfs_kern_path_locked()
1227 *parent_path = share_conf->vfs_path; in ksmbd_vfs_kern_path_locked()
1228 path_get(parent_path); in ksmbd_vfs_kern_path_locked()
1230 while (d_can_lookup(parent_path->dentry)) { in ksmbd_vfs_kern_path_locked()
1239 err = ksmbd_vfs_lookup_in_dir(parent_path, filename, in ksmbd_vfs_kern_path_locked()
1256 path_put(parent_path); in ksmbd_vfs_kern_path_locked()
1257 *parent_path = *path; in ksmbd_vfs_kern_path_locked()
1265 path_put(parent_path); in ksmbd_vfs_kern_path_locked()
1271 err = ksmbd_vfs_lock_parent(parent_path->dentry, path->dentry); in ksmbd_vfs_kern_path_locked()
1274 path_put(parent_path); in ksmbd_vfs_kern_path_locked()