Lines Matching refs:root
76 const struct path *root, in prepend_path() argument
100 while (dentry != root->dentry || vfsmnt != root->mnt) { in prepend_path()
177 const struct path *root, in __d_path() argument
184 error = prepend_path(path, root, &res, &buflen); in __d_path()
196 struct path root = {}; in d_absolute_path() local
201 error = prepend_path(path, &root, &res, &buflen); in d_absolute_path()
214 const struct path *root, in path_with_deleted() argument
224 return prepend_path(path, root, buf, buflen); in path_with_deleted()
232 static void get_fs_root_rcu(struct fs_struct *fs, struct path *root) in get_fs_root_rcu() argument
238 *root = fs->root; in get_fs_root_rcu()
261 struct path root; in d_path() local
280 get_fs_root_rcu(current->fs, &root); in d_path()
281 error = path_with_deleted(path, &root, &res, &buflen); in d_path()
395 static void get_fs_root_and_pwd_rcu(struct fs_struct *fs, struct path *root, in get_fs_root_and_pwd_rcu() argument
402 *root = fs->root; in get_fs_root_and_pwd_rcu()
428 struct path pwd, root; in SYSCALL_DEFINE2() local
435 get_fs_root_and_pwd_rcu(current->fs, &root, &pwd); in SYSCALL_DEFINE2()
444 error = prepend_path(&pwd, &root, &cwd, &buflen); in SYSCALL_DEFINE2()