Home
last modified time | relevance | path

Searched refs:d_sb (Results 1 – 25 of 209) sorted by relevance

123456789

/linux/fs/overlayfs/
A Dinode.c79 old_cred = ovl_override_creds(dentry->d_sb); in ovl_setattr()
97 bool samefs = ovl_same_fs(dentry->d_sb); in ovl_map_dev_ino()
107 stat->dev = dentry->d_sb->s_dev; in ovl_map_dev_ino()
121 stat->dev = dentry->d_sb->s_dev; in ovl_map_dev_ino()
123 } else if (ovl_xino_warn(dentry->d_sb)) { in ovl_map_dev_ino()
140 stat->dev = dentry->d_sb->s_dev; in ovl_map_dev_ino()
169 old_cred = ovl_override_creds(dentry->d_sb); in ovl_getattr()
186 if (!is_dir || ovl_same_dev(dentry->d_sb)) { in ovl_getattr()
216 (!ovl_verify_lower(dentry->d_sb) && in ovl_getattr()
323 old_cred = ovl_override_creds(dentry->d_sb); in ovl_get_link()
[all …]
A Dutil.c21 struct ovl_fs *ofs = dentry->d_sb->s_fs_info; in ovl_want_write()
27 struct ovl_fs *ofs = dentry->d_sb->s_fs_info; in ovl_drop_write()
33 struct ovl_fs *ofs = dentry->d_sb->s_fs_info; in ovl_workdir()
155 struct ovl_fs *ofs = dentry->d_sb->s_fs_info; in ovl_path_upper()
628 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_set_impure()
777 if (!lower || !ovl_indexdir(dentry->d_sb)) in ovl_need_index()
781 if (ovl_index_all(dentry->d_sb)) in ovl_need_index()
794 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_cleanup_index()
831 } else if (ovl_index_all(dentry->d_sb)) { in ovl_cleanup_index()
894 old_cred = ovl_override_creds(dentry->d_sb); in ovl_nlink_start()
[all …]
A Dreaddir.c121 if (ovl_xino_bits(rdd->dentry->d_sb)) in ovl_calc_d_ino()
465 int xinobits = ovl_xino_bits(dir->d_sb); in ovl_cache_update_ino()
468 if (!ovl_same_dev(dir->d_sb)) in ovl_cache_update_ino()
511 dir->d_sb->s_dev != stat.dev); in ovl_cache_update_ino()
517 ovl_xino_warn(dir->d_sb)); in ovl_cache_update_ino()
599 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_cache_get_impure()
699 .xinobits = ovl_xino_bits(dir->d_sb), in ovl_iterate_real()
700 .xinowarn = ovl_xino_warn(dir->d_sb), in ovl_iterate_real()
715 WARN_ON_ONCE(dir->d_sb->s_dev != stat.dev); in ovl_iterate_real()
750 if (ovl_xino_bits(dentry->d_sb) || in ovl_iterate()
[all …]
A Dcopy_up.c338 uuid_t *uuid = &real->d_sb->s_uuid; in ovl_encode_real_fh()
398 if (ovl_can_decode_fh(lower->d_sb)) { in ovl_set_origin()
440 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_create_index()
441 struct dentry *indexdir = ovl_indexdir(dentry->d_sb); in ovl_create_index()
548 struct ovl_fs *ofs = OVL_FS(c->dentry->d_sb); in ovl_copy_up_inode()
772 struct ovl_fs *ofs = OVL_FS(c->dentry->d_sb); in ovl_do_copy_up()
784 c->workdir = ovl_indexdir(c->dentry->d_sb); in ovl_do_copy_up()
793 c->destdir = ovl_indexdir(c->dentry->d_sb); in ovl_do_copy_up()
844 struct ovl_fs *ofs = dentry->d_sb->s_fs_info; in ovl_need_meta_copy_up()
884 struct ovl_fs *ofs = OVL_FS(c->dentry->d_sb); in ovl_copy_up_meta_inode_data()
[all …]
A Ddir.c235 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_set_opaque_xerr()
286 inode = ovl_get_inode(dentry->d_sb, &oip); in ovl_instantiate()
323 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_create_upper()
580 old_cred = ovl_override_creds(dentry->d_sb); in ovl_create_or_link()
635 inode = ovl_new_inode(dentry->d_sb, mode, rdev); in ovl_create_object()
690 old_cred = ovl_override_creds(dentry->d_sb); in ovl_set_link_redirect()
749 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_remove_and_whiteout()
906 old_cred = ovl_override_creds(dentry->d_sb); in ovl_do_remove()
956 return ovl_redirect_dir(dentry->d_sb) || in ovl_can_move()
1050 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_set_redirect()
[all …]
A Dnamei.c827 struct ovl_fs *ofs = dentry->d_sb->s_fs_info; in ovl_lookup()
829 struct ovl_entry *roe = dentry->d_sb->s_root->d_fsdata; in ovl_lookup()
843 .sb = dentry->d_sb, in ovl_lookup()
856 old_cred = ovl_override_creds(dentry->d_sb); in ovl_lookup()
950 ((d.is_dir && ovl_verify_lower(dentry->d_sb)) || in ovl_lookup()
1050 if (origin && ovl_indexdir(dentry->d_sb) && in ovl_lookup()
1051 (!d.is_dir || ovl_index_all(dentry->d_sb))) { in ovl_lookup()
1098 inode = ovl_get_inode(dentry->d_sb, &oip); in ovl_lookup()
1160 old_cred = ovl_override_creds(dentry->d_sb); in ovl_lower_positive()
/linux/fs/ecryptfs/
A Dsuper.c95 if (!lower_dentry->d_sb->s_op->statfs) in ecryptfs_statfs()
98 rc = lower_dentry->d_sb->s_op->statfs(lower_dentry, buf); in ecryptfs_statfs()
104 &ecryptfs_superblock_to_private(dentry->d_sb)->mount_crypt_stat); in ecryptfs_statfs()
134 struct super_block *sb = root->d_sb; in ecryptfs_show_options()
A Dmain.c532 if (path.dentry->d_sb->s_type == &ecryptfs_fs_type) { in ecryptfs_mount()
555 ecryptfs_set_superblock_lower(s, path.dentry->d_sb); in ecryptfs_mount()
562 s->s_flags |= path.dentry->d_sb->s_flags & SB_POSIXACL; in ecryptfs_mount()
569 if (sb_rdonly(path.dentry->d_sb) || mount_crypt_stat->flags & ECRYPTFS_ENCRYPTED_VIEW_ENABLED) in ecryptfs_mount()
572 s->s_maxbytes = path.dentry->d_sb->s_maxbytes; in ecryptfs_mount()
573 s->s_blocksize = path.dentry->d_sb->s_blocksize; in ecryptfs_mount()
575 s->s_stack_depth = path.dentry->d_sb->s_stack_depth + 1; in ecryptfs_mount()
/linux/fs/
A Dfs_context.c276 fc->user_ns = get_user_ns(reference->d_sb->s_user_ns); in alloc_fs_context()
279 atomic_inc(&reference->d_sb->s_active); in alloc_fs_context()
280 fc->user_ns = get_user_ns(reference->d_sb->s_user_ns); in alloc_fs_context()
313 return alloc_fs_context(dentry->d_sb->s_type, dentry, sb_flags, in fs_context_for_reconfigure()
327 struct super_block *sb = fc->root->d_sb; in fc_drop_locked()
462 sb = fc->root->d_sb; in put_fs_context()
615 sb = root->d_sb; in legacy_get_tree()
628 struct super_block *sb = fc->root->d_sb; in legacy_reconfigure()
A Ddcache.c470 b = &dentry->d_sb->s_roots; in ___d_drop()
1649 dentry->d_sb->s_type->name, in umount_check()
1650 dentry->d_sb->s_id); in umount_check()
1787 dentry->d_sb = sb; in __d_alloc()
1795 d_set_d_op(dentry, dentry->d_sb->s_d_op); in __d_alloc()
1823 struct dentry *dentry = __d_alloc(parent->d_sb, name); in d_alloc()
1848 struct dentry *dentry = d_alloc_anon(parent->d_sb); in d_alloc_cursor()
2079 hlist_bl_lock(&dentry->d_sb->s_roots); in __d_instantiate_anon()
2081 hlist_bl_unlock(&dentry->d_sb->s_roots); in __d_instantiate_anon()
3014 if (!mutex_trylock(&dentry->d_sb->s_vfs_rename_mutex)) in __d_unalias()
[all …]
A Dfhandle.c30 if (!path->dentry->d_sb->s_export_op || in do_sys_name_to_handle()
31 !path->dentry->d_sb->s_export_op->fh_to_dentry) in do_sys_name_to_handle()
/linux/fs/cachefiles/
A Dbind.c131 !root->d_sb->s_op->statfs || in cachefiles_daemon_add_cache()
132 !root->d_sb->s_op->sync_fs) in cachefiles_daemon_add_cache()
136 if (sb_rdonly(root->d_sb)) in cachefiles_daemon_add_cache()
219 fsdef->dentry->d_sb->s_id); in cachefiles_daemon_add_cache()
/linux/fs/autofs/
A Droot.c67 struct autofs_sb_info *sbi = autofs_sbi(dentry->d_sb); in autofs_del_active()
79 struct autofs_sb_info *sbi = autofs_sbi(dentry->d_sb); in autofs_dir_open()
109 struct autofs_sb_info *sbi = autofs_sbi(de->d_sb); in autofs_dentry_release()
130 struct autofs_sb_info *sbi = autofs_sbi(dentry->d_sb); in autofs_lookup_active()
185 struct autofs_sb_info *sbi = autofs_sbi(dentry->d_sb); in autofs_lookup_expiring()
244 struct autofs_sb_info *sbi = autofs_sbi(path->dentry->d_sb); in autofs_mount_wait()
289 struct autofs_sb_info *sbi = autofs_sbi(dentry->d_sb); in autofs_mountpoint_changed()
314 struct autofs_sb_info *sbi = autofs_sbi(dentry->d_sb); in autofs_d_automount()
402 struct autofs_sb_info *sbi = autofs_sbi(dentry->d_sb); in autofs_d_manage()
A Dautofs_i.h241 struct autofs_sb_info *sbi = autofs_sbi(dentry->d_sb); in __autofs_add_expiring()
252 struct autofs_sb_info *sbi = autofs_sbi(dentry->d_sb); in autofs_add_expiring()
265 struct autofs_sb_info *sbi = autofs_sbi(dentry->d_sb); in autofs_del_expiring()
A Ddev-ioctl.c196 if (path.dentry->d_sb->s_magic == AUTOFS_SUPER_MAGIC) { in find_autofs_mount()
213 return path->dentry->d_sb->s_dev == *(dev_t *)p; in test_by_dev()
531 devid = new_encode_dev(path.dentry->d_sb->s_dev); in autofs_dev_ioctl_ismountpoint()
535 magic = path.dentry->d_sb->s_magic; in autofs_dev_ioctl_ismountpoint()
549 magic = path.dentry->d_sb->s_magic; in autofs_dev_ioctl_ismountpoint()
A Dexpire.c44 struct autofs_sb_info *sbi = autofs_sbi(path.dentry->d_sb); in autofs_mount_busy()
100 struct autofs_sb_info *sbi = autofs_sbi(root->d_sb); in get_next_positive_subdir()
118 struct autofs_sb_info *sbi = autofs_sbi(root->d_sb); in get_next_positive_dentry()
492 struct autofs_sb_info *sbi = autofs_sbi(dentry->d_sb); in autofs_expire_wait()
/linux/fs/hpfs/
A Ddentry.c32 hash = partial_name_hash(hpfs_upcase(hpfs_sb(dentry->d_sb)->sb_cp_table,qstr->name[i]), hash); in hpfs_hash_dentry()
54 if (hpfs_compare_names(dentry->d_sb, str, al, name->name, bl, 0)) in hpfs_compare_dentry()
/linux/fs/jffs2/
A Dsuper.c86 struct jffs2_sb_info *c = JFFS2_SB_INFO(root->d_sb); in jffs2_show_options()
149 return d_obtain_alias(jffs2_iget(child->d_sb, pino)); in jffs2_get_parent()
218 struct jffs2_sb_info *c = JFFS2_SB_INFO(fc->root->d_sb); in jffs2_update_mount_opts()
234 struct super_block *sb = fc->root->d_sb; in jffs2_reconfigure()
/linux/fs/nfs/
A Dsuper.c244 struct nfs_server *server = NFS_SB(dentry->d_sb); in nfs_statfs()
274 buf->f_frsize = dentry->d_sb->s_blocksize; in nfs_statfs()
283 buf->f_bsize = dentry->d_sb->s_blocksize; in nfs_statfs()
284 blockbits = dentry->d_sb->s_blocksize_bits; in nfs_statfs()
538 struct nfs_server *nfss = NFS_SB(root->d_sb); in nfs_show_options()
635 struct nfs_server *nfss = NFS_SB(root->d_sb); in nfs_show_stats()
645 seq_puts(m, sb_rdonly(root->d_sb) ? "ro" : "rw"); in nfs_show_stats()
646 seq_puts(m, root->d_sb->s_flags & SB_SYNCHRONOUS ? ",sync" : ""); in nfs_show_stats()
647 seq_puts(m, root->d_sb->s_flags & SB_NOATIME ? ",noatime" : ""); in nfs_show_stats()
648 seq_puts(m, root->d_sb->s_flags & SB_NODIRATIME ? ",nodiratime" : ""); in nfs_show_stats()
[all …]
/linux/fs/squashfs/
A Dsuper.c404 struct super_block *sb = fc->root->d_sb; in squashfs_reconfigure()
408 sync_filesystem(fc->root->d_sb); in squashfs_reconfigure()
430 struct super_block *sb = root->d_sb; in squashfs_show_options()
456 struct squashfs_sb_info *msblk = dentry->d_sb->s_fs_info; in squashfs_statfs()
457 u64 id = huge_encode_dev(dentry->d_sb->s_bdev->bd_dev); in squashfs_statfs()
/linux/fs/9p/
A Dfid.c182 fid = v9fs_fid_find(dentry->d_sb->s_root, uid, any); in v9fs_fid_lookup_with_uid()
198 v9fs_fid_add(dentry->d_sb->s_root, fid); in v9fs_fid_lookup_with_uid()
201 if (dentry->d_sb->s_root == dentry) { in v9fs_fid_lookup_with_uid()
/linux/fs/debugfs/
A Dinode.c186 struct debugfs_fs_info *fsi = root->d_sb->s_fs_info; in debugfs_show_options()
407 inode = debugfs_get_inode(dentry->d_sb); in __debugfs_create_file()
568 inode = debugfs_get_inode(dentry->d_sb); in debugfs_create_dir()
615 inode = debugfs_get_inode(dentry->d_sb); in debugfs_create_automount()
673 inode = debugfs_get_inode(dentry->d_sb); in debugfs_create_symlink()
/linux/fs/nfsd/
A Dnfsfh.c283 if (dentry->d_sb->s_export_op->flags & EXPORT_OP_NOATOMIC_ATTR) in nfsd_set_fh_dentry()
287 if (dentry->d_sb->s_export_op->flags & EXPORT_OP_NOWCC) in nfsd_set_fh_dentry()
434 return exp->ex_path.dentry == exp->ex_path.dentry->d_sb->s_root; in is_root_export()
439 return exp->ex_path.dentry->d_sb; in exp_sb()
/linux/fs/cifs/
A Ddir.c72 struct cifs_sb_info *cifs_sb = CIFS_SB(direntry->d_sb); in build_path_from_dentry()
86 struct cifs_sb_info *cifs_sb = CIFS_SB(direntry->d_sb); in build_path_from_dentry_optional_prefix()
145 struct cifs_sb_info *cifs_sb = CIFS_SB(direntry->d_sb); in check_name()
789 struct nls_table *codepage = CIFS_SB(dentry->d_sb)->local_nls; in cifs_ci_hash()
810 struct nls_table *codepage = CIFS_SB(dentry->d_sb)->local_nls; in cifs_ci_compare()
/linux/fs/vboxsf/
A Dutils.c140 struct vboxsf_sbi *sbi = VBOXSF_SBI(dentry->d_sb); in vboxsf_create_at_dentry()
178 struct vboxsf_sbi *sbi = VBOXSF_SBI(dentry->d_sb); in vboxsf_stat_dentry()
206 sbi = VBOXSF_SBI(dentry->d_sb); in vboxsf_inode_revalidate()
262 struct vboxsf_sbi *sbi = VBOXSF_SBI(dentry->d_sb); in vboxsf_setattr()

Completed in 47 milliseconds

123456789