Lines Matching defs:root
61 * @root: root vfsmnt/dentry
76 const struct path *root,
100 while (dentry != root->dentry || vfsmnt != root->mnt) {
114 /* Global root? */
124 error = 1; // absolute root
167 * @root: root vfsmnt/dentry
178 * If the path is not reachable from the supplied root, return %NULL.
181 const struct path *root,
188 error = prepend_path(path, root, &res, &buflen);
200 struct path root = {};
205 error = prepend_path(path, &root, &res, &buflen);
218 const struct path *root,
228 return prepend_path(path, root, buf, buflen);
236 static void get_fs_root_rcu(struct fs_struct *fs, struct path *root)
242 *root = fs->root;
265 struct path root;
284 get_fs_root_rcu(current->fs, &root);
285 error = path_with_deleted(path, &root, &res, &buflen);
327 * Write full pathname from the root of the filesystem into the buffer.
399 static void get_fs_root_and_pwd_rcu(struct fs_struct *fs, struct path *root,
406 *root = fs->root;
432 struct path pwd, root;
439 get_fs_root_and_pwd_rcu(current->fs, &root, &pwd);
448 error = prepend_path(&pwd, &root, &cwd, &buflen);
454 /* Unreachable from current root */