Lines Matching refs:root
105 const struct path *root, struct prepend_buffer *p) in __prepend_path() argument
107 while (dentry != root->dentry || &mnt->mnt != root->mnt) { in __prepend_path()
158 const struct path *root, in prepend_path() argument
173 error = __prepend_path(path->dentry, real_mount(path->mnt), root, &b); in prepend_path()
217 const struct path *root, in __d_path() argument
223 if (unlikely(prepend_path(path, root, &b) > 0)) in __d_path()
231 struct path root = {}; in d_absolute_path() local
235 if (unlikely(prepend_path(path, &root, &b) > 1)) in d_absolute_path()
240 static void get_fs_root_rcu(struct fs_struct *fs, struct path *root) in get_fs_root_rcu() argument
246 *root = fs->root; in get_fs_root_rcu()
269 struct path root; in d_path() local
287 get_fs_root_rcu(current->fs, &root); in d_path()
292 prepend_path(path, &root, &b); in d_path()
384 static void get_fs_root_and_pwd_rcu(struct fs_struct *fs, struct path *root, in get_fs_root_and_pwd_rcu() argument
391 *root = fs->root; in get_fs_root_and_pwd_rcu()
417 struct path pwd, root; in SYSCALL_DEFINE2() local
424 get_fs_root_and_pwd_rcu(current->fs, &root, &pwd); in SYSCALL_DEFINE2()
434 if (unlikely(prepend_path(&pwd, &root, &b) > 0)) in SYSCALL_DEFINE2()