Lines Matching refs:parent_path

70 					struct path *parent_path,  in ksmbd_vfs_path_lookup_locked()  argument
91 parent_path, &last, &type, in ksmbd_vfs_path_lookup_locked()
99 path_put(parent_path); in ksmbd_vfs_path_lookup_locked()
104 err = mnt_want_write(parent_path->mnt); in ksmbd_vfs_path_lookup_locked()
106 path_put(parent_path); in ksmbd_vfs_path_lookup_locked()
111 inode_lock_nested(parent_path->dentry->d_inode, I_MUTEX_PARENT); in ksmbd_vfs_path_lookup_locked()
112 d = lookup_one_qstr_excl(&last, parent_path->dentry, 0); in ksmbd_vfs_path_lookup_locked()
122 path->mnt = mntget(parent_path->mnt); in ksmbd_vfs_path_lookup_locked()
136 inode_unlock(d_inode(parent_path->dentry)); in ksmbd_vfs_path_lookup_locked()
137 mnt_drop_write(parent_path->mnt); in ksmbd_vfs_path_lookup_locked()
138 path_put(parent_path); in ksmbd_vfs_path_lookup_locked()
1218 unsigned int flags, struct path *parent_path, in ksmbd_vfs_kern_path_locked() argument
1224 err = ksmbd_vfs_path_lookup_locked(share_conf, name, flags, parent_path, in ksmbd_vfs_kern_path_locked()
1237 *parent_path = share_conf->vfs_path; in ksmbd_vfs_kern_path_locked()
1238 path_get(parent_path); in ksmbd_vfs_kern_path_locked()
1240 while (d_can_lookup(parent_path->dentry)) { in ksmbd_vfs_kern_path_locked()
1249 err = ksmbd_vfs_lookup_in_dir(parent_path, filename, in ksmbd_vfs_kern_path_locked()
1268 path_put(parent_path); in ksmbd_vfs_kern_path_locked()
1269 *parent_path = *path; in ksmbd_vfs_kern_path_locked()
1276 path_put(parent_path); in ksmbd_vfs_kern_path_locked()
1281 err = mnt_want_write(parent_path->mnt); in ksmbd_vfs_kern_path_locked()
1284 path_put(parent_path); in ksmbd_vfs_kern_path_locked()
1288 err = ksmbd_vfs_lock_parent(parent_path->dentry, path->dentry); in ksmbd_vfs_kern_path_locked()
1291 path_put(parent_path); in ksmbd_vfs_kern_path_locked()
1297 void ksmbd_vfs_kern_path_unlock(struct path *parent_path, struct path *path) in ksmbd_vfs_kern_path_unlock() argument
1299 inode_unlock(d_inode(parent_path->dentry)); in ksmbd_vfs_kern_path_unlock()
1300 mnt_drop_write(parent_path->mnt); in ksmbd_vfs_kern_path_unlock()
1302 path_put(parent_path); in ksmbd_vfs_kern_path_unlock()