Lines Matching defs:root
321 struct inode *root;
330 root = new_inode(s);
331 if (!root)
339 root->i_ino = 1;
340 root->i_mode = S_IFDIR | S_IRUSR | S_IWUSR;
341 root->i_atime = root->i_mtime = root->i_ctime = current_time(root);
342 s->s_root = d_make_root(root);
608 struct dentry *root;
622 * because the root inode is 1, the files array must not contain an
631 root = d_make_root(inode);
632 if (!root)
638 /* warn if it tries to conflict with the root inode */
644 dentry = d_alloc_name(root, files->name);
658 s->s_root = root;
661 d_genocide(root);
662 shrink_dcache_parent(root);
663 dput(root);