Home
last modified time | relevance | path

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

/linux-4.19.296/fs/autofs/
Dinode.c67 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/
Dself.c45 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()
Dthread_self.c38 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()
Dinode.c497 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/
Doprofilefs.c243 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/
Dinode.c384 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/
Dsuper.c84 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()
Dsquashfs_fs.h265 __le64 root_inode; member
/linux-4.19.296/fs/hostfs/
Dhostfs_kern.c916 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/
Dsuper.c390 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/
Dsuper.c343 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/
Dinode.c184 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/
Dsuper.c305 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/
Dinode.c1606 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/
Dsuper.c1898 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/
Ddcache.c86 if (inode == osb->root_inode || is_bad_inode(inode)) in ocfs2_dentry_revalidate()
Dsuper.c460 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()
Docfs2.h310 struct inode *root_inode; member
Dnamei.c907 if (inode == osb->root_inode) in ocfs2_unlink()
1087 if (parent_inode_no == osb->root_inode->i_ino) { in ocfs2_check_if_ancestor()
Dinode.c867 if (inode == osb->root_inode) { in ocfs2_inode_is_valid_to_delete()
/linux-4.19.296/fs/
Ddcache.c1904 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/
Dsuper.c1439 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()