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()
157 const struct path *root, in prepend_path() argument
172 error = __prepend_path(path->dentry, real_mount(path->mnt), root, &b); in prepend_path()
216 const struct path *root, in __d_path() argument
222 if (unlikely(prepend_path(path, root, &b) > 0)) in __d_path()
230 struct path root = {}; in d_absolute_path() local
234 if (unlikely(prepend_path(path, &root, &b) > 1)) in d_absolute_path()
239 static void get_fs_root_rcu(struct fs_struct *fs, struct path *root) in get_fs_root_rcu() argument
245 *root = fs->root; in get_fs_root_rcu()
268 struct path root; in d_path() local
286 get_fs_root_rcu(current->fs, &root); in d_path()
291 prepend_path(path, &root, &b); in d_path()
382 static void get_fs_root_and_pwd_rcu(struct fs_struct *fs, struct path *root, in get_fs_root_and_pwd_rcu() argument
389 *root = fs->root; in get_fs_root_and_pwd_rcu()
415 struct path pwd, root; in SYSCALL_DEFINE2() local
422 get_fs_root_and_pwd_rcu(current->fs, &root, &pwd); in SYSCALL_DEFINE2()
432 if (unlikely(prepend_path(&pwd, &root, &b) > 0)) in SYSCALL_DEFINE2()