| /linux-6.15/fs/overlayfs/ |
| H A D | xattrs.c | 40 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_xattr_set() 48 old_cred = ovl_override_creds(dentry->d_sb); in ovl_xattr_set() 67 old_cred = ovl_override_creds(dentry->d_sb); in ovl_xattr_set() 92 old_cred = ovl_override_creds(dentry->d_sb); in ovl_xattr_get() 115 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_listxattr() 122 old_cred = ovl_override_creds(dentry->d_sb); in ovl_listxattr() 140 if (!ovl_can_list(dentry->d_sb, s)) { in ovl_listxattr() 143 } else if (ovl_is_escaped_xattr(dentry->d_sb, s)) { in ovl_listxattr()
|
| H A D | dir.c | 209 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_set_opaque_xerr() 259 inode = ovl_get_inode(dentry->d_sb, &oip); in ovl_instantiate() 299 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_create_upper() 337 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_clear_empty() 421 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_create_over_whiteout() 743 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_remove_and_whiteout() 797 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_remove_upper() 1037 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_set_redirect() 1085 struct ovl_fs *ofs = OVL_FS(old->d_sb); in ovl_rename() 1148 old_cred = ovl_override_creds(old->d_sb); in ovl_rename() [all …]
|
| H A D | util.c | 23 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_get_write_access() 30 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_start_write() 36 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_want_write() 42 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_put_write_access() 48 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_end_write() 54 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_drop_write() 60 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_workdir() 241 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_path_upper() 903 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_set_impure() 1056 if (ovl_index_all(dentry->d_sb)) in ovl_need_index() [all …]
|
| H A D | copy_up.c | 480 if (!ovl_can_decode_fh(origin->d_sb)) in ovl_get_origin_fh() 526 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_create_index() 601 struct ovl_fs *ofs = OVL_FS(c->dentry->d_sb); in ovl_link_up() 643 struct ovl_fs *ofs = OVL_FS(c->dentry->d_sb); in ovl_copy_up_data() 663 struct ovl_fs *ofs = OVL_FS(c->dentry->d_sb); in ovl_copy_up_metadata() 763 struct ovl_fs *ofs = OVL_FS(c->dentry->d_sb); in ovl_copy_up_workdir() 865 struct ovl_fs *ofs = OVL_FS(c->dentry->d_sb); in ovl_copy_up_tmpfile() 940 struct ovl_fs *ofs = OVL_FS(c->dentry->d_sb); in ovl_do_copy_up() 970 c->destdir = ovl_indexdir(c->dentry->d_sb); in ovl_do_copy_up() 1036 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_need_meta_copy_up() [all …]
|
| H A D | inode.c | 25 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_setattr() 81 old_cred = ovl_override_creds(dentry->d_sb); in ovl_setattr() 99 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_map_dev_ino() 110 stat->dev = dentry->d_sb->s_dev; in ovl_map_dev_ino() 124 stat->dev = dentry->d_sb->s_dev; in ovl_map_dev_ino() 143 stat->dev = dentry->d_sb->s_dev; in ovl_map_dev_ino() 172 old_cred = ovl_override_creds(dentry->d_sb); in ovl_getattr() 219 (!ovl_verify_lower(dentry->d_sb) && in ovl_getattr() 335 old_cred = ovl_override_creds(dentry->d_sb); in ovl_get_link() 485 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_set_or_remove_acl() [all …]
|
| H A D | namei.c | 399 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_lookup_data_layers() 879 *layer = &OVL_FS(dentry->d_sb)->layers[0]; in ovl_path_next() 922 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_maybe_validate_verity() 956 old_cred = ovl_override_creds(dentry->d_sb); in ovl_maybe_validate_verity() 994 old_cred = ovl_override_creds(dentry->d_sb); in ovl_maybe_lookup_lowerdata() 1032 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_lookup() 1049 .sb = dentry->d_sb, in ovl_lookup() 1062 old_cred = ovl_override_creds(dentry->d_sb); in ovl_lookup() 1267 if (origin && ovl_indexdir(dentry->d_sb) && in ovl_lookup() 1330 inode = ovl_get_inode(dentry->d_sb, &oip); in ovl_lookup() [all …]
|
| H A D | readdir.c | 123 if (ovl_xino_bits(OVL_FS(rdd->dentry->d_sb))) in ovl_calc_d_ino() 278 old_cred = ovl_override_creds(rdd->dentry->d_sb); in ovl_check_whiteouts() 473 struct ovl_fs *ofs = OVL_FS(dir->d_sb); in ovl_cache_update() 527 dir->d_sb->s_dev != stat.dev); in ovl_cache_update() 616 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_cache_get_impure() 712 struct ovl_fs *ofs = OVL_FS(dir->d_sb); in ovl_iterate_real() 733 WARN_ON_ONCE(dir->d_sb->s_dev != stat.dev); in ovl_iterate_real() 754 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_iterate() 759 old_cred = ovl_override_creds(dentry->d_sb); in ovl_iterate() 988 old_cred = ovl_override_creds(dentry->d_sb); in ovl_check_empty_dir()
|
| /linux-6.15/fs/ecryptfs/ |
| H A 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()
|
| H A D | main.c | 482 if (path.dentry->d_sb->s_type == &ecryptfs_fs_type) { in ecryptfs_get_tree() 506 ecryptfs_set_superblock_lower(s, path.dentry->d_sb); in ecryptfs_get_tree() 513 s->s_flags |= path.dentry->d_sb->s_flags & SB_POSIXACL; in ecryptfs_get_tree() 520 if (sb_rdonly(path.dentry->d_sb) || mount_crypt_stat->flags & ECRYPTFS_ENCRYPTED_VIEW_ENABLED) in ecryptfs_get_tree() 523 s->s_maxbytes = path.dentry->d_sb->s_maxbytes; in ecryptfs_get_tree() 524 s->s_blocksize = path.dentry->d_sb->s_blocksize; in ecryptfs_get_tree() 526 s->s_stack_depth = path.dentry->d_sb->s_stack_depth + 1; in ecryptfs_get_tree()
|
| /linux-6.15/fs/ |
| H A D | fs_context.c | 304 fc->user_ns = get_user_ns(reference->d_sb->s_user_ns); in alloc_fs_context() 307 atomic_inc(&reference->d_sb->s_active); in alloc_fs_context() 308 fc->user_ns = get_user_ns(reference->d_sb->s_user_ns); in alloc_fs_context() 341 return alloc_fs_context(dentry->d_sb->s_type, dentry, sb_flags, in fs_context_for_reconfigure() 364 ret = security_fs_context_submount(fc, reference->d_sb); in fs_context_for_submount() 376 struct super_block *sb = fc->root->d_sb; in fc_drop_locked() 513 sb = fc->root->d_sb; in put_fs_context() 667 sb = root->d_sb; in legacy_get_tree() 680 struct super_block *sb = fc->root->d_sb; in legacy_reconfigure()
|
| /linux-6.15/fs/hpfs/ |
| H A 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.15/fs/freevxfs/ |
| H A D | vxfs_super.c | 77 struct vxfs_sb_info *infp = VXFS_SBI(dentry->d_sb); in vxfs_statfs() 79 u64 id = huge_encode_dev(dentry->d_sb->s_bdev->bd_dev); in vxfs_statfs() 82 bufp->f_bsize = dentry->d_sb->s_blocksize; in vxfs_statfs() 96 sync_filesystem(fc->root->d_sb); in vxfs_reconfigure()
|
| /linux-6.15/fs/autofs/ |
| H A 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()
|
| H A D | autofs_i.h | 266 struct autofs_sb_info *sbi = autofs_sbi(dentry->d_sb); in __autofs_add_expiring() 277 struct autofs_sb_info *sbi = autofs_sbi(dentry->d_sb); in autofs_add_expiring() 290 struct autofs_sb_info *sbi = autofs_sbi(dentry->d_sb); in autofs_del_expiring()
|
| H A D | dev-ioctl.c | 201 if (path.dentry->d_sb->s_magic == AUTOFS_SUPER_MAGIC) { in find_autofs_mount() 218 return path->dentry->d_sb->s_dev == *(dev_t *)p; in test_by_dev() 614 devid = new_encode_dev(path.dentry->d_sb->s_dev); in autofs_dev_ioctl_ismountpoint() 618 magic = path.dentry->d_sb->s_magic; in autofs_dev_ioctl_ismountpoint() 632 magic = path.dentry->d_sb->s_magic; in autofs_dev_ioctl_ismountpoint()
|
| /linux-6.15/fs/jffs2/ |
| H A D | super.c | 87 struct jffs2_sb_info *c = JFFS2_SB_INFO(root->d_sb); in jffs2_show_options() 150 return d_obtain_alias(jffs2_iget(child->d_sb, pino)); in jffs2_get_parent() 220 struct jffs2_sb_info *c = JFFS2_SB_INFO(fc->root->d_sb); in jffs2_update_mount_opts() 236 struct super_block *sb = fc->root->d_sb; in jffs2_reconfigure()
|
| /linux-6.15/fs/adfs/ |
| H A D | super.c | 103 struct adfs_sb_info *asb = ADFS_SB(root->d_sb); in adfs_show_options() 165 struct adfs_sb_info *asb = ADFS_SB(fc->root->d_sb); in adfs_reconfigure() 167 sync_filesystem(fc->root->d_sb); in adfs_reconfigure() 178 struct super_block *sb = dentry->d_sb; in adfs_statfs() 445 struct super_block *sb = fc->root->d_sb; in adfs_init_fs_context()
|
| /linux-6.15/fs/smb/client/ |
| H A D | namespace.c | 122 struct cifs_sb_info *cifs_sb = CIFS_SB(dentry->d_sb); in is_dfs_mount() 135 struct cifs_sb_info *cifs_sb = CIFS_SB(dentry->d_sb); in automount_fullpath() 205 mntpt_sb = CIFS_SB(mntpt->d_sb); in cifs_do_automount()
|
| /linux-6.15/fs/cachefiles/ |
| H A D | cache.c | 67 !root->d_sb->s_op->statfs || in cachefiles_add_cache() 68 !root->d_sb->s_op->sync_fs || in cachefiles_add_cache() 69 root->d_sb->s_blocksize > PAGE_SIZE) in cachefiles_add_cache() 73 if (sb_rdonly(root->d_sb)) in cachefiles_add_cache()
|
| /linux-6.15/fs/nfs/ |
| H A D | super.c | 256 struct nfs_server *server = NFS_SB(dentry->d_sb); in nfs_statfs() 286 buf->f_frsize = dentry->d_sb->s_blocksize; in nfs_statfs() 295 buf->f_bsize = dentry->d_sb->s_blocksize; in nfs_statfs() 296 blockbits = dentry->d_sb->s_blocksize_bits; in nfs_statfs() 575 struct nfs_server *nfss = NFS_SB(root->d_sb); in nfs_show_options() 672 struct nfs_server *nfss = NFS_SB(root->d_sb); in nfs_show_stats() 682 seq_puts(m, sb_rdonly(root->d_sb) ? "ro" : "rw"); in nfs_show_stats() 683 seq_puts(m, root->d_sb->s_flags & SB_SYNCHRONOUS ? ",sync" : ""); in nfs_show_stats() 684 seq_puts(m, root->d_sb->s_flags & SB_NOATIME ? ",noatime" : ""); in nfs_show_stats() 685 seq_puts(m, root->d_sb->s_flags & SB_NODIRATIME ? ",nodiratime" : ""); in nfs_show_stats() [all …]
|
| H A 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.15/fs/9p/ |
| H A D | fid.c | 202 root_fid = v9fs_fid_find(dentry->d_sb->s_root, uid, any); in v9fs_fid_lookup_with_uid() 219 v9fs_fid_add(dentry->d_sb->s_root, &fid); in v9fs_fid_lookup_with_uid() 222 if (dentry->d_sb->s_root == dentry) in v9fs_fid_lookup_with_uid()
|
| /linux-6.15/fs/debugfs/ |
| H A D | inode.c | 182 struct super_block *sb = fc->root->d_sb; in debugfs_reconfigure() 197 struct debugfs_fs_info *fsi = root->d_sb->s_fs_info; in debugfs_show_options() 447 inode = debugfs_get_inode(dentry->d_sb); in __debugfs_create_file() 597 inode = debugfs_get_inode(dentry->d_sb); in debugfs_create_dir() 644 inode = debugfs_get_inode(dentry->d_sb); in debugfs_create_automount() 702 inode = debugfs_get_inode(dentry->d_sb); in debugfs_create_symlink()
|
| /linux-6.15/fs/devpts/ |
| H A D | inode.c | 323 struct pts_fs_info *fsi = DEVPTS_SB(fc->root->d_sb); in devpts_reconfigure() 352 struct pts_fs_info *fsi = DEVPTS_SB(root->d_sb); in devpts_show_options() 557 if (dentry->d_sb->s_magic != DEVPTS_SUPER_MAGIC) in devpts_get_priv() 570 WARN_ON_ONCE(dentry->d_sb->s_magic != DEVPTS_SUPER_MAGIC); in devpts_pty_kill()
|
| /linux-6.15/fs/squashfs/ |
| H A D | super.c | 493 struct super_block *sb = fc->root->d_sb; in squashfs_reconfigure() 497 sync_filesystem(fc->root->d_sb); in squashfs_reconfigure() 519 struct super_block *sb = root->d_sb; in squashfs_show_options() 568 struct squashfs_sb_info *msblk = dentry->d_sb->s_fs_info; in squashfs_statfs() 569 u64 id = huge_encode_dev(dentry->d_sb->s_bdev->bd_dev); in squashfs_statfs()
|