/linux-6.6.21/fs/openpromfs/ |
D | inode.c | 374 struct inode *root_inode; in openprom_fill_super() local 384 root_inode = openprom_iget(s, OPENPROM_ROOT_INO); in openprom_fill_super() 385 if (IS_ERR(root_inode)) { in openprom_fill_super() 386 ret = PTR_ERR(root_inode); in openprom_fill_super() 390 root_inode->i_mtime = root_inode->i_atime = inode_set_ctime_current(root_inode); in openprom_fill_super() 391 root_inode->i_op = &openprom_inode_operations; in openprom_fill_super() 392 root_inode->i_fop = &openprom_operations; in openprom_fill_super() 393 root_inode->i_mode = S_IFDIR | S_IRUGO | S_IXUGO; in openprom_fill_super() 394 oi = OP_I(root_inode); in openprom_fill_super() 397 unlock_new_inode(root_inode); in openprom_fill_super() [all …]
|
/linux-6.6.21/fs/autofs/ |
D | inode.c | 65 struct inode *root_inode = d_inode(root->d_sb->s_root); in autofs_show_options() local 71 if (!uid_eq(root_inode->i_uid, GLOBAL_ROOT_UID)) in autofs_show_options() 73 from_kuid_munged(&init_user_ns, root_inode->i_uid)); in autofs_show_options() 74 if (!gid_eq(root_inode->i_gid, GLOBAL_ROOT_GID)) in autofs_show_options() 76 from_kgid_munged(&init_user_ns, root_inode->i_gid)); in autofs_show_options() 223 struct inode *root_inode; in autofs_fill_super() local 272 root_inode = autofs_get_inode(s, S_IFDIR | 0755); in autofs_fill_super() 273 root = d_make_root(root_inode); in autofs_fill_super() 283 if (parse_options(data, root_inode, &pgrp, &pgrp_set, sbi)) { in autofs_fill_super() 319 root_inode->i_fop = &autofs_root_operations; in autofs_fill_super() [all …]
|
/linux-6.6.21/fs/proc/ |
D | self.c | 38 struct inode *root_inode = d_inode(s->s_root); in proc_setup_self() local 43 inode_lock(root_inode); in proc_setup_self() 60 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 43 inode_lock(root_inode); in proc_setup_thread_self() 60 inode_unlock(root_inode); in proc_setup_thread_self()
|
D | root.c | 162 struct inode *root_inode; in proc_fill_super() local 194 root_inode = proc_get_inode(s, &proc_root); in proc_fill_super() 195 if (!root_inode) { in proc_fill_super() 200 s->s_root = d_make_root(root_inode); in proc_fill_super()
|
/linux-6.6.21/fs/exfat/ |
D | super.c | 620 struct inode *root_inode; in exfat_fill_super() local 665 root_inode = new_inode(sb); in exfat_fill_super() 666 if (!root_inode) { in exfat_fill_super() 672 root_inode->i_ino = EXFAT_ROOT_INO; in exfat_fill_super() 673 inode_set_iversion(root_inode, 1); in exfat_fill_super() 674 err = exfat_read_root(root_inode); in exfat_fill_super() 680 exfat_hash_inode(root_inode, EXFAT_I(root_inode)->i_pos); in exfat_fill_super() 681 insert_inode_hash(root_inode); in exfat_fill_super() 683 sb->s_root = d_make_root(root_inode); in exfat_fill_super() 693 iput(root_inode); in exfat_fill_super()
|
/linux-6.6.21/arch/s390/hypfs/ |
D | inode.c | 259 struct inode *root_inode; in hypfs_fill_super() local 268 root_inode = hypfs_make_inode(sb, S_IFDIR | 0755); in hypfs_fill_super() 269 if (!root_inode) in hypfs_fill_super() 271 root_inode->i_op = &simple_dir_inode_operations; in hypfs_fill_super() 272 root_inode->i_fop = &simple_dir_operations; in hypfs_fill_super() 273 sb->s_root = root_dentry = d_make_root(root_inode); in hypfs_fill_super()
|
/linux-6.6.21/fs/hostfs/ |
D | hostfs_kern.c | 927 struct inode *root_inode; in hostfs_fill_sb_common() local 950 root_inode = hostfs_iget(sb, host_root_path); in hostfs_fill_sb_common() 951 if (IS_ERR(root_inode)) in hostfs_fill_sb_common() 952 return PTR_ERR(root_inode); in hostfs_fill_sb_common() 954 if (S_ISLNK(root_inode->i_mode)) { in hostfs_fill_sb_common() 957 iput(root_inode); in hostfs_fill_sb_common() 962 root_inode = hostfs_iget(sb, name); in hostfs_fill_sb_common() 964 if (IS_ERR(root_inode)) in hostfs_fill_sb_common() 965 return PTR_ERR(root_inode); in hostfs_fill_sb_common() 968 sb->s_root = d_make_root(root_inode); in hostfs_fill_sb_common()
|
/linux-6.6.21/fs/hfs/ |
D | super.c | 383 struct inode *root_inode; in hfs_fill_super() local 430 root_inode = hfs_iget(sb, &fd.search_key->cat, &rec); in hfs_fill_super() 432 if (!root_inode) in hfs_fill_super() 437 sb->s_root = d_make_root(root_inode); in hfs_fill_super()
|
/linux-6.6.21/fs/squashfs/ |
D | super.c | 186 long long root_inode; in squashfs_fill_super() local 283 root_inode = le64_to_cpu(sblk->root_inode); in squashfs_fill_super() 284 if (SQUASHFS_INODE_OFFSET(root_inode) > SQUASHFS_METADATA_SIZE) in squashfs_fill_super() 445 err = squashfs_read_inode(root, root_inode); in squashfs_fill_super()
|
D | squashfs_fs.h | 252 __le64 root_inode; member
|
/linux-6.6.21/fs/affs/ |
D | super.c | 338 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-6.6.21/fs/minix/ |
D | inode.c | 179 struct inode *root_inode; in minix_fill_super() local 302 root_inode = minix_iget(s, MINIX_ROOT_INO); in minix_fill_super() 303 if (IS_ERR(root_inode)) { in minix_fill_super() 304 ret = PTR_ERR(root_inode); in minix_fill_super() 309 s->s_root = d_make_root(root_inode); in minix_fill_super()
|
/linux-6.6.21/fs/sysv/ |
D | super.c | 306 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-6.6.21/fs/fat/ |
D | inode.c | 1601 struct inode *root_inode = NULL, *fat_inode = NULL; in fat_fill_super() local 1853 root_inode = new_inode(sb); in fat_fill_super() 1854 if (!root_inode) in fat_fill_super() 1856 root_inode->i_ino = MSDOS_ROOT_INO; in fat_fill_super() 1857 inode_set_iversion(root_inode, 1); in fat_fill_super() 1858 error = fat_read_root(root_inode); in fat_fill_super() 1860 iput(root_inode); in fat_fill_super() 1864 insert_inode_hash(root_inode); in fat_fill_super() 1865 fat_attach(root_inode, 0); in fat_fill_super() 1866 sb->s_root = d_make_root(root_inode); in fat_fill_super()
|
/linux-6.6.21/fs/reiserfs/ |
D | super.c | 1890 struct inode *root_inode; in reiserfs_fill_super() local 2052 root_inode = in reiserfs_fill_super() 2055 if (!root_inode) { in reiserfs_fill_super() 2070 if (root_inode->i_state & I_NEW) { in reiserfs_fill_super() 2071 reiserfs_read_locked_inode(root_inode, &args); in reiserfs_fill_super() 2072 unlock_new_inode(root_inode); in reiserfs_fill_super() 2075 if (!S_ISDIR(root_inode->i_mode) || !inode_get_bytes(root_inode) || in reiserfs_fill_super() 2076 !root_inode->i_size) { in reiserfs_fill_super() 2078 iput(root_inode); in reiserfs_fill_super() 2083 s->s_root = d_make_root(root_inode); in reiserfs_fill_super()
|
/linux-6.6.21/fs/tracefs/ |
D | inode.c | 155 struct inode *root_inode = ti->private; in set_tracefs_inode_owner() local 162 inode->i_uid = root_inode->i_uid; in set_tracefs_inode_owner() 165 inode->i_gid = root_inode->i_gid; in set_tracefs_inode_owner()
|
/linux-6.6.21/fs/ocfs2/ |
D | dcache.c | 70 if (inode == osb->root_inode || is_bad_inode(inode)) in ocfs2_dentry_revalidate()
|
D | super.c | 443 osb->root_inode = new; in ocfs2_init_global_system_inodes() 524 inode = osb->root_inode; in ocfs2_release_system_inodes() 527 osb->root_inode = NULL; in ocfs2_release_system_inodes() 1086 if (osb->root_inode) in ocfs2_fill_super() 1087 inode = igrab(osb->root_inode); in ocfs2_fill_super()
|
D | ocfs2.h | 296 struct inode *root_inode; member
|
D | namei.c | 903 if (inode == osb->root_inode) in ocfs2_unlink() 1083 if (parent_inode_no == osb->root_inode->i_ino) { in ocfs2_check_if_ancestor()
|
D | inode.c | 851 if (inode == osb->root_inode) { in ocfs2_inode_is_valid_to_delete()
|
/linux-6.6.21/fs/ |
D | dcache.c | 2064 struct dentry *d_make_root(struct inode *root_inode) in d_make_root() argument 2068 if (root_inode) { in d_make_root() 2069 res = d_alloc_anon(root_inode->i_sb); in d_make_root() 2071 d_instantiate(res, root_inode); in d_make_root() 2073 iput(root_inode); in d_make_root()
|
/linux-6.6.21/fs/btrfs/ |
D | super.c | 1404 struct inode *root_inode = d_inode(root); in mount_subvol() local 1405 u64 root_objectid = BTRFS_I(root_inode)->root->root_key.objectid; in mount_subvol() 1408 if (!is_subvolume_inode(root_inode)) { in mount_subvol()
|
/linux-6.6.21/security/selinux/ |
D | hooks.c | 500 struct inode *root_inode = d_backing_inode(root); in sb_check_xattr_support() local 511 if (!(root_inode->i_opflags & IOP_XATTR)) { in sb_check_xattr_support() 517 rc = __vfs_getxattr(root, root_inode, XATTR_NAME_SELINUX, NULL, 0); in sb_check_xattr_support() 549 struct inode *root_inode = d_backing_inode(root); in sb_finish_set_opts() local 571 rc = inode_doinit_with_dentry(root_inode, root); in sb_finish_set_opts()
|