/linux-6.1.9/fs/overlayfs/ |
D | inode.c | 24 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_setattr() 80 old_cred = ovl_override_creds(dentry->d_sb); in ovl_setattr() 98 bool samefs = ovl_same_fs(dentry->d_sb); in ovl_map_dev_ino() 99 unsigned int xinobits = ovl_xino_bits(dentry->d_sb); in ovl_map_dev_ino() 108 stat->dev = dentry->d_sb->s_dev; in ovl_map_dev_ino() 122 stat->dev = dentry->d_sb->s_dev; in ovl_map_dev_ino() 124 } else if (ovl_xino_warn(dentry->d_sb)) { in ovl_map_dev_ino() 141 stat->dev = dentry->d_sb->s_dev; in ovl_map_dev_ino() 150 stat->dev = OVL_FS(dentry->d_sb)->fs[fsid].pseudo_dev; in ovl_map_dev_ino() 170 old_cred = ovl_override_creds(dentry->d_sb); in ovl_getattr() [all …]
|
D | copy_up.c | 343 uuid_t *uuid = &real->d_sb->s_uuid; in ovl_encode_real_fh() 403 if (ovl_can_decode_fh(lower->d_sb)) { in ovl_set_origin() 445 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_create_index() 446 struct dentry *indexdir = ovl_indexdir(dentry->d_sb); in ovl_create_index() 517 struct ovl_fs *ofs = OVL_FS(c->dentry->d_sb); in ovl_link_up() 554 struct ovl_fs *ofs = OVL_FS(c->dentry->d_sb); in ovl_copy_up_data() 573 struct ovl_fs *ofs = OVL_FS(c->dentry->d_sb); in ovl_copy_up_metadata() 578 err = ovl_copy_xattr(c->dentry->d_sb, &c->lowerpath, temp); in ovl_copy_up_metadata() 656 struct ovl_fs *ofs = OVL_FS(c->dentry->d_sb); in ovl_copy_up_workdir() 736 struct ovl_fs *ofs = OVL_FS(c->dentry->d_sb); in ovl_copy_up_tmpfile() [all …]
|
D | util.c | 21 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() 656 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_set_impure() 805 if (!lower || !ovl_indexdir(dentry->d_sb)) in ovl_need_index() 809 if (ovl_index_all(dentry->d_sb)) in ovl_need_index() 822 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_cleanup_index() 823 struct dentry *indexdir = ovl_indexdir(dentry->d_sb); in ovl_cleanup_index() 859 } else if (ovl_index_all(dentry->d_sb)) { in ovl_cleanup_index() [all …]
|
D | dir.c | 237 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_set_opaque_xerr() 288 inode = ovl_get_inode(dentry->d_sb, &oip); in ovl_instantiate() 325 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_create_upper() 365 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_clear_empty() 401 err = ovl_copy_xattr(dentry->d_sb, &upperpath, opaquedir); in ovl_clear_empty() 465 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_create_over_whiteout() 583 old_cred = ovl_override_creds(dentry->d_sb); in ovl_create_or_link() 652 inode = ovl_new_inode(dentry->d_sb, mode, rdev); in ovl_create_object() 707 old_cred = ovl_override_creds(dentry->d_sb); in ovl_set_link_redirect() 766 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_remove_and_whiteout() [all …]
|
D | readdir.c | 121 if (ovl_xino_bits(rdd->dentry->d_sb)) in ovl_calc_d_ino() 274 old_cred = ovl_override_creds(rdd->dentry->d_sb); in ovl_check_whiteouts() 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() [all …]
|
D | namei.c | 834 struct ovl_fs *ofs = dentry->d_sb->s_fs_info; in ovl_lookup() 836 struct ovl_entry *roe = dentry->d_sb->s_root->d_fsdata; in ovl_lookup() 850 .sb = dentry->d_sb, in ovl_lookup() 863 old_cred = ovl_override_creds(dentry->d_sb); in ovl_lookup() 959 ((d.is_dir && ovl_verify_lower(dentry->d_sb)) || in ovl_lookup() 1059 if (origin && ovl_indexdir(dentry->d_sb) && in ovl_lookup() 1060 (!d.is_dir || ovl_index_all(dentry->d_sb))) { in ovl_lookup() 1111 inode = ovl_get_inode(dentry->d_sb, &oip); in ovl_lookup() 1173 old_cred = ovl_override_creds(dentry->d_sb); in ovl_lower_positive()
|
/linux-6.1.9/fs/ecryptfs/ |
D | super.c | 95 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()
|
D | main.c | 532 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-6.1.9/fs/ |
D | fs_context.c | 276 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()
|
D | fhandle.c | 30 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-6.1.9/fs/hpfs/ |
D | dentry.c | 32 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-6.1.9/fs/autofs/ |
D | root.c | 69 struct autofs_sb_info *sbi = autofs_sbi(dentry->d_sb); in autofs_del_active() 81 struct autofs_sb_info *sbi = autofs_sbi(dentry->d_sb); in autofs_dir_open() 112 struct autofs_sb_info *sbi = autofs_sbi(de->d_sb); in autofs_dentry_release() 133 struct autofs_sb_info *sbi = autofs_sbi(dentry->d_sb); in autofs_lookup_active() 188 struct autofs_sb_info *sbi = autofs_sbi(dentry->d_sb); in autofs_lookup_expiring() 247 struct autofs_sb_info *sbi = autofs_sbi(path->dentry->d_sb); in autofs_mount_wait() 292 struct autofs_sb_info *sbi = autofs_sbi(dentry->d_sb); in autofs_mountpoint_changed() 334 struct autofs_sb_info *sbi = autofs_sbi(dentry->d_sb); in autofs_d_automount() 422 struct autofs_sb_info *sbi = autofs_sbi(dentry->d_sb); in autofs_d_manage()
|
D | autofs_i.h | 244 struct autofs_sb_info *sbi = autofs_sbi(dentry->d_sb); in __autofs_add_expiring() 255 struct autofs_sb_info *sbi = autofs_sbi(dentry->d_sb); in autofs_add_expiring() 268 struct autofs_sb_info *sbi = autofs_sbi(dentry->d_sb); in autofs_del_expiring()
|
D | dev-ioctl.c | 196 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()
|
D | symlink.c | 17 sbi = autofs_sbi(dentry->d_sb); in autofs_get_link()
|
D | expire.c | 44 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-6.1.9/fs/cachefiles/ |
D | cache.c | 66 !root->d_sb->s_op->statfs || in cachefiles_add_cache() 67 !root->d_sb->s_op->sync_fs || in cachefiles_add_cache() 68 root->d_sb->s_blocksize > PAGE_SIZE) in cachefiles_add_cache() 72 if (sb_rdonly(root->d_sb)) in cachefiles_add_cache()
|
/linux-6.1.9/fs/jffs2/ |
D | super.c | 86 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-6.1.9/fs/nfs/ |
D | super.c | 244 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 …]
|
D | namespace.c | 150 struct nfs_server *server = NFS_SB(path->dentry->d_sb); in nfs_d_automount() 167 ctx->clone_data.sb = path->dentry->d_sb; in nfs_d_automount() 193 up_write(&fc->root->d_sb->s_umount); in nfs_d_automount()
|
/linux-6.1.9/fs/squashfs/ |
D | super.c | 404 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-6.1.9/fs/9p/ |
D | fid.c | 189 root_fid = v9fs_fid_find(dentry->d_sb->s_root, uid, any); in v9fs_fid_lookup_with_uid() 206 v9fs_fid_add(dentry->d_sb->s_root, &fid); in v9fs_fid_lookup_with_uid() 209 if (dentry->d_sb->s_root == dentry) in v9fs_fid_lookup_with_uid()
|
/linux-6.1.9/fs/debugfs/ |
D | inode.c | 209 struct debugfs_fs_info *fsi = root->d_sb->s_fs_info; in debugfs_show_options() 430 inode = debugfs_get_inode(dentry->d_sb); in __debugfs_create_file() 601 inode = debugfs_get_inode(dentry->d_sb); in debugfs_create_dir() 648 inode = debugfs_get_inode(dentry->d_sb); in debugfs_create_automount() 706 inode = debugfs_get_inode(dentry->d_sb); in debugfs_create_symlink()
|
/linux-6.1.9/security/tomoyo/ |
D | realpath.c | 156 struct super_block *sb = dentry->d_sb; in tomoyo_get_local_path() 243 struct super_block *sb = dentry->d_sb; in tomoyo_realpath_from_path()
|
/linux-6.1.9/fs/cifs/ |
D | dir.c | 73 struct cifs_sb_info *cifs_sb = CIFS_SB(direntry->d_sb); in build_path_from_dentry() 87 struct cifs_sb_info *cifs_sb = CIFS_SB(direntry->d_sb); in build_path_from_dentry_optional_prefix() 146 struct cifs_sb_info *cifs_sb = CIFS_SB(direntry->d_sb); in check_name() 796 struct nls_table *codepage = CIFS_SB(dentry->d_sb)->local_nls; 817 struct nls_table *codepage = CIFS_SB(dentry->d_sb)->local_nls;
|