Home
last modified time | relevance | path

Searched refs:root_inode (Results 1 – 24 of 24) sorted by relevance

/linux/fs/openpromfs/
A Dinode.c374 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()
395 oi = OP_I(root_inode); in openprom_fill_super()
398 unlock_new_inode(root_inode); in openprom_fill_super()
[all …]
/linux/fs/autofs/
A Dinode.c64 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->i_fop = &autofs_root_operations; in autofs_fill_super()
[all …]
/linux/fs/proc/
A Dself.c38 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()
A Dthread_self.c38 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()
A Droot.c165 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()
/linux/fs/exfat/
A Dsuper.c622 struct inode *root_inode; in exfat_fill_super() local
671 root_inode = new_inode(sb); in exfat_fill_super()
672 if (!root_inode) { in exfat_fill_super()
678 root_inode->i_ino = EXFAT_ROOT_INO; in exfat_fill_super()
679 inode_set_iversion(root_inode, 1); in exfat_fill_super()
680 err = exfat_read_root(root_inode); in exfat_fill_super()
686 exfat_hash_inode(root_inode, EXFAT_I(root_inode)->i_pos); in exfat_fill_super()
687 insert_inode_hash(root_inode); in exfat_fill_super()
689 sb->s_root = d_make_root(root_inode); in exfat_fill_super()
699 iput(root_inode); in exfat_fill_super()
/linux/arch/s390/hypfs/
A Dinode.c259 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/fs/squashfs/
A Dsuper.c122 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()
A Dsquashfs_fs.h252 __le64 root_inode; member
/linux/fs/hostfs/
A Dhostfs_kern.c917 struct inode *root_inode; in hostfs_fill_sb_common() local
938 root_inode = new_inode(sb); in hostfs_fill_sb_common()
939 if (!root_inode) in hostfs_fill_sb_common()
942 err = read_name(root_inode, host_root_path); in hostfs_fill_sb_common()
946 if (S_ISLNK(root_inode->i_mode)) { in hostfs_fill_sb_common()
952 err = read_name(root_inode, name); in hostfs_fill_sb_common()
959 sb->s_root = d_make_root(root_inode); in hostfs_fill_sb_common()
966 iput(root_inode); in hostfs_fill_sb_common()
/linux/fs/hfs/
A Dsuper.c383 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/fs/affs/
A Dsuper.c338 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/fs/minix/
A Dinode.c179 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/fs/sysv/
A Dsuper.c306 struct inode *root_inode; in complete_read_super() local
337 root_inode = sysv_iget(sb, SYSV_ROOT_INO); in complete_read_super()
338 if (IS_ERR(root_inode)) { in complete_read_super()
342 sb->s_root = d_make_root(root_inode); in complete_read_super()
/linux/fs/fat/
A Dinode.c1603 struct inode *root_inode = NULL, *fat_inode = NULL; in fat_fill_super() local
1855 root_inode = new_inode(sb); in fat_fill_super()
1856 if (!root_inode) in fat_fill_super()
1858 root_inode->i_ino = MSDOS_ROOT_INO; in fat_fill_super()
1859 inode_set_iversion(root_inode, 1); in fat_fill_super()
1860 error = fat_read_root(root_inode); in fat_fill_super()
1862 iput(root_inode); in fat_fill_super()
1866 insert_inode_hash(root_inode); in fat_fill_super()
1867 fat_attach(root_inode, 0); in fat_fill_super()
1868 sb->s_root = d_make_root(root_inode); in fat_fill_super()
/linux/fs/reiserfs/
A Dsuper.c1890 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/fs/ocfs2/
A Ddcache.c70 if (inode == osb->root_inode || is_bad_inode(inode)) in ocfs2_dentry_revalidate()
A Dsuper.c446 osb->root_inode = new; in ocfs2_init_global_system_inodes()
527 inode = osb->root_inode; in ocfs2_release_system_inodes()
530 osb->root_inode = NULL; in ocfs2_release_system_inodes()
1100 if (osb->root_inode) in ocfs2_fill_super()
1101 inode = igrab(osb->root_inode); in ocfs2_fill_super()
A Docfs2.h297 struct inode *root_inode; member
A Dnamei.c905 if (inode == osb->root_inode) in ocfs2_unlink()
1085 if (parent_inode_no == osb->root_inode->i_ino) { in ocfs2_check_if_ancestor()
A Dinode.c851 if (inode == osb->root_inode) { in ocfs2_inode_is_valid_to_delete()
/linux/fs/
A Ddcache.c2038 struct dentry *d_make_root(struct inode *root_inode) in d_make_root() argument
2042 if (root_inode) { in d_make_root()
2043 res = d_alloc_anon(root_inode->i_sb); in d_make_root()
2045 d_instantiate(res, root_inode); in d_make_root()
2047 iput(root_inode); in d_make_root()
/linux/fs/btrfs/
A Dsuper.c1599 struct inode *root_inode = d_inode(root); in mount_subvol() local
1600 u64 root_objectid = BTRFS_I(root_inode)->root->root_key.objectid; in mount_subvol()
1603 if (!is_subvolume_inode(root_inode)) { in mount_subvol()
/linux/security/selinux/
A Dhooks.c497 struct inode *root_inode = d_backing_inode(root); in sb_check_xattr_support() local
508 if (!(root_inode->i_opflags & IOP_XATTR)) { in sb_check_xattr_support()
514 rc = __vfs_getxattr(root, root_inode, XATTR_NAME_SELINUX, NULL, 0); in sb_check_xattr_support()
546 struct inode *root_inode = d_backing_inode(root); in sb_finish_set_opts() local
568 rc = inode_doinit_with_dentry(root_inode, root); in sb_finish_set_opts()

Completed in 63 milliseconds