Home
last modified time | relevance | path

Searched refs:root_inode (Results 1 – 19 of 19) sorted by relevance

/fs/autofs4/
Dinode.c76 struct inode *root_inode = root->d_sb->s_root->d_inode; in autofs4_show_options() local
82 if (root_inode->i_uid != 0) in autofs4_show_options()
83 seq_printf(m, ",uid=%u", root_inode->i_uid); in autofs4_show_options()
84 if (root_inode->i_gid != 0) in autofs4_show_options()
85 seq_printf(m, ",gid=%u", root_inode->i_gid); in autofs4_show_options()
202 struct inode * root_inode; in autofs4_fill_super() local
247 root_inode = autofs4_get_inode(s, S_IFDIR | 0755); in autofs4_fill_super()
248 root = d_make_root(root_inode); in autofs4_fill_super()
256 if (parse_options(data, &pipefd, &root_inode->i_uid, &root_inode->i_gid, in autofs4_fill_super()
266 root_inode->i_fop = &autofs4_root_operations; in autofs4_fill_super()
[all …]
/fs/openpromfs/
Dinode.c391 struct inode *root_inode; in openprom_fill_super() local
401 root_inode = openprom_iget(s, OPENPROM_ROOT_INO); in openprom_fill_super()
402 if (IS_ERR(root_inode)) { in openprom_fill_super()
403 ret = PTR_ERR(root_inode); in openprom_fill_super()
407 oi = OP_I(root_inode); in openprom_fill_super()
411 s->s_root = d_make_root(root_inode); in openprom_fill_super()
/fs/squashfs/
Dsuper.c83 long long root_inode; in squashfs_fill_super() local
171 root_inode = le64_to_cpu(sblk->root_inode); in squashfs_fill_super()
172 if (SQUASHFS_INODE_OFFSET(root_inode) > SQUASHFS_METADATA_SIZE) in squashfs_fill_super()
316 err = squashfs_read_inode(root, root_inode); in squashfs_fill_super()
Dsquashfs_fs.h253 __le64 root_inode; member
/fs/hostfs/
Dhostfs_kern.c927 struct inode *root_inode; in hostfs_fill_sb_common() local
950 root_inode = new_inode(sb); in hostfs_fill_sb_common()
951 if (!root_inode) in hostfs_fill_sb_common()
954 err = read_name(root_inode, host_root_path); in hostfs_fill_sb_common()
958 if (S_ISLNK(root_inode->i_mode)) { in hostfs_fill_sb_common()
963 err = read_name(root_inode, name); in hostfs_fill_sb_common()
970 sb->s_root = d_make_root(root_inode); in hostfs_fill_sb_common()
977 iput(root_inode); in hostfs_fill_sb_common()
/fs/hfs/
Dsuper.c383 struct inode *root_inode; in hfs_fill_super() local
426 root_inode = hfs_iget(sb, &fd.search_key->cat, &rec); in hfs_fill_super()
428 if (!root_inode) in hfs_fill_super()
433 sb->s_root = d_make_root(root_inode); in hfs_fill_super()
/fs/affs/
Dsuper.c280 struct inode *root_inode = NULL; in affs_fill_super() local
473 root_inode = affs_iget(sb, root_block); in affs_fill_super()
474 if (IS_ERR(root_inode)) { in affs_fill_super()
475 ret = PTR_ERR(root_inode); in affs_fill_super()
484 sb->s_root = d_make_root(root_inode); in affs_fill_super()
/fs/fat/
Dinode.c1259 struct inode *root_inode = NULL, *fat_inode = NULL; in fat_fill_super() local
1515 root_inode = new_inode(sb); in fat_fill_super()
1516 if (!root_inode) in fat_fill_super()
1518 root_inode->i_ino = MSDOS_ROOT_INO; in fat_fill_super()
1519 root_inode->i_version = 1; in fat_fill_super()
1520 error = fat_read_root(root_inode); in fat_fill_super()
1522 iput(root_inode); in fat_fill_super()
1526 insert_inode_hash(root_inode); in fat_fill_super()
1527 sb->s_root = d_make_root(root_inode); in fat_fill_super()
/fs/minix/
Dinode.c159 struct inode *root_inode; in minix_fill_super() local
279 root_inode = minix_iget(s, MINIX_ROOT_INO); in minix_fill_super()
280 if (IS_ERR(root_inode)) { in minix_fill_super()
281 ret = PTR_ERR(root_inode); in minix_fill_super()
286 s->s_root = d_make_root(root_inode); in minix_fill_super()
/fs/sysv/
Dsuper.c305 struct inode *root_inode; in complete_read_super() local
339 root_inode = sysv_iget(sb, SYSV_ROOT_INO); in complete_read_super()
340 if (IS_ERR(root_inode)) { in complete_read_super()
344 sb->s_root = d_make_root(root_inode); in complete_read_super()
/fs/ncpfs/
Dinode.c452 struct inode *root_inode; in ncp_fill_super() local
714 root_inode = ncp_iget(sb, &finfo); in ncp_fill_super()
715 if (!root_inode) in ncp_fill_super()
717 DPRINTK("ncp_fill_super: root vol=%d\n", NCP_FINFO(root_inode)->volNumber); in ncp_fill_super()
718 sb->s_root = d_make_root(root_inode); in ncp_fill_super()
/fs/reiserfs/
Dsuper.c1727 struct inode *root_inode; in reiserfs_fill_super() local
1869 root_inode = in reiserfs_fill_super()
1872 if (!root_inode) { in reiserfs_fill_super()
1887 if (root_inode->i_state & I_NEW) { in reiserfs_fill_super()
1888 reiserfs_read_locked_inode(root_inode, &args); in reiserfs_fill_super()
1889 unlock_new_inode(root_inode); in reiserfs_fill_super()
1892 s->s_root = d_make_root(root_inode); in reiserfs_fill_super()
/fs/hppfs/
Dhppfs.c713 struct inode *root_inode; in hppfs_fill_super() local
728 root_inode = get_inode(sb, dget(proc_mnt->mnt_root)); in hppfs_fill_super()
729 sb->s_root = d_make_root(root_inode); in hppfs_fill_super()
/fs/
Ddcache.c1493 struct dentry *d_make_root(struct inode *root_inode) in d_make_root() argument
1497 if (root_inode) { in d_make_root()
1500 res = __d_alloc(root_inode->i_sb, &name); in d_make_root()
1502 d_instantiate(res, root_inode); in d_make_root()
1504 iput(root_inode); in d_make_root()
/fs/ocfs2/
Dsuper.c454 osb->root_inode = new; in ocfs2_init_global_system_inodes()
536 inode = osb->root_inode; in ocfs2_release_system_inodes()
539 osb->root_inode = NULL; in ocfs2_release_system_inodes()
1160 if (osb->root_inode) in ocfs2_fill_super()
1161 inode = igrab(osb->root_inode); in ocfs2_fill_super()
Ddcache.c87 if (inode == osb->root_inode || is_bad_inode(inode)) in ocfs2_dentry_revalidate()
Docfs2.h294 struct inode *root_inode; member
Dinode.c813 if (inode == osb->root_inode) { in ocfs2_inode_is_valid_to_delete()
Dnamei.c815 if (inode == osb->root_inode) in ocfs2_unlink()