Lines Matching defs:root
26 struct kernfs_root *root = kernfs_root(kernfs_dentry_node(dentry));
27 struct kernfs_syscall_ops *scops = root->syscall_ops;
30 return scops->show_options(sf, root);
37 struct kernfs_root *root = kernfs_root(node);
38 struct kernfs_syscall_ops *scops = root->syscall_ops;
41 return scops->show_path(sf, node, root);
101 kn = kernfs_find_and_get_node_by_id(info->root, id);
161 return kernfs_info(sb)->root;
169 * Say the path is /a/b/c/d. @child is d, @parent is NULL. We return the root
205 /* Check if this is the root kernfs_node */
240 struct dentry *root;
250 if (info->root->flags & KERNFS_ROOT_SUPPORT_EXPORTOP)
257 /* get root inode, initialize and unlock it */
259 inode = kernfs_get_inode(sb, info->root->kn);
262 pr_debug("kernfs: could not get root inode\n");
266 /* instantiate and link root dentry */
267 root = d_make_root(inode);
268 if (!root) {
269 pr_debug("%s: could not get root dentry!\n", __func__);
272 sb->s_root = root;
282 return sb_info->root == info->root && sb_info->ns == info->ns;
312 * specify the hierarchy and namespace tag to mount via ->@root and ->@ns,
326 info->root = kfc->root;
348 list_add(&info->node, &info->root->supers);
352 fc->root = dget(sb->s_root);