/kernel/linux/linux-5.10/fs/hmdfs/ |
H A D | inode_root.c | 134 struct inode *root_inode = NULL; in hmdfs_device_lookup() local 157 root_inode = fill_device_local_inode( in hmdfs_device_lookup() 159 if (IS_ERR(root_inode)) { in hmdfs_device_lookup() 160 err = PTR_ERR(root_inode); in hmdfs_device_lookup() 165 ret_dentry = d_splice_alias(root_inode, child_dentry); in hmdfs_device_lookup() 181 root_inode = fill_device_inode_cloud(sb); in hmdfs_device_lookup() 182 if (IS_ERR(root_inode)) { in hmdfs_device_lookup() 183 err = PTR_ERR(root_inode); in hmdfs_device_lookup() 187 ret_dentry = d_splice_alias(root_inode, child_dentry); in hmdfs_device_lookup() 218 root_inode in hmdfs_device_lookup() 244 struct inode *root_inode = NULL; hmdfs_root_lookup() local [all...] |
/kernel/linux/linux-6.6/fs/hmdfs/ |
H A D | inode_root.c | 134 struct inode *root_inode = NULL; in hmdfs_device_lookup() local 157 root_inode = fill_device_local_inode( in hmdfs_device_lookup() 159 if (IS_ERR(root_inode)) { in hmdfs_device_lookup() 160 err = PTR_ERR(root_inode); in hmdfs_device_lookup() 165 ret_dentry = d_splice_alias(root_inode, child_dentry); in hmdfs_device_lookup() 181 root_inode = fill_device_inode_cloud(sb); in hmdfs_device_lookup() 182 if (IS_ERR(root_inode)) { in hmdfs_device_lookup() 183 err = PTR_ERR(root_inode); in hmdfs_device_lookup() 187 ret_dentry = d_splice_alias(root_inode, child_dentry); in hmdfs_device_lookup() 218 root_inode in hmdfs_device_lookup() 244 struct inode *root_inode = NULL; hmdfs_root_lookup() local [all...] |
/kernel/linux/linux-5.10/fs/autofs/ |
H A D | inode.c | 64 struct inode *root_inode = d_inode(root->d_sb->s_root); in autofs_show_options() local 70 if (!uid_eq(root_inode->i_uid, GLOBAL_ROOT_UID)) in autofs_show_options() 72 from_kuid_munged(&init_user_ns, root_inode->i_uid)); in autofs_show_options() 73 if (!gid_eq(root_inode->i_gid, GLOBAL_ROOT_GID)) in autofs_show_options() 75 from_kgid_munged(&init_user_ns, root_inode->i_gid)); in autofs_show_options() 222 struct inode *root_inode; in autofs_fill_super() local 271 root_inode = autofs_get_inode(s, S_IFDIR | 0755); in autofs_fill_super() 272 root = d_make_root(root_inode); in autofs_fill_super() 282 if (parse_options(data, root_inode, &pgrp, &pgrp_set, sbi)) { in autofs_fill_super() 318 root_inode in autofs_fill_super() [all...] |
/kernel/linux/linux-6.6/fs/autofs/ |
H A 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 in autofs_fill_super() [all...] |
/kernel/linux/linux-6.6/fs/openpromfs/ |
H A 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 in openprom_fill_super() [all...] |
/kernel/linux/linux-5.10/drivers/oprofile/ |
H A D | oprofilefs.c | 244 struct inode *root_inode; in oprofilefs_fill_super() local 252 root_inode = oprofilefs_get_inode(sb, S_IFDIR | 0755); in oprofilefs_fill_super() 253 if (!root_inode) in oprofilefs_fill_super() 255 root_inode->i_op = &simple_dir_inode_operations; in oprofilefs_fill_super() 256 root_inode->i_fop = &simple_dir_operations; in oprofilefs_fill_super() 257 sb->s_root = d_make_root(root_inode); in oprofilefs_fill_super()
|
/kernel/linux/linux-5.10/fs/proc/ |
H A 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()
|
H A 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()
|
H A D | root.c | 165 struct inode *root_inode; in proc_fill_super() local 197 root_inode = proc_get_inode(s, &proc_root); in proc_fill_super() 198 if (!root_inode) { in proc_fill_super() 203 s->s_root = d_make_root(root_inode); in proc_fill_super()
|
/kernel/linux/linux-6.6/fs/proc/ |
H A 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()
|
H A 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()
|
H A 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()
|
/kernel/linux/linux-5.10/fs/exfat/ |
H A D | super.c | 621 struct inode *root_inode; in exfat_fill_super() local 670 root_inode = new_inode(sb); in exfat_fill_super() 671 if (!root_inode) { in exfat_fill_super() 677 root_inode->i_ino = EXFAT_ROOT_INO; in exfat_fill_super() 678 inode_set_iversion(root_inode, 1); in exfat_fill_super() 679 err = exfat_read_root(root_inode); in exfat_fill_super() 685 exfat_hash_inode(root_inode, EXFAT_I(root_inode)->i_pos); in exfat_fill_super() 686 insert_inode_hash(root_inode); in exfat_fill_super() 688 sb->s_root = d_make_root(root_inode); in exfat_fill_super() [all...] |
/kernel/linux/linux-6.6/fs/exfat/ |
H A 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() [all...] |
/kernel/linux/linux-6.6/fs/hostfs/ |
H A 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() [all...] |
/kernel/linux/linux-5.10/arch/s390/hypfs/ |
H A 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()
|
/kernel/linux/linux-6.6/arch/s390/hypfs/ |
H A 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()
|
/kernel/linux/linux-5.10/fs/openpromfs/ |
H A D | inode.c | 381 struct inode *root_inode; in openprom_fill_super() local 391 root_inode = openprom_iget(s, OPENPROM_ROOT_INO); in openprom_fill_super() 392 if (IS_ERR(root_inode)) { in openprom_fill_super() 393 ret = PTR_ERR(root_inode); in openprom_fill_super() 397 oi = OP_I(root_inode); in openprom_fill_super() 401 s->s_root = d_make_root(root_inode); in openprom_fill_super()
|
/kernel/linux/linux-5.10/fs/squashfs/ |
H A D | super.c | 92 long long root_inode; in squashfs_fill_super() local 193 root_inode = le64_to_cpu(sblk->root_inode); in squashfs_fill_super() 194 if (SQUASHFS_INODE_OFFSET(root_inode) > SQUASHFS_METADATA_SIZE) in squashfs_fill_super() 342 err = squashfs_read_inode(root, root_inode); in squashfs_fill_super()
|
/kernel/linux/linux-5.10/fs/sharefs/ |
H A D | authentication.c | 72 void sharefs_root_inode_perm_init(struct inode *root_inode) in sharefs_root_inode_perm_init() argument 74 struct sharefs_inode_info *hii = SHAREFS_I(root_inode); in sharefs_root_inode_perm_init()
|
/kernel/linux/linux-6.6/fs/sharefs/ |
H A D | authentication.c | 72 void sharefs_root_inode_perm_init(struct inode *root_inode) in sharefs_root_inode_perm_init() argument 74 struct sharefs_inode_info *hii = SHAREFS_I(root_inode); in sharefs_root_inode_perm_init()
|
/kernel/linux/linux-5.10/fs/hostfs/ |
H A D | hostfs_kern.c | 910 struct inode *root_inode; in hostfs_fill_sb_common() local 931 root_inode = new_inode(sb); in hostfs_fill_sb_common() 932 if (!root_inode) in hostfs_fill_sb_common() 935 err = read_name(root_inode, host_root_path); in hostfs_fill_sb_common() 939 if (S_ISLNK(root_inode->i_mode)) { in hostfs_fill_sb_common() 945 err = read_name(root_inode, name); in hostfs_fill_sb_common() 952 sb->s_root = d_make_root(root_inode); in hostfs_fill_sb_common() 959 iput(root_inode); in hostfs_fill_sb_common()
|
/kernel/linux/linux-5.10/fs/affs/ |
H A 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()
|
/kernel/linux/linux-6.6/fs/affs/ |
H A 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()
|
/kernel/linux/linux-6.6/fs/squashfs/ |
H A 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()
|