Lines Matching refs:root
105 const struct path *root, struct prepend_buffer *p)
107 while (dentry != root->dentry || &mnt->mnt != root->mnt) {
119 /* Global root */
123 return 1; // absolute root
143 * @root: root vfsmnt/dentry
157 const struct path *root,
172 error = __prepend_path(path->dentry, real_mount(path->mnt), root, &b);
202 * @root: root vfsmnt/dentry
213 * If the path is not reachable from the supplied root, return %NULL.
216 const struct path *root,
222 if (unlikely(prepend_path(path, root, &b) > 0))
230 struct path root = {};
234 if (unlikely(prepend_path(path, &root, &b) > 1))
239 static void get_fs_root_rcu(struct fs_struct *fs, struct path *root)
245 *root = fs->root;
268 struct path root;
286 get_fs_root_rcu(current->fs, &root);
291 prepend_path(path, &root, &b);
329 * Write full pathname from the root of the filesystem into the buffer.
382 static void get_fs_root_and_pwd_rcu(struct fs_struct *fs, struct path *root,
389 *root = fs->root;
415 struct path pwd, root;
422 get_fs_root_and_pwd_rcu(current->fs, &root, &pwd);
432 if (unlikely(prepend_path(&pwd, &root, &b) > 0))