/Linux-v4.19/fs/overlayfs/ |
D | inode.c | 65 old_cred = ovl_override_creds(dentry->d_sb); in ovl_setattr() 84 bool samefs = ovl_same_sb(dentry->d_sb); in ovl_map_dev_ino() 85 unsigned int xinobits = ovl_xino_bits(dentry->d_sb); in ovl_map_dev_ino() 93 stat->dev = dentry->d_sb->s_dev; in ovl_map_dev_ino() 112 stat->dev = dentry->d_sb->s_dev; in ovl_map_dev_ino() 128 stat->dev = dentry->d_sb->s_dev; in ovl_map_dev_ino() 152 bool samefs = ovl_same_sb(dentry->d_sb); in ovl_getattr() 160 old_cred = ovl_override_creds(dentry->d_sb); in ovl_getattr() 174 if (!is_dir || samefs || ovl_xino_bits(dentry->d_sb)) { in ovl_getattr() 204 (!ovl_verify_lower(dentry->d_sb) && in ovl_getattr() [all …]
|
D | util.c | 23 struct ovl_fs *ofs = dentry->d_sb->s_fs_info; in ovl_want_write() 29 struct ovl_fs *ofs = dentry->d_sb->s_fs_info; in ovl_drop_write() 35 struct ovl_fs *ofs = dentry->d_sb->s_fs_info; in ovl_workdir() 151 struct ovl_fs *ofs = dentry->d_sb->s_fs_info; in ovl_path_upper() 575 struct ovl_fs *ofs = dentry->d_sb->s_fs_info; in ovl_check_setxattr() 663 if (!lower || !ovl_indexdir(dentry->d_sb)) in ovl_need_index() 667 if (ovl_index_all(dentry->d_sb)) in ovl_need_index() 680 struct dentry *indexdir = ovl_indexdir(dentry->d_sb); in ovl_cleanup_index() 716 } else if (ovl_index_all(dentry->d_sb)) { in ovl_cleanup_index() 778 old_cred = ovl_override_creds(dentry->d_sb); in ovl_nlink_start() [all …]
|
D | copy_up.c | 236 uuid_t *uuid = &real->d_sb->s_uuid; in ovl_encode_real_fh() 297 if (ovl_can_decode_fh(lower->d_sb)) { in ovl_set_origin() 337 struct dentry *indexdir = ovl_indexdir(dentry->d_sb); in ovl_create_index() 610 struct ovl_fs *ofs = c->dentry->d_sb->s_fs_info; in ovl_do_copy_up() 622 c->workdir = ovl_indexdir(c->dentry->d_sb); in ovl_do_copy_up() 631 c->destdir = ovl_indexdir(c->dentry->d_sb); in ovl_do_copy_up() 690 struct ovl_fs *ofs = dentry->d_sb->s_fs_info; in ovl_need_meta_copy_up() 797 const struct cred *old_cred = ovl_override_creds(dentry->d_sb); in ovl_copy_up_flags()
|
D | readdir.c | 124 if (ovl_xino_bits(rdd->dentry->d_sb)) in ovl_calc_d_ino() 277 old_cred = ovl_override_creds(rdd->dentry->d_sb); in ovl_check_whiteouts() 472 int xinobits = ovl_xino_bits(dir->d_sb); in ovl_cache_update_ino() 475 if (!ovl_same_sb(dir->d_sb) && !xinobits) in ovl_cache_update_ino() 510 WARN_ON_ONCE(dir->d_sb->s_dev != stat.dev); in ovl_cache_update_ino() 695 .xinobits = ovl_xino_bits(dir->d_sb), in ovl_iterate_real() 710 WARN_ON_ONCE(dir->d_sb->s_dev != stat.dev); in ovl_iterate_real() 743 if (ovl_xino_bits(dentry->d_sb) || in ovl_iterate() 744 (ovl_same_sb(dentry->d_sb) && in ovl_iterate() 922 old_cred = ovl_override_creds(dentry->d_sb); in ovl_check_empty_dir()
|
D | namei.c | 804 struct ovl_fs *ofs = dentry->d_sb->s_fs_info; in ovl_lookup() 806 struct ovl_entry *roe = dentry->d_sb->s_root->d_fsdata; in ovl_lookup() 832 old_cred = ovl_override_creds(dentry->d_sb); in ovl_lookup() 922 ((d.is_dir && ovl_verify_lower(dentry->d_sb)) || in ovl_lookup() 1020 if (origin && ovl_indexdir(dentry->d_sb) && in ovl_lookup() 1021 (!d.is_dir || ovl_index_all(dentry->d_sb))) { in ovl_lookup() 1064 inode = ovl_get_inode(dentry->d_sb, &oip); in ovl_lookup() 1121 old_cred = ovl_override_creds(dentry->d_sb); in ovl_lower_positive()
|
/Linux-v4.19/fs/ecryptfs/ |
D | super.c | 111 if (!lower_dentry->d_sb->s_op->statfs) in ecryptfs_statfs() 114 rc = lower_dentry->d_sb->s_op->statfs(lower_dentry, buf); in ecryptfs_statfs() 120 &ecryptfs_superblock_to_private(dentry->d_sb)->mount_crypt_stat); in ecryptfs_statfs() 150 struct super_block *sb = root->d_sb; in ecryptfs_show_options()
|
D | main.c | 540 if (path.dentry->d_sb->s_type == &ecryptfs_fs_type) { in ecryptfs_mount() 557 ecryptfs_set_superblock_lower(s, path.dentry->d_sb); in ecryptfs_mount() 564 s->s_flags |= path.dentry->d_sb->s_flags & SB_POSIXACL; in ecryptfs_mount() 571 if (sb_rdonly(path.dentry->d_sb) || mount_crypt_stat->flags & ECRYPTFS_ENCRYPTED_VIEW_ENABLED) in ecryptfs_mount() 574 s->s_maxbytes = path.dentry->d_sb->s_maxbytes; in ecryptfs_mount() 575 s->s_blocksize = path.dentry->d_sb->s_blocksize; in ecryptfs_mount() 577 s->s_stack_depth = path.dentry->d_sb->s_stack_depth + 1; in ecryptfs_mount()
|
/Linux-v4.19/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-v4.19/fs/autofs/ |
D | root.c | 68 struct autofs_sb_info *sbi = autofs_sbi(dentry->d_sb); in autofs_add_active() 85 struct autofs_sb_info *sbi = autofs_sbi(dentry->d_sb); in autofs_del_active() 103 struct autofs_sb_info *sbi = autofs_sbi(dentry->d_sb); in autofs_dir_open() 133 struct autofs_sb_info *sbi = autofs_sbi(de->d_sb); in autofs_dentry_release() 154 struct autofs_sb_info *sbi = autofs_sbi(dentry->d_sb); in autofs_lookup_active() 209 struct autofs_sb_info *sbi = autofs_sbi(dentry->d_sb); in autofs_lookup_expiring() 268 struct autofs_sb_info *sbi = autofs_sbi(path->dentry->d_sb); in autofs_mount_wait() 310 struct autofs_sb_info *sbi = autofs_sbi(dentry->d_sb); in autofs_mountpoint_changed() 335 struct autofs_sb_info *sbi = autofs_sbi(dentry->d_sb); in autofs_d_automount() 423 struct autofs_sb_info *sbi = autofs_sbi(dentry->d_sb); in autofs_d_manage()
|
D | autofs_i.h | 235 struct autofs_sb_info *sbi = autofs_sbi(dentry->d_sb); in __autofs_add_expiring() 246 struct autofs_sb_info *sbi = autofs_sbi(dentry->d_sb); in autofs_add_expiring() 259 struct autofs_sb_info *sbi = autofs_sbi(dentry->d_sb); in autofs_del_expiring()
|
D | dev-ioctl.c | 213 if (path.dentry->d_sb->s_magic == AUTOFS_SUPER_MAGIC) { in find_autofs_mount() 230 return path->dentry->d_sb->s_dev == *(dev_t *)p; in test_by_dev() 548 devid = new_encode_dev(path.dentry->d_sb->s_dev); in autofs_dev_ioctl_ismountpoint() 552 magic = path.dentry->d_sb->s_magic; in autofs_dev_ioctl_ismountpoint() 566 magic = path.dentry->d_sb->s_magic; in autofs_dev_ioctl_ismountpoint()
|
D | symlink.c | 20 sbi = autofs_sbi(dentry->d_sb); in autofs_get_link()
|
D | expire.c | 47 struct autofs_sb_info *sbi = autofs_sbi(path.dentry->d_sb); in autofs_mount_busy() 82 struct autofs_sb_info *sbi = autofs_sbi(root->d_sb); in get_next_positive_subdir() 129 struct autofs_sb_info *sbi = autofs_sbi(root->d_sb); in get_next_positive_dentry() 533 struct autofs_sb_info *sbi = autofs_sbi(dentry->d_sb); in autofs_expire_wait()
|
/Linux-v4.19/fs/cachefiles/ |
D | bind.c | 131 !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-v4.19/fs/9p/ |
D | fid.c | 146 fid = v9fs_fid_find(dentry->d_sb->s_root, uid, any); in v9fs_fid_lookup_with_uid() 162 v9fs_fid_add(dentry->d_sb->s_root, fid); in v9fs_fid_lookup_with_uid() 165 if (dentry->d_sb->s_root == dentry) in v9fs_fid_lookup_with_uid()
|
/Linux-v4.19/fs/debugfs/ |
D | inode.c | 151 struct debugfs_fs_info *fsi = root->d_sb->s_fs_info; in debugfs_show_options() 352 inode = debugfs_get_inode(dentry->d_sb); in __debugfs_create_file() 511 inode = debugfs_get_inode(dentry->d_sb); in debugfs_create_dir() 550 inode = debugfs_get_inode(dentry->d_sb); in debugfs_create_automount() 605 inode = debugfs_get_inode(dentry->d_sb); in debugfs_create_symlink()
|
/Linux-v4.19/fs/cifs/ |
D | xattr.c | 57 struct super_block *sb = dentry->d_sb; in cifs_xattr_set() 208 struct super_block *sb = dentry->d_sb; in cifs_xattr_get() 317 struct cifs_sb_info *cifs_sb = CIFS_SB(direntry->d_sb); in cifs_listxattr()
|
/Linux-v4.19/fs/ext2/ |
D | xattr_user.c | 17 return test_opt(dentry->d_sb, XATTR_USER); in ext2_xattr_user_list()
|
/Linux-v4.19/fs/ext4/ |
D | xattr_user.c | 18 return test_opt(dentry->d_sb, XATTR_USER); in ext4_xattr_user_list()
|
/Linux-v4.19/fs/reiserfs/ |
D | xattr_user.c | 34 return reiserfs_xattrs_user(dentry->d_sb); in user_list()
|
/Linux-v4.19/fs/ |
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()
|
D | dcache.c | 397 WARN_ON_ONCE(!list_lru_add(&dentry->d_sb->s_dentry_lru, &dentry->d_lru)); in d_lru_add() 405 WARN_ON_ONCE(!list_lru_del(&dentry->d_sb->s_dentry_lru, &dentry->d_lru)); in d_lru_del() 472 b = &dentry->d_sb->s_roots; in ___d_drop() 1518 dentry->d_sb->s_type->name, in umount_check() 1519 dentry->d_sb->s_id); in umount_check() 1656 dentry->d_sb = sb; in __d_alloc() 1664 d_set_d_op(dentry, dentry->d_sb->s_d_op); in __d_alloc() 1698 struct dentry *dentry = __d_alloc(parent->d_sb, name); in d_alloc() 1724 struct dentry *dentry = d_alloc_anon(parent->d_sb); in d_alloc_cursor() 1943 hlist_bl_lock(&dentry->d_sb->s_roots); in __d_instantiate_anon() [all …]
|
/Linux-v4.19/fs/nfs/ |
D | namespace.c | 234 .sb = dentry->d_sb, in nfs_do_submount() 251 mnt = nfs_do_clone_mount(NFS_SB(dentry->d_sb), devname, &mountdata); in nfs_do_submount()
|
/Linux-v4.19/security/tomoyo/ |
D | realpath.c | 151 struct super_block *sb = dentry->d_sb; in tomoyo_get_local_path() 260 sb = dentry->d_sb; in tomoyo_realpath_from_path()
|
/Linux-v4.19/fs/sysfs/ |
D | mount.c | 41 root->d_sb->s_iflags |= SB_I_USERNS_VISIBLE; in sysfs_mount()
|