Home
last modified time | relevance | path

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

/linux-4.4.14/fs/reiserfs/
Dxattr_user.c16 if (!reiserfs_xattrs_user(dentry->d_sb)) in user_get()
28 if (!reiserfs_xattrs_user(dentry->d_sb)) in user_set()
39 if (!reiserfs_xattrs_user(dentry->d_sb)) in user_list()
Dxattr.c212 reiserfs_error(dentry->d_sb, "xattr-20003", in fill_with_dentries()
776 handler = find_xattr_handler_prefix(dentry->d_sb->s_xattr, name); in reiserfs_getxattr()
795 handler = find_xattr_handler_prefix(dentry->d_sb->s_xattr, name); in reiserfs_setxattr()
812 handler = find_xattr_handler_prefix(dentry->d_sb->s_xattr, name); in reiserfs_removexattr()
840 handler = find_xattr_handler_prefix(b->dentry->d_sb->s_xattr, in listxattr_filler()
881 if (!dentry->d_sb->s_xattr || in reiserfs_listxattr()
914 reiserfs_warning(dentry->d_sb, "jdm-20006", in create_privroot()
922 reiserfs_info(dentry->d_sb, "Created %s - reserved for xattr " in create_privroot()
Dsuper.c678 struct super_block *s = root->d_sb; in reiserfs_show_options()
2200 struct reiserfs_super_block *rs = SB_DISK_SUPER_BLOCK(dentry->d_sb); in reiserfs_statfs()
2206 buf->f_bsize = dentry->d_sb->s_blocksize; in reiserfs_statfs()
2348 if (path->dentry->d_sb != sb) { in reiserfs_quota_on()
/linux-4.4.14/fs/ext4/
Dxattr_user.c22 if (!test_opt(dentry->d_sb, XATTR_USER)) in ext4_xattr_user_list()
40 if (!test_opt(dentry->d_sb, XATTR_USER)) in ext4_xattr_user_get()
53 if (!test_opt(dentry->d_sb, XATTR_USER)) in ext4_xattr_user_set()
Dsuper.c1893 return _ext4_show_options(seq, root->d_sb, 0); in ext4_show_options()
4796 struct super_block *sb = dentry->d_sb; in ext4_statfs()
4966 if (path->dentry->d_sb != sb) in ext4_quota_on()
/linux-4.4.14/fs/ext2/
Dxattr_user.c21 if (!test_opt(dentry->d_sb, XATTR_USER)) in ext2_xattr_user_list()
39 if (!test_opt(dentry->d_sb, XATTR_USER)) in ext2_xattr_user_get()
52 if (!test_opt(dentry->d_sb, XATTR_USER)) in ext2_xattr_user_set()
Dsuper.c225 struct super_block *sb = root->d_sb; in ext2_show_options()
1371 struct super_block *sb = dentry->d_sb; in ext2_statfs()
/linux-4.4.14/fs/ecryptfs/
Dsuper.c109 if (!lower_dentry->d_sb->s_op->statfs) in ecryptfs_statfs()
112 rc = lower_dentry->d_sb->s_op->statfs(lower_dentry, buf); in ecryptfs_statfs()
118 &ecryptfs_superblock_to_private(dentry->d_sb)->mount_crypt_stat); in ecryptfs_statfs()
148 struct super_block *sb = root->d_sb; in ecryptfs_show_options()
Dmain.c541 if (path.dentry->d_sb->s_type == &ecryptfs_fs_type) { in ecryptfs_mount()
558 ecryptfs_set_superblock_lower(s, path.dentry->d_sb); in ecryptfs_mount()
565 s->s_flags |= path.dentry->d_sb->s_flags & MS_POSIXACL; in ecryptfs_mount()
572 if (path.dentry->d_sb->s_flags & MS_RDONLY || in ecryptfs_mount()
576 s->s_maxbytes = path.dentry->d_sb->s_maxbytes; in ecryptfs_mount()
577 s->s_blocksize = path.dentry->d_sb->s_blocksize; in ecryptfs_mount()
579 s->s_stack_depth = path.dentry->d_sb->s_stack_depth + 1; in ecryptfs_mount()
Dinode.c417 ecryptfs_dentry->d_sb)->mount_crypt_stat; in ecryptfs_lookup()
670 rc = ecryptfs_decode_and_decrypt_filename(&buf, bufsiz, dentry->d_sb, in ecryptfs_readlink_lower()
915 dentry->d_sb)->mount_crypt_stat; in ecryptfs_setattr()
982 dentry->d_sb)->mount_crypt_stat; in ecryptfs_getattr_link()
Dcrypto.c1322 ecryptfs_dentry->d_sb)->mount_crypt_stat; in ecryptfs_read_headers_virt()
1432 ecryptfs_dentry->d_sb)->mount_crypt_stat; in ecryptfs_read_metadata()
Dkeystore.c2399 ecryptfs_dentry->d_sb)->mount_crypt_stat; in ecryptfs_generate_key_packet_set()
/linux-4.4.14/fs/hpfs/
Ddentry.c31 hash = partial_name_hash(hpfs_upcase(hpfs_sb(dentry->d_sb)->sb_cp_table,qstr->name[i]), hash); in hpfs_hash_dentry()
53 if (hpfs_compare_names(parent->d_sb, str, al, name->name, bl, 0)) in hpfs_compare_dentry()
Dsuper.c178 struct super_block *s = dentry->d_sb; in hpfs_statfs()
503 struct hpfs_sb_info *sbi = hpfs_sb(root->d_sb); in hpfs_show_options()
/linux-4.4.14/fs/autofs4/
Droot.c76 struct autofs_sb_info *sbi = autofs4_sbi(dentry->d_sb); in autofs4_add_active()
92 struct autofs_sb_info *sbi = autofs4_sbi(dentry->d_sb); in autofs4_del_active()
109 struct autofs_sb_info *sbi = autofs4_sbi(dentry->d_sb); in autofs4_dir_open()
139 struct autofs_sb_info *sbi = autofs4_sbi(de->d_sb); in autofs4_dentry_release()
160 struct autofs_sb_info *sbi = autofs4_sbi(dentry->d_sb); in autofs4_lookup_active()
215 struct autofs_sb_info *sbi = autofs4_sbi(dentry->d_sb); in autofs4_lookup_expiring()
274 struct autofs_sb_info *sbi = autofs4_sbi(dentry->d_sb); in autofs4_mount_wait()
314 struct autofs_sb_info *sbi = autofs4_sbi(dentry->d_sb); in autofs4_mountpoint_changed()
337 struct autofs_sb_info *sbi = autofs4_sbi(dentry->d_sb); in autofs4_d_automount()
424 struct autofs_sb_info *sbi = autofs4_sbi(dentry->d_sb); in autofs4_d_manage()
Dautofs_i.h243 struct autofs_sb_info *sbi = autofs4_sbi(dentry->d_sb); in __autofs4_add_expiring()
254 struct autofs_sb_info *sbi = autofs4_sbi(dentry->d_sb); in autofs4_add_expiring()
267 struct autofs_sb_info *sbi = autofs4_sbi(dentry->d_sb); in autofs4_del_expiring()
Ddev-ioctl.c205 if (path.dentry->d_sb->s_magic == AUTOFS_SUPER_MAGIC) { in find_autofs_mount()
222 return path->dentry->d_sb->s_dev == *(dev_t *)p; in test_by_dev()
547 devid = new_encode_dev(path.dentry->d_sb->s_dev); in autofs_dev_ioctl_ismountpoint()
551 magic = path.dentry->d_sb->s_magic; in autofs_dev_ioctl_ismountpoint()
565 magic = path.dentry->d_sb->s_magic; in autofs_dev_ioctl_ismountpoint()
Dsymlink.c17 struct autofs_sb_info *sbi = autofs4_sbi(dentry->d_sb); in autofs4_follow_link()
Dexpire.c52 struct autofs_sb_info *sbi = autofs4_sbi(path.dentry->d_sb); in autofs4_mount_busy()
79 struct autofs_sb_info *sbi = autofs4_sbi(root->d_sb); in get_next_positive_subdir()
126 struct autofs_sb_info *sbi = autofs4_sbi(root->d_sb); in get_next_positive_dentry()
492 struct autofs_sb_info *sbi = autofs4_sbi(dentry->d_sb); in autofs4_expire_wait()
Dinode.c73 struct autofs_sb_info *sbi = autofs4_sbi(root->d_sb); in autofs4_show_options()
74 struct inode *root_inode = d_inode(root->d_sb->s_root); in autofs4_show_options()
/linux-4.4.14/fs/cachefiles/
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 (root->d_sb->s_flags & MS_RDONLY) in cachefiles_daemon_add_cache()
219 fsdef->dentry->d_sb->s_id); in cachefiles_daemon_add_cache()
Dnamei.c658 if (object->dentry->d_sb->s_blocksize > PAGE_SIZE) in cachefiles_walk_to_object()
/linux-4.4.14/fs/proc/
Dself.c12 struct pid_namespace *ns = dentry->d_sb->s_fs_info; in proc_self_readlink()
23 struct pid_namespace *ns = dentry->d_sb->s_fs_info; in proc_self_follow_link()
Dthread_self.c12 struct pid_namespace *ns = dentry->d_sb->s_fs_info; in proc_thread_self_readlink()
24 struct pid_namespace *ns = dentry->d_sb->s_fs_info; in proc_thread_self_follow_link()
Dinode.c104 struct super_block *sb = root->d_sb; in proc_show_options()
Dbase.c1689 struct pid_namespace *pid = dentry->d_sb->s_fs_info; in pid_getattr()
2977 ns = dentry->d_sb->s_fs_info; in proc_pid_lookup()
3234 ns = dentry->d_sb->s_fs_info; in proc_task_lookup()
Dproc_sysctl.c632 inode = proc_sys_make_inode(dir->d_sb, head, table); in proc_sys_fill_cache()
/linux-4.4.14/fs/9p/
Dfid.c146 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()
Dv9fs.h176 return dentry->d_sb->s_fs_info; in v9fs_dentry2v9ses()
/linux-4.4.14/fs/debugfs/
Dinode.c152 struct debugfs_fs_info *fsi = root->d_sb->s_fs_info; in debugfs_show_options()
338 inode = debugfs_get_inode(dentry->d_sb); in debugfs_create_file()
417 inode = debugfs_get_inode(dentry->d_sb); in debugfs_create_dir()
456 inode = debugfs_get_inode(dentry->d_sb); in debugfs_create_automount()
507 inode = debugfs_get_inode(dentry->d_sb); in debugfs_create_symlink()
/linux-4.4.14/fs/overlayfs/
Dsuper.c101 struct ovl_fs *ofs = dentry->d_sb->s_fs_info; in ovl_path_upper()
183 struct ovl_fs *ofs = dentry->d_sb->s_fs_info; in ovl_want_write()
189 struct ovl_fs *ofs = dentry->d_sb->s_fs_info; in ovl_drop_write()
195 struct ovl_fs *ofs = dentry->d_sb->s_fs_info; in ovl_workdir()
542 inode = ovl_new_inode(dentry->d_sb, realdentry->d_inode->i_mode, in ovl_lookup()
602 struct ovl_fs *ofs = dentry->d_sb->s_fs_info; in ovl_statfs()
603 struct dentry *root_dentry = dentry->d_sb->s_root; in ovl_statfs()
626 struct super_block *sb = dentry->d_sb; in ovl_show_options()
Ddir.c147 stat->dev = dentry->d_sb->s_dev; in ovl_dir_getattr()
396 inode = ovl_new_inode(dentry->d_sb, mode, dentry->d_fsdata); in ovl_create_or_link()
/linux-4.4.14/fs/freevxfs/
Dvxfs_super.c111 struct vxfs_sb_info *infp = VXFS_SBI(dentry->d_sb); in vxfs_statfs()
114 bufp->f_bsize = dentry->d_sb->s_blocksize; in vxfs_statfs()
/linux-4.4.14/fs/
Dfhandle.c28 if (!path->dentry->d_sb->s_export_op || in do_sys_name_to_handle()
29 !path->dentry->d_sb->s_export_op->fh_to_dentry) in do_sys_name_to_handle()
Dstatfs.c53 if (!dentry->d_sb->s_op->statfs) in statfs_by_dentry()
60 retval = dentry->d_sb->s_op->statfs(dentry, buf); in statfs_by_dentry()
Ddcache.c395 WARN_ON_ONCE(!list_lru_add(&dentry->d_sb->s_dentry_lru, &dentry->d_lru)); in d_lru_add()
403 WARN_ON_ONCE(!list_lru_del(&dentry->d_sb->s_dentry_lru, &dentry->d_lru)); in d_lru_del()
478 b = &dentry->d_sb->s_anon; in __d_drop()
1423 dentry->d_sb->s_type->name, in umount_check()
1424 dentry->d_sb->s_id); in umount_check()
1592 dentry->d_sb = sb; in __d_alloc()
1600 d_set_d_op(dentry, dentry->d_sb->s_d_op); in __d_alloc()
1618 struct dentry *dentry = __d_alloc(parent->d_sb, name); in d_alloc()
1973 hlist_bl_lock(&tmp->d_sb->s_anon); in __d_obtain_alias()
1974 hlist_bl_add_head(&tmp->d_hash, &tmp->d_sb->s_anon); in __d_obtain_alias()
[all …]
Dproc_namespace.c100 struct super_block *sb = mnt_path.dentry->d_sb; in show_vfsmnt()
193 struct super_block *sb = mnt_path.dentry->d_sb; in show_vfsstat()
Dxattr.c720 handler = xattr_resolve_name(dentry->d_sb->s_xattr, &name); in generic_getxattr()
733 const struct xattr_handler *handler, **handlers = dentry->d_sb->s_xattr; in generic_listxattr()
767 handler = xattr_resolve_name(dentry->d_sb->s_xattr, &name); in generic_setxattr()
782 handler = xattr_resolve_name(dentry->d_sb->s_xattr, &name); in generic_removexattr()
Dbinfmt_misc.c640 root = dget(file->f_path.dentry->d_sb->s_root); in bm_entry_write()
669 struct super_block *sb = file->f_path.dentry->d_sb; in bm_register_write()
756 root = dget(file->f_path.dentry->d_sb->s_root); in bm_status_write()
Dsync.c162 sb = f.file->f_path.dentry->d_sb; in SYSCALL_DEFINE1()
Dlibfs.c35 buf->f_type = dentry->d_sb->s_magic; in simple_statfs()
65 if (!dentry->d_sb->s_d_op) in simple_lookup()
Dnamespace.c956 mnt->mnt.mnt_sb = root->d_sb; in vfs_kern_mount()
960 list_add_tail(&mnt->mnt_instance, &root->d_sb->s_mounts); in vfs_kern_mount()
1182 options = rcu_dereference(root->d_sb->s_options); in generic_show_options()
Dsuper.c1129 sb = root->d_sb; in mount_fs()
/linux-4.4.14/security/apparmor/include/
Dapparmor.h117 return !(dentry->d_sb->s_flags & MS_NOUSER); in mediated_filesystem()
/linux-4.4.14/fs/sysfs/
Dmount.c45 root->d_sb->s_iflags |= SB_I_NOEXEC; in sysfs_mount()
/linux-4.4.14/security/tomoyo/
Drealpath.c150 struct super_block *sb = dentry->d_sb; in tomoyo_get_local_path()
259 sb = dentry->d_sb; in tomoyo_realpath_from_path()
/linux-4.4.14/fs/nfs/
Dnamespace.c244 .sb = dentry->d_sb, in nfs_do_submount()
264 mnt = nfs_do_clone_mount(NFS_SB(dentry->d_sb), devname, &mountdata); in nfs_do_submount()
Dsuper.c435 struct nfs_server *server = NFS_SB(dentry->d_sb); in nfs_statfs()
467 buf->f_frsize = dentry->d_sb->s_blocksize; in nfs_statfs()
476 buf->f_bsize = dentry->d_sb->s_blocksize; in nfs_statfs()
477 blockbits = dentry->d_sb->s_blocksize_bits; in nfs_statfs()
723 struct nfs_server *nfss = NFS_SB(root->d_sb); in nfs_show_options()
810 struct nfs_server *nfss = NFS_SB(root->d_sb); in nfs_show_stats()
820 seq_puts(m, root->d_sb->s_flags & MS_RDONLY ? "ro" : "rw"); in nfs_show_stats()
821 seq_puts(m, root->d_sb->s_flags & MS_SYNCHRONOUS ? ",sync" : ""); in nfs_show_stats()
822 seq_puts(m, root->d_sb->s_flags & MS_NOATIME ? ",noatime" : ""); in nfs_show_stats()
823 seq_puts(m, root->d_sb->s_flags & MS_NODIRATIME ? ",nodiratime" : ""); in nfs_show_stats()
Dnfs4namespace.c301 .sb = dentry->d_sb, in nfs_follow_referral()
303 .authflavor = NFS_SB(dentry->d_sb)->client->cl_auth->au_flavor, in nfs_follow_referral()
Ddir.c494 if (!nfs_fsid_equal(&NFS_SB(dentry->d_sb)->fsid, in nfs_prime_dcache()
513 inode = nfs_fhget(dentry->d_sb, entry->fh, entry->fattr, entry->label); in nfs_prime_dcache()
1292 if (!(dentry->d_sb->s_flags & MS_ACTIVE)) { in nfs_dentry_delete()
1398 inode = nfs_fhget(dentry->d_sb, fhandle, fattr, label); in nfs_lookup()
1579 if (NFS_SB(dentry->d_sb)->caps & NFS_CAP_ATOMIC_OPEN_V1) in nfs4_lookup_revalidate()
1654 struct nfs_server *server = NFS_SB(dentry->d_sb); in nfs_instantiate()
1659 inode = nfs_fhget(dentry->d_sb, fhandle, fattr, label); in nfs_instantiate()
Dinode.c808 nfs_sb_active(dentry->d_sb); in alloc_nfs_open_context()
834 struct super_block *sb = ctx->dentry->d_sb; in __put_nfs_open_context()
Dnfs4trace.h411 __entry->dev = ctx->dentry->d_sb->s_dev;
Dwrite.c1721 req->wb_context->dentry->d_sb->s_id, in nfs_commit_release_pages()
Dnfs4proc.c1100 nfs_sb_active(dentry->d_sb); in nfs4_opendata_alloc()
1171 struct super_block *sb = p->dentry->d_sb; in nfs4_opendata_free()
1607 inode = nfs_fhget(data->dir->d_sb, &data->o_res.fh, &data->f_attr, data->f_label); in _nfs4_opendata_to_nfs4_state()
1679 NFS_SB(opendata->dentry->d_sb), in nfs4_open_recover_helper()
/linux-4.4.14/fs/configfs/
Dsymlink.c119 if (path->dentry->d_sb == sb) { in get_target()
161 ret = get_target(symname, &path, &target_item, dentry->d_sb); in configfs_symlink()
Dinode.c193 inode = configfs_new_inode(mode, sd, dentry->d_sb); in configfs_create()
Ddir.c1528 struct super_block *sb = dentry->d_sb; in configfs_readdir()
1801 struct dentry *root = dentry->d_sb->s_root; in configfs_unregister_subsystem()
/linux-4.4.14/drivers/oprofile/
Doprofilefs.c147 inode = oprofilefs_get_inode(root->d_sb, S_IFREG | perm); in __oprofilefs_create_file()
224 inode = oprofilefs_get_inode(parent->d_sb, S_IFDIR | 0755); in oprofilefs_mkdir()
/linux-4.4.14/fs/ocfs2/
Ddcache.c61 osb = OCFS2_SB(dentry->d_sb); in ocfs2_dentry_revalidate()
419 ocfs2_dentry_lock_put(OCFS2_SB(dentry->d_sb), dl); in ocfs2_dentry_iput()
Dsuper.c1518 struct ocfs2_super *osb = OCFS2_SB(root->d_sb); in ocfs2_show_options()
1685 trace_ocfs2_statfs(dentry->d_sb, buf); in ocfs2_statfs()
1687 osb = OCFS2_SB(dentry->d_sb); in ocfs2_statfs()
1710 buf->f_bsize = dentry->d_sb->s_blocksize; in ocfs2_statfs()
Dxattr.c1019 if (!ocfs2_supports_xattr(OCFS2_SB(dentry->d_sb))) in ocfs2_listxattr()
7378 struct ocfs2_super *osb = OCFS2_SB(dentry->d_sb); in ocfs2_xattr_user_list()
7395 struct ocfs2_super *osb = OCFS2_SB(dentry->d_sb); in ocfs2_xattr_user_get()
7409 struct ocfs2_super *osb = OCFS2_SB(dentry->d_sb); in ocfs2_xattr_user_set()
Ddlmglue.c2667 struct ocfs2_super *osb = OCFS2_SB(dentry->d_sb); in ocfs2_dentry_lock()
2691 struct ocfs2_super *osb = OCFS2_SB(dentry->d_sb); in ocfs2_dentry_unlock()
/linux-4.4.14/fs/tracefs/
Dinode.c246 struct tracefs_fs_info *fsi = root->d_sb->s_fs_info; in tracefs_show_options()
407 inode = tracefs_get_inode(dentry->d_sb); in tracefs_create_file()
428 inode = tracefs_get_inode(dentry->d_sb); in __create_dir()
/linux-4.4.14/fs/jfs/
Djfs_unicode.c117 struct nls_table *nls_tab = JFS_SBI(dentry->d_sb)->nls_tab; in get_UCSname()
Dsuper.c151 struct jfs_sb_info *sbi = JFS_SBI(dentry->d_sb); in jfs_statfs()
702 struct jfs_sb_info *sbi = JFS_SBI(root->d_sb); in jfs_show_options()
/linux-4.4.14/fs/f2fs/
Dxattr.c32 struct f2fs_sb_info *sbi = F2FS_SB(dentry->d_sb); in f2fs_xattr_generic_list()
64 struct f2fs_sb_info *sbi = F2FS_SB(dentry->d_sb); in f2fs_xattr_generic_get()
90 struct f2fs_sb_info *sbi = F2FS_SB(dentry->d_sb); in f2fs_xattr_generic_set()
Dsuper.c613 struct super_block *sb = dentry->d_sb; in f2fs_statfs()
641 struct f2fs_sb_info *sbi = F2FS_SB(root->d_sb); in f2fs_show_options()
/linux-4.4.14/fs/cifs/
Ddir.c89 struct cifs_sb_info *cifs_sb = CIFS_SB(direntry->d_sb); in build_path_from_dentry()
176 struct cifs_sb_info *cifs_sb = CIFS_SB(direntry->d_sb); in check_name()
854 struct nls_table *codepage = CIFS_SB(dentry->d_sb)->local_nls; in cifs_ci_hash()
875 struct nls_table *codepage = CIFS_SB(parent->d_sb)->local_nls; in cifs_ci_compare()
Dcifsfs.c183 struct super_block *sb = dentry->d_sb; in cifs_statfs()
395 struct cifs_sb_info *cifs_sb = CIFS_SB(root->d_sb); in cifs_show_options()
489 if (root->d_sb->s_flags & MS_POSIXACL) in cifs_show_options()
Dinode.c1609 struct cifs_sb_info *cifs_sb = CIFS_SB(from_dentry->d_sb);
1895 struct super_block *sb = dentry->d_sb;
1958 struct cifs_sb_info *cifs_sb = CIFS_SB(dentry->d_sb);
Dfile.c573 struct cifs_sb_info *cifs_sb = CIFS_SB(cfile->dentry->d_sb); in cifs_relock_file()
1215 struct cifs_sb_info *cifs_sb = CIFS_SB(cfile->dentry->d_sb); in cifs_push_locks()
1648 cifs_sb = CIFS_SB(dentry->d_sb); in cifs_write()
2202 struct cifs_sb_info *cifs_sb = CIFS_SB(cfile->dentry->d_sb); in cifs_write_end()
/linux-4.4.14/security/apparmor/
Dpath.c71 if (path->dentry->d_sb->s_magic == PROC_SUPER_MAGIC && in d_namespace_path()
/linux-4.4.14/fs/hfsplus/
Dunicode.c339 struct super_block *sb = dentry->d_sb; in hfsplus_hash_dentry()
391 struct super_block *sb = parent->d_sb; in hfsplus_compare_dentry()
Doptions.c218 struct hfsplus_sb_info *sbi = HFSPLUS_SB(root->d_sb); in hfsplus_show_options()
Dsuper.c308 struct super_block *sb = dentry->d_sb; in hfsplus_statfs()
/linux-4.4.14/security/selinux/
Dselinuxfs.c1236 inode = sel_make_inode(dir->d_sb, S_IFREG | S_IRUGO | S_IWUSR); in sel_make_bools()
1452 inode = sel_make_inode(dir->d_sb, S_IFREG|files[i].mode); in sel_make_avc_files()
1497 inode = sel_make_inode(dir->d_sb, S_IFREG|S_IRUGO); in sel_make_initcon_files()
1596 inode = sel_make_inode(dir->d_sb, S_IFREG|S_IRUGO); in sel_make_perm_files()
1624 inode = sel_make_inode(dir->d_sb, S_IFREG|S_IRUGO); in sel_make_class_dir_entries()
1698 inode = sel_make_inode(policycap_dir->d_sb, S_IFREG | S_IRUGO); in sel_make_policycap()
1719 inode = sel_make_inode(dir->d_sb, S_IFDIR | S_IRUGO | S_IXUGO); in sel_make_dir()
Dhooks.c2695 ad.u.dentry = dentry->d_sb->s_root; in selinux_sb_statfs()
2696 return superblock_has_perm(cred, dentry->d_sb, FILESYSTEM__GETATTR, &ad); in selinux_sb_statfs()
2708 return superblock_has_perm(cred, path->dentry->d_sb, in selinux_mount()
/linux-4.4.14/arch/powerpc/platforms/cell/spufs/
Dinode.c208 ret = spufs_new_file(dir->d_sb, dentry, files->ops, in spufs_fill_dir()
568 if (path->dentry->d_sb->s_type != &spufs_type) in spufs_create()
576 if (path->dentry != path->dentry->d_sb->s_root) in spufs_create()
/linux-4.4.14/fs/squashfs/
Dsuper.c355 struct squashfs_sb_info *msblk = dentry->d_sb->s_fs_info; in squashfs_statfs()
356 u64 id = huge_encode_dev(dentry->d_sb->s_bdev->bd_dev); in squashfs_statfs()
/linux-4.4.14/fs/hfs/
Dsuper.c97 struct super_block *sb = dentry->d_sb; in hfs_statfs()
136 struct hfs_sb_info *sbi = HFS_SB(root->d_sb); in hfs_show_options()
/linux-4.4.14/arch/s390/hypfs/
Dinode.c260 struct hypfs_sb_info *hypfs_info = root->d_sb->s_fs_info; in hypfs_show_options()
340 inode = hypfs_make_inode(parent->d_sb, mode); in hypfs_create_file()
/linux-4.4.14/fs/ceph/
Ddir.c222 ceph_translate_ino(dentry->d_sb, in __dcache_readdir()
555 struct ceph_fs_client *fsc = ceph_sb_to_client(dentry->d_sb); in ceph_handle_snapdir()
1246 mdsc = ceph_sb_to_client(dn->d_sb)->mdsc; in ceph_dentry_lru_add()
1260 mdsc = ceph_sb_to_client(dn->d_sb)->mdsc; in ceph_dentry_lru_touch()
1272 mdsc = ceph_sb_to_client(dn->d_sb)->mdsc; in ceph_dentry_lru_del()
Dxattr.c849 struct ceph_fs_client *fsc = ceph_sb_to_client(dentry->d_sb); in ceph_sync_setxattr()
914 struct ceph_mds_client *mdsc = ceph_sb_to_client(dentry->d_sb)->mdsc; in __ceph_setxattr()
1044 struct ceph_fs_client *fsc = ceph_sb_to_client(dentry->d_sb); in ceph_send_removexattr()
1072 struct ceph_mds_client *mdsc = ceph_sb_to_client(dentry->d_sb)->mdsc; in __ceph_removexattr()
Dexport.c180 return __get_parent(child->d_sb, child, 0); in ceph_get_parent()
Dinode.c1322 in = ceph_get_inode(req->r_dentry->d_sb, vino); in readdir_prepopulate_inodes_only()
1481 in = ceph_get_inode(parent->d_sb, vino); in ceph_readdir_prepopulate()
1777 struct ceph_mds_client *mdsc = ceph_sb_to_client(dentry->d_sb)->mdsc; in ceph_setattr()
Dsuper.c423 struct ceph_fs_client *fsc = ceph_sb_to_client(root->d_sb); in ceph_show_options()
/linux-4.4.14/drivers/misc/ibmasm/
Dibmasmfs.c165 inode = ibmasmfs_make_inode(parent->d_sb, S_IFREG | mode); in ibmasmfs_create_file()
188 inode = ibmasmfs_make_inode(parent->d_sb, S_IFDIR | 0500); in ibmasmfs_create_dir()
/linux-4.4.14/fs/romfs/
Dsuper.c417 struct super_block *sb = dentry->d_sb; in romfs_statfs()
425 (romfs_maxsize(dentry->d_sb) + ROMBSIZE - 1) >> ROMBSBITS; in romfs_statfs()
/linux-4.4.14/fs/afs/
Dmntpt.c197 super = AFS_FS_S(mntpt->d_sb); in afs_mntpt_do_automount()
Dsuper.c547 buf->f_type = dentry->d_sb->s_magic; in afs_statfs()
Ddir.c598 key = afs_request_key(AFS_FS_S(dentry->d_sb)->volume->cell); in afs_d_revalidate()
/linux-4.4.14/fs/btrfs/
Dsuper.c1120 struct btrfs_fs_info *info = btrfs_sb(dentry->d_sb); in btrfs_show_options()
1341 struct super_block *s = root->d_sb; in mount_subvol()
1966 struct btrfs_fs_info *fs_info = btrfs_sb(dentry->d_sb); in btrfs_statfs()
1973 int bits = dentry->d_sb->s_blocksize_bits; in btrfs_statfs()
2047 buf->f_bsize = dentry->d_sb->s_blocksize; in btrfs_statfs()
2141 struct btrfs_fs_info *fs_info = btrfs_sb(root->d_sb); in btrfs_show_devname()
/linux-4.4.14/fs/adfs/
Dsuper.c131 struct adfs_sb_info *asb = ADFS_SB(root->d_sb); in adfs_show_options()
222 struct super_block *sb = dentry->d_sb; in adfs_statfs()
Ddir.c196 const unsigned int name_len = ADFS_SB(parent->d_sb)->s_namelen; in adfs_hash()
/linux-4.4.14/fs/hostfs/
Dhostfs_kern.c90 root = dentry->d_sb->s_fs_info; in __dentry_name()
207 err = do_statfs(dentry->d_sb->s_fs_info, in hostfs_statfs()
259 const char *root_path = root->d_sb->s_fs_info; in hostfs_show_options()
/linux-4.4.14/fs/kernfs/
Ddir.c490 kernfs_info(dentry->d_sb)->ns != kn->ns) in kernfs_dop_revalidate()
524 if (dentry->d_sb->s_op == &kernfs_sops) in kernfs_node_from_dentry()
1444 ns = kernfs_info(dentry->d_sb)->ns; in kernfs_fop_readdir()
/linux-4.4.14/fs/fat/
Dnfs.c273 struct super_block *sb = child_dir->d_sb; in fat_get_parent()
Dnamei_msdos.c151 struct fat_mount_options *options = &MSDOS_SB(dentry->d_sb)->options; in msdos_hash()
168 struct fat_mount_options *options = &MSDOS_SB(parent->d_sb)->options; in msdos_cmp()
Dinode.c718 struct super_block *sb = dentry->d_sb; in fat_statfs()
724 int err = fat_count_free_clusters(dentry->d_sb); in fat_statfs()
729 buf->f_type = dentry->d_sb->s_magic; in fat_statfs()
837 struct msdos_sb_info *sbi = MSDOS_SB(root->d_sb); in fat_show_options()
Dnamei_vfat.c122 struct nls_table *t = MSDOS_SB(dentry->d_sb)->nls_io; in vfat_hashi()
144 struct nls_table *t = MSDOS_SB(parent->d_sb)->nls_io; in vfat_cmpi()
Dfile.c380 struct msdos_sb_info *sbi = MSDOS_SB(dentry->d_sb); in fat_setattr()
/linux-4.4.14/fs/qnx6/
Dinode.c48 struct super_block *sb = root->d_sb; in qnx6_show_options()
157 struct super_block *sb = dentry->d_sb; in qnx6_statfs()
/linux-4.4.14/fs/efs/
Dsuper.c333 struct super_block *sb = dentry->d_sb; in efs_statfs()
/linux-4.4.14/drivers/staging/rdma/ipath/
Dipath_fs.c359 ipath_super = ret->d_sb; in ipathfs_mount()
/linux-4.4.14/fs/jffs2/
Dsuper.c88 struct jffs2_sb_info *c = JFFS2_SB_INFO(root->d_sb); in jffs2_show_options()
Dfs.c209 struct jffs2_sb_info *c = JFFS2_SB_INFO(dentry->d_sb); in jffs2_statfs()
/linux-4.4.14/include/linux/
Ddcache.h122 struct super_block *d_sb; /* The root of the dentry tree */ member
/linux-4.4.14/net/unix/
Ddiag.c29 .udiag_vfs_dev = dentry->d_sb->s_dev, in sk_diag_dump_vfs()
/linux-4.4.14/fs/befs/
Dlinuxvfs.c469 struct super_block *sb = dentry->d_sb; in befs_follow_link()
889 struct super_block *sb = dentry->d_sb; in befs_statfs()
/linux-4.4.14/fs/minix/
Dinode.c358 struct super_block *sb = dentry->d_sb; in minix_statfs()
628 struct super_block *sb = dentry->d_sb; in minix_getattr()
/linux-4.4.14/fs/qnx4/
Dinode.c130 struct super_block *sb = dentry->d_sb; in qnx4_statfs()
/linux-4.4.14/fs/sysv/
Ddir.c363 res = fs16_to_cpu(SYSV_SB(dentry->d_sb), de->inode); in sysv_inode_by_name()
Dinode.c89 struct super_block *sb = dentry->d_sb; in sysv_statfs()
Ditree.c445 struct super_block *s = dentry->d_sb; in sysv_getattr()
/linux-4.4.14/init/
Ddo_mounts.c371 s = current->fs->pwd.dentry->d_sb; in do_mount_root()
/linux-4.4.14/fs/exportfs/
Dexpfs.c28 const struct export_operations *nop = dir->d_sb->s_export_op; in exportfs_get_name()
/linux-4.4.14/drivers/staging/lustre/lustre/llite/
Dnamei.c418 rc = ll_prep_inode(&inode, request, (*de)->d_sb, it); in ll_lookup_it_finish()
477 ll_open_cleanup((*de)->d_sb, request); in ll_lookup_it_finish()
Dllite_lib.c1454 struct super_block *sb = de->d_sb; in ll_statfs()
2183 sbi = ll_s2sbi(dentry->d_sb); in ll_show_options()
/linux-4.4.14/fs/ncpfs/
Dinode.c332 struct ncp_server *server = NCP_SBP(root->d_sb); in ncp_show_options()
807 struct super_block *sb = dentry->d_sb; in ncp_statfs()
Ddir.c136 struct super_block *sb = dentry->d_sb; in ncp_hash_dentry()
320 if (dentry == dentry->d_sb->s_root) in ncp_lookup_validate()
/linux-4.4.14/fs/cramfs/
Dinode.c351 struct super_block *sb = dentry->d_sb; in cramfs_statfs()
/linux-4.4.14/fs/bfs/
Dinode.c224 struct super_block *s = dentry->d_sb; in bfs_statfs()
/linux-4.4.14/drivers/infiniband/hw/qib/
Dqib_fs.c566 qib_super = ret->d_sb; in qibfs_mount()
/linux-4.4.14/fs/nfsd/
Dnfsfh.c424 return exp->ex_path.dentry == exp->ex_path.dentry->d_sb->s_root; in is_root_export()
Dnfsctl.c323 error = nlmsvc_unlock_all_by_sb(path.dentry->d_sb); in write_unlock_fs()
/linux-4.4.14/fs/devpts/
Dinode.c336 struct pts_fs_info *fsi = DEVPTS_SB(root->d_sb); in devpts_show_options()
/linux-4.4.14/fs/fuse/
Dinode.c410 struct super_block *sb = dentry->d_sb; in fuse_statfs()
554 struct super_block *sb = root->d_sb; in fuse_show_options()
/linux-4.4.14/fs/nilfs2/
Dsuper.c615 struct super_block *sb = dentry->d_sb; in nilfs_statfs()
685 struct super_block *sb = dentry->d_sb; in nilfs_show_options()
/linux-4.4.14/fs/omfs/
Dinode.c274 struct super_block *s = dentry->d_sb; in omfs_statfs()
/linux-4.4.14/fs/affs/
Dsuper.c579 struct super_block *sb = dentry->d_sb; in affs_statfs()
/linux-4.4.14/fs/logfs/
Dsuper.c99 struct super_block *sb = dentry->d_sb; in logfs_statfs()
/linux-4.4.14/fs/xfs/
Dxfs_super.c1049 struct xfs_mount *mp = XFS_M(dentry->d_sb); in xfs_fs_statfs()
1319 return xfs_showargs(XFS_M(root->d_sb), m); in xfs_fs_show_options()
/linux-4.4.14/fs/ufs/
Dsuper.c1339 struct ufs_sb_info *sbi = UFS_SB(root->d_sb); in ufs_show_options()
1359 struct super_block *sb = dentry->d_sb; in ufs_statfs()
/linux-4.4.14/fs/coda/
Dupcall.c559 error = coda_upcall(coda_vcp(dentry->d_sb), insize, &outsize, inp); in venus_statfs()
/linux-4.4.14/fs/exofs/
Dsuper.c885 struct super_block *sb = dentry->d_sb; in exofs_statfs()
/linux-4.4.14/fs/ubifs/
Dsuper.c398 struct ubifs_info *c = dentry->d_sb->s_fs_info; in ubifs_statfs()
425 struct ubifs_info *c = root->d_sb->s_fs_info; in ubifs_show_options()
/linux-4.4.14/fs/udf/
Dsuper.c337 struct super_block *sb = root->d_sb; in udf_show_options()
2336 struct super_block *sb = dentry->d_sb; in udf_statfs()
/linux-4.4.14/fs/hugetlbfs/
Dinode.c855 struct hugetlbfs_sb_info *sbinfo = HUGETLBFS_SB(dentry->d_sb); in hugetlbfs_statfs()
/linux-4.4.14/fs/isofs/
Dinode.c969 struct super_block *sb = dentry->d_sb; in isofs_statfs()
/linux-4.4.14/kernel/
Dcgroup.c2692 struct super_block *sb = of->file->f_path.dentry->d_sb; in cgroup_procs_write_permission()
4397 if (dentry->d_sb->s_type != &cgroup_fs_type || !kn || in cgroupstats_build()
5822 if (dentry->d_sb->s_type != &cgroup_fs_type || !kn || in css_tryget_online_from_dir()
/linux-4.4.14/fs/gfs2/
Dsuper.c1330 struct gfs2_sbd *sdp = root->d_sb->s_fs_info; in gfs2_show_options()
/linux-4.4.14/mm/
Dshmem.c2197 struct shmem_sb_info *sbinfo = SHMEM_SB(dentry->d_sb); in shmem_statfs()
2897 struct shmem_sb_info *sbinfo = SHMEM_SB(root->d_sb); in shmem_show_options()
/linux-4.4.14/fs/ntfs/
Dsuper.c2610 struct super_block *sb = dentry->d_sb; in ntfs_statfs()
Dinode.c2314 ntfs_volume *vol = NTFS_SB(root->d_sb); in ntfs_show_options()
/linux-4.4.14/fs/quota/
Ddquot.c2365 if (path->dentry->d_sb != sb) in dquot_quota_on()
/linux-4.4.14/security/smack/
Dsmack_lsm.c884 struct superblock_smack *sbp = dentry->d_sb->s_security; in smack_sb_statfs()
/linux-4.4.14/Documentation/filesystems/
Dvfs.txt996 ->d_sb may be used.