/linux-4.19.296/fs/autofs/ |
D | inode.c | 67 struct inode *root_inode = d_inode(root->d_sb->s_root); in autofs_show_options() local 73 if (!uid_eq(root_inode->i_uid, GLOBAL_ROOT_UID)) in autofs_show_options() 75 from_kuid_munged(&init_user_ns, root_inode->i_uid)); in autofs_show_options() 76 if (!gid_eq(root_inode->i_gid, GLOBAL_ROOT_GID)) in autofs_show_options() 78 from_kgid_munged(&init_user_ns, root_inode->i_gid)); in autofs_show_options() 206 struct inode *root_inode; in autofs_fill_super() local 256 root_inode = autofs_get_inode(s, S_IFDIR | 0755); in autofs_fill_super() 257 root = d_make_root(root_inode); in autofs_fill_super() 267 if (parse_options(data, &pipefd, &root_inode->i_uid, &root_inode->i_gid, in autofs_fill_super() 305 root_inode->i_fop = &autofs_root_operations; in autofs_fill_super() [all …]
|
/linux-4.19.296/fs/proc/ |
D | self.c | 45 struct inode *root_inode = d_inode(s->s_root); in proc_setup_self() local 46 struct pid_namespace *ns = proc_pid_ns(root_inode); in proc_setup_self() 49 inode_lock(root_inode); in proc_setup_self() 68 inode_unlock(root_inode); in proc_setup_self()
|
D | thread_self.c | 38 struct inode *root_inode = d_inode(s->s_root); in proc_setup_thread_self() local 39 struct pid_namespace *ns = proc_pid_ns(root_inode); in proc_setup_thread_self() 42 inode_lock(root_inode); in proc_setup_thread_self() 61 inode_unlock(root_inode); in proc_setup_thread_self()
|
D | inode.c | 497 struct inode *root_inode; in proc_fill_super() local 520 root_inode = proc_get_inode(s, &proc_root); in proc_fill_super() 521 if (!root_inode) { in proc_fill_super() 526 s->s_root = d_make_root(root_inode); in proc_fill_super()
|
/linux-4.19.296/drivers/oprofile/ |
D | oprofilefs.c | 243 struct inode *root_inode; in oprofilefs_fill_super() local 251 root_inode = oprofilefs_get_inode(sb, S_IFDIR | 0755); in oprofilefs_fill_super() 252 if (!root_inode) in oprofilefs_fill_super() 254 root_inode->i_op = &simple_dir_inode_operations; in oprofilefs_fill_super() 255 root_inode->i_fop = &simple_dir_operations; in oprofilefs_fill_super() 256 sb->s_root = d_make_root(root_inode); in oprofilefs_fill_super()
|
/linux-4.19.296/fs/openpromfs/ |
D | inode.c | 384 struct inode *root_inode; in openprom_fill_super() local 394 root_inode = openprom_iget(s, OPENPROM_ROOT_INO); in openprom_fill_super() 395 if (IS_ERR(root_inode)) { in openprom_fill_super() 396 ret = PTR_ERR(root_inode); in openprom_fill_super() 400 oi = OP_I(root_inode); in openprom_fill_super() 404 s->s_root = d_make_root(root_inode); in openprom_fill_super()
|
/linux-4.19.296/fs/squashfs/ |
D | super.c | 84 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() 318 err = squashfs_read_inode(root, root_inode); in squashfs_fill_super()
|
D | squashfs_fs.h | 265 __le64 root_inode; member
|
/linux-4.19.296/fs/hostfs/ |
D | hostfs_kern.c | 916 struct inode *root_inode; in hostfs_fill_sb_common() local 939 root_inode = new_inode(sb); in hostfs_fill_sb_common() 940 if (!root_inode) in hostfs_fill_sb_common() 943 err = read_name(root_inode, host_root_path); in hostfs_fill_sb_common() 947 if (S_ISLNK(root_inode->i_mode)) { in hostfs_fill_sb_common() 953 err = read_name(root_inode, name); in hostfs_fill_sb_common() 960 sb->s_root = d_make_root(root_inode); in hostfs_fill_sb_common() 967 iput(root_inode); in hostfs_fill_sb_common()
|
/linux-4.19.296/fs/hfs/ |
D | super.c | 390 struct inode *root_inode; in hfs_fill_super() local 437 root_inode = hfs_iget(sb, &fd.search_key->cat, &rec); in hfs_fill_super() 439 if (!root_inode) in hfs_fill_super() 444 sb->s_root = d_make_root(root_inode); in hfs_fill_super()
|
/linux-4.19.296/fs/affs/ |
D | super.c | 343 struct inode *root_inode = NULL; in affs_fill_super() local 532 root_inode = affs_iget(sb, root_block); in affs_fill_super() 533 if (IS_ERR(root_inode)) in affs_fill_super() 534 return PTR_ERR(root_inode); in affs_fill_super() 541 sb->s_root = d_make_root(root_inode); in affs_fill_super()
|
/linux-4.19.296/fs/minix/ |
D | inode.c | 184 struct inode *root_inode; in minix_fill_super() local 305 root_inode = minix_iget(s, MINIX_ROOT_INO); in minix_fill_super() 306 if (IS_ERR(root_inode)) { in minix_fill_super() 307 ret = PTR_ERR(root_inode); in minix_fill_super() 312 s->s_root = d_make_root(root_inode); in minix_fill_super()
|
/linux-4.19.296/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()
|
/linux-4.19.296/fs/fat/ |
D | inode.c | 1606 struct inode *root_inode = NULL, *fat_inode = NULL; in fat_fill_super() local 1842 root_inode = new_inode(sb); in fat_fill_super() 1843 if (!root_inode) in fat_fill_super() 1845 root_inode->i_ino = MSDOS_ROOT_INO; in fat_fill_super() 1846 inode_set_iversion(root_inode, 1); in fat_fill_super() 1847 error = fat_read_root(root_inode); in fat_fill_super() 1849 iput(root_inode); in fat_fill_super() 1853 insert_inode_hash(root_inode); in fat_fill_super() 1854 fat_attach(root_inode, 0); in fat_fill_super() 1855 sb->s_root = d_make_root(root_inode); in fat_fill_super()
|
/linux-4.19.296/fs/reiserfs/ |
D | super.c | 1898 struct inode *root_inode; in reiserfs_fill_super() local 2059 root_inode = in reiserfs_fill_super() 2062 if (!root_inode) { in reiserfs_fill_super() 2077 if (root_inode->i_state & I_NEW) { in reiserfs_fill_super() 2078 reiserfs_read_locked_inode(root_inode, &args); in reiserfs_fill_super() 2079 unlock_new_inode(root_inode); in reiserfs_fill_super() 2082 if (!S_ISDIR(root_inode->i_mode) || !inode_get_bytes(root_inode) || in reiserfs_fill_super() 2083 !root_inode->i_size) { in reiserfs_fill_super() 2085 iput(root_inode); in reiserfs_fill_super() 2090 s->s_root = d_make_root(root_inode); in reiserfs_fill_super()
|
/linux-4.19.296/fs/ocfs2/ |
D | dcache.c | 86 if (inode == osb->root_inode || is_bad_inode(inode)) in ocfs2_dentry_revalidate()
|
D | super.c | 460 osb->root_inode = new; in ocfs2_init_global_system_inodes() 541 inode = osb->root_inode; in ocfs2_release_system_inodes() 544 osb->root_inode = NULL; in ocfs2_release_system_inodes() 1146 if (osb->root_inode) in ocfs2_fill_super() 1147 inode = igrab(osb->root_inode); in ocfs2_fill_super()
|
D | ocfs2.h | 310 struct inode *root_inode; member
|
D | namei.c | 907 if (inode == osb->root_inode) in ocfs2_unlink() 1087 if (parent_inode_no == osb->root_inode->i_ino) { in ocfs2_check_if_ancestor()
|
D | inode.c | 867 if (inode == osb->root_inode) { in ocfs2_inode_is_valid_to_delete()
|
/linux-4.19.296/fs/ |
D | dcache.c | 1904 struct dentry *d_make_root(struct inode *root_inode) in d_make_root() argument 1908 if (root_inode) { in d_make_root() 1909 res = d_alloc_anon(root_inode->i_sb); in d_make_root() 1911 d_instantiate(res, root_inode); in d_make_root() 1913 iput(root_inode); in d_make_root()
|
/linux-4.19.296/fs/btrfs/ |
D | super.c | 1439 struct inode *root_inode = d_inode(root); in mount_subvol() local 1440 u64 root_objectid = BTRFS_I(root_inode)->root->root_key.objectid; in mount_subvol() 1443 if (!is_subvolume_inode(root_inode)) { in mount_subvol()
|