/linux-6.1.9/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 = in openprom_fill_super() 391 root_inode->i_ctime = current_time(root_inode); in openprom_fill_super() 392 root_inode->i_op = &openprom_inode_operations; in openprom_fill_super() 393 root_inode->i_fop = &openprom_operations; in openprom_fill_super() 394 root_inode->i_mode = S_IFDIR | S_IRUGO | S_IXUGO; in openprom_fill_super() 395 oi = OP_I(root_inode); in openprom_fill_super() [all …]
|
/linux-6.1.9/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.1.9/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.1.9/fs/exfat/ |
D | super.c | 631 struct inode *root_inode; in exfat_fill_super() local 676 root_inode = new_inode(sb); in exfat_fill_super() 677 if (!root_inode) { in exfat_fill_super() 683 root_inode->i_ino = EXFAT_ROOT_INO; in exfat_fill_super() 684 inode_set_iversion(root_inode, 1); in exfat_fill_super() 685 err = exfat_read_root(root_inode); in exfat_fill_super() 691 exfat_hash_inode(root_inode, EXFAT_I(root_inode)->i_pos); in exfat_fill_super() 692 insert_inode_hash(root_inode); in exfat_fill_super() 694 sb->s_root = d_make_root(root_inode); in exfat_fill_super() 704 iput(root_inode); in exfat_fill_super()
|
/linux-6.1.9/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.1.9/fs/squashfs/ |
D | super.c | 122 long long root_inode; in squashfs_fill_super() local 212 root_inode = le64_to_cpu(sblk->root_inode); in squashfs_fill_super() 213 if (SQUASHFS_INODE_OFFSET(root_inode) > SQUASHFS_METADATA_SIZE) in squashfs_fill_super() 361 err = squashfs_read_inode(root, root_inode); in squashfs_fill_super()
|
D | squashfs_fs.h | 252 __le64 root_inode; member
|
/linux-6.1.9/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.1.9/fs/hostfs/ |
D | hostfs_kern.c | 919 struct inode *root_inode; in hostfs_fill_sb_common() local 943 root_inode = new_inode(sb); in hostfs_fill_sb_common() 944 if (!root_inode) in hostfs_fill_sb_common() 947 err = read_name(root_inode, host_root_path); in hostfs_fill_sb_common() 951 if (S_ISLNK(root_inode->i_mode)) { in hostfs_fill_sb_common() 957 err = read_name(root_inode, name); in hostfs_fill_sb_common() 964 sb->s_root = d_make_root(root_inode); in hostfs_fill_sb_common() 971 iput(root_inode); in hostfs_fill_sb_common()
|
/linux-6.1.9/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.1.9/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.1.9/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.1.9/fs/fat/ |
D | inode.c | 1607 struct inode *root_inode = NULL, *fat_inode = NULL; in fat_fill_super() local 1859 root_inode = new_inode(sb); in fat_fill_super() 1860 if (!root_inode) in fat_fill_super() 1862 root_inode->i_ino = MSDOS_ROOT_INO; in fat_fill_super() 1863 inode_set_iversion(root_inode, 1); in fat_fill_super() 1864 error = fat_read_root(root_inode); in fat_fill_super() 1866 iput(root_inode); in fat_fill_super() 1870 insert_inode_hash(root_inode); in fat_fill_super() 1871 fat_attach(root_inode, 0); in fat_fill_super() 1872 sb->s_root = d_make_root(root_inode); in fat_fill_super()
|
/linux-6.1.9/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.1.9/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() 1084 if (osb->root_inode) in ocfs2_fill_super() 1085 inode = igrab(osb->root_inode); in ocfs2_fill_super()
|
D | ocfs2.h | 296 struct inode *root_inode; member
|
D | namei.c | 902 if (inode == osb->root_inode) in ocfs2_unlink() 1082 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.1.9/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.1.9/fs/btrfs/ |
D | super.c | 1700 struct inode *root_inode = d_inode(root); in mount_subvol() local 1701 u64 root_objectid = BTRFS_I(root_inode)->root->root_key.objectid; in mount_subvol() 1704 if (!is_subvolume_inode(root_inode)) { in mount_subvol()
|
/linux-6.1.9/security/selinux/ |
D | hooks.c | 481 struct inode *root_inode = d_backing_inode(root); in sb_check_xattr_support() local 492 if (!(root_inode->i_opflags & IOP_XATTR)) { in sb_check_xattr_support() 498 rc = __vfs_getxattr(root, root_inode, XATTR_NAME_SELINUX, NULL, 0); in sb_check_xattr_support() 530 struct inode *root_inode = d_backing_inode(root); in sb_finish_set_opts() local 552 rc = inode_doinit_with_dentry(root_inode, root); in sb_finish_set_opts()
|