Home
last modified time | relevance | path

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

1234567

/linux/fs/overlayfs/
H A Dxattrs.c40 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 Ddir.c238 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_set_opaque_xerr()
287 inode = ovl_get_inode(dentry->d_sb, &oip); in ovl_instantiate()
327 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()
449 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_create_over_whiteout()
587 old_cred = ovl_override_creds(dentry->d_sb); in ovl_create_or_link()
648 inode = ovl_new_inode(dentry->d_sb, mode, rdev); in ovl_create_object()
703 old_cred = ovl_override_creds(dentry->d_sb); in ovl_set_link_redirect()
757 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_remove_and_whiteout()
[all …]
H A Dnamei.c401 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_lookup_data_layers()
881 *layer = &OVL_FS(dentry->d_sb)->layers[0]; in ovl_path_next()
924 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_maybe_validate_verity()
958 old_cred = ovl_override_creds(dentry->d_sb); in ovl_maybe_validate_verity()
996 old_cred = ovl_override_creds(dentry->d_sb); in ovl_maybe_lookup_lowerdata()
1034 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_lookup()
1036 struct ovl_entry *roe = OVL_E(dentry->d_sb->s_root); in ovl_lookup()
1051 .sb = dentry->d_sb, in ovl_lookup()
1064 old_cred = ovl_override_creds(dentry->d_sb); in ovl_lookup()
1160 ((d.is_dir && ovl_verify_lower(dentry->d_sb)) || in ovl_lookup()
[all …]
H A Dreaddir.c123 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/fs/ecryptfs/
H 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()
H A Dmain.c518 if (path.dentry->d_sb->s_type == &ecryptfs_fs_type) { in ecryptfs_mount()
541 ecryptfs_set_superblock_lower(s, path.dentry->d_sb); in ecryptfs_mount()
548 s->s_flags |= path.dentry->d_sb->s_flags & SB_POSIXACL; in ecryptfs_mount()
555 if (sb_rdonly(path.dentry->d_sb) || mount_crypt_stat->flags & ECRYPTFS_ENCRYPTED_VIEW_ENABLED) in ecryptfs_mount()
558 s->s_maxbytes = path.dentry->d_sb->s_maxbytes; in ecryptfs_mount()
559 s->s_blocksize = path.dentry->d_sb->s_blocksize; in ecryptfs_mount()
561 s->s_stack_depth = path.dentry->d_sb->s_stack_depth + 1; in ecryptfs_mount()
/linux/fs/
H A Dfs_context.c304 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/fs/freevxfs/
H A Dvxfs_super.c77 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/fs/hpfs/
H 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/autofs/
H A Droot.c69 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 Dautofs_i.h264 struct autofs_sb_info *sbi = autofs_sbi(dentry->d_sb); in __autofs_add_expiring()
275 struct autofs_sb_info *sbi = autofs_sbi(dentry->d_sb); in autofs_add_expiring()
288 struct autofs_sb_info *sbi = autofs_sbi(dentry->d_sb); in autofs_del_expiring()
H A Ddev-ioctl.c202 if (path.dentry->d_sb->s_magic == AUTOFS_SUPER_MAGIC) { in find_autofs_mount()
219 return path->dentry->d_sb->s_dev == *(dev_t *)p; in test_by_dev()
618 devid = new_encode_dev(path.dentry->d_sb->s_dev); in autofs_dev_ioctl_ismountpoint()
622 magic = path.dentry->d_sb->s_magic; in autofs_dev_ioctl_ismountpoint()
636 magic = path.dentry->d_sb->s_magic; in autofs_dev_ioctl_ismountpoint()
H A Dexpire.c44 struct autofs_sb_info *sbi = autofs_sbi(path.dentry->d_sb); in autofs_mount_busy()
97 struct autofs_sb_info *sbi = autofs_sbi(root->d_sb); in get_next_positive_subdir()
115 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()
H A Dsymlink.c17 sbi = autofs_sbi(dentry->d_sb); in autofs_get_link()
/linux/fs/nfs/
H A Dsuper.c255 struct nfs_server *server = NFS_SB(dentry->d_sb); in nfs_statfs()
285 buf->f_frsize = dentry->d_sb->s_blocksize; in nfs_statfs()
294 buf->f_bsize = dentry->d_sb->s_blocksize; in nfs_statfs()
295 blockbits = dentry->d_sb->s_blocksize_bits; in nfs_statfs()
570 struct nfs_server *nfss = NFS_SB(root->d_sb); in nfs_show_options()
667 struct nfs_server *nfss = NFS_SB(root->d_sb); in nfs_show_stats()
677 seq_puts(m, sb_rdonly(root->d_sb) ? "ro" : "rw"); in nfs_show_stats()
678 seq_puts(m, root->d_sb->s_flags & SB_SYNCHRONOUS ? ",sync" : ""); in nfs_show_stats()
679 seq_puts(m, root->d_sb->s_flags & SB_NOATIME ? ",noatime" : ""); in nfs_show_stats()
680 seq_puts(m, root->d_sb->s_flags & SB_NODIRATIME ? ",nodiratime" : ""); in nfs_show_stats()
[all …]
H A Dnamespace.c150 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/fs/cachefiles/
H A Dcache.c67 !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/fs/debugfs/
H A Dinode.c182 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()
433 inode = debugfs_get_inode(dentry->d_sb); in __debugfs_create_file()
604 inode = debugfs_get_inode(dentry->d_sb); in debugfs_create_dir()
661 inode = debugfs_get_inode(dentry->d_sb); in debugfs_create_automount()
720 inode = debugfs_get_inode(dentry->d_sb); in debugfs_create_symlink()
/linux/fs/9p/
H A Dfid.c203 root_fid = v9fs_fid_find(dentry->d_sb->s_root, uid, any); in v9fs_fid_lookup_with_uid()
220 v9fs_fid_add(dentry->d_sb->s_root, &fid); in v9fs_fid_lookup_with_uid()
223 if (dentry->d_sb->s_root == dentry) in v9fs_fid_lookup_with_uid()
/linux/fs/squashfs/
H A Dsuper.c490 struct super_block *sb = fc->root->d_sb; in squashfs_reconfigure()
494 sync_filesystem(fc->root->d_sb); in squashfs_reconfigure()
516 struct super_block *sb = root->d_sb; in squashfs_show_options()
565 struct squashfs_sb_info *msblk = dentry->d_sb->s_fs_info; in squashfs_statfs()
566 u64 id = huge_encode_dev(dentry->d_sb->s_bdev->bd_dev); in squashfs_statfs()
/linux/fs/smb/client/
H A Ddir.c73 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()
140 struct cifs_sb_info *cifs_sb = CIFS_SB(direntry->d_sb); in build_path_from_dentry_optional_prefix()
155 struct cifs_sb_info *cifs_sb = CIFS_SB(direntry->d_sb); in check_name()
829 struct nls_table *codepage = CIFS_SB(dentry->d_sb)->local_nls;
850 struct nls_table *codepage = CIFS_SB(dentry->d_sb)->local_nls;
/linux/security/tomoyo/
H A Drealpath.c156 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/fs/efivarfs/
H A Dsuper.c49 struct super_block *sb = root->d_sb; in efivarfs_show_options()
68 u64 id = huge_encode_dev(dentry->d_sb->s_dev); in efivarfs_statfs()
91 buf->f_type = dentry->d_sb->s_magic; in efivarfs_statfs()
/linux/fs/vboxsf/
H A Dutils.c141 struct vboxsf_sbi *sbi = VBOXSF_SBI(dentry->d_sb); in vboxsf_create_at_dentry()
179 struct vboxsf_sbi *sbi = VBOXSF_SBI(dentry->d_sb); in vboxsf_stat_dentry()
207 sbi = VBOXSF_SBI(dentry->d_sb); in vboxsf_inode_revalidate()
264 struct vboxsf_sbi *sbi = VBOXSF_SBI(dentry->d_sb); in vboxsf_setattr()
H A Dsuper.c279 struct super_block *sb = dentry->d_sb; in vboxsf_statfs()
399 struct vboxsf_sbi *sbi = VBOXSF_SBI(fc->root->d_sb); in vboxsf_reconfigure()
401 struct inode *iroot = fc->root->d_sb->s_root->d_inode; in vboxsf_reconfigure()

1234567