/fs/autofs4/ |
D | inode.c | 76 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/ |
D | inode.c | 391 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/ |
D | super.c | 83 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()
|
D | squashfs_fs.h | 253 __le64 root_inode; member
|
/fs/hostfs/ |
D | hostfs_kern.c | 927 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/ |
D | super.c | 383 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/ |
D | super.c | 280 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/ |
D | inode.c | 1259 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/ |
D | inode.c | 159 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/ |
D | super.c | 305 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/ |
D | inode.c | 452 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/ |
D | super.c | 1727 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/ |
D | hppfs.c | 713 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/ |
D | dcache.c | 1493 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/ |
D | super.c | 454 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()
|
D | dcache.c | 87 if (inode == osb->root_inode || is_bad_inode(inode)) in ocfs2_dentry_revalidate()
|
D | ocfs2.h | 294 struct inode *root_inode; member
|
D | inode.c | 813 if (inode == osb->root_inode) { in ocfs2_inode_is_valid_to_delete()
|
D | namei.c | 815 if (inode == osb->root_inode) in ocfs2_unlink()
|