Home
last modified time | relevance | path

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

123456789

/OK3568_Linux_fs/kernel/fs/overlayfs/
H A Dinode.c81 old_cred = ovl_override_creds(dentry->d_sb); in ovl_setattr()
83 ovl_revert_creds(dentry->d_sb, old_cred); in ovl_setattr()
99 bool samefs = ovl_same_fs(dentry->d_sb); in ovl_map_dev_ino()
100 unsigned int xinobits = ovl_xino_bits(dentry->d_sb); in ovl_map_dev_ino()
109 stat->dev = dentry->d_sb->s_dev; in ovl_map_dev_ino()
123 stat->dev = dentry->d_sb->s_dev; in ovl_map_dev_ino()
125 } else if (ovl_xino_warn(dentry->d_sb)) { in ovl_map_dev_ino()
142 stat->dev = dentry->d_sb->s_dev; in ovl_map_dev_ino()
151 stat->dev = OVL_FS(dentry->d_sb)->fs[fsid].pseudo_dev; in ovl_map_dev_ino()
172 old_cred = ovl_override_creds(dentry->d_sb); in ovl_getattr()
[all …]
H A Dutil.c20 struct ovl_fs *ofs = dentry->d_sb->s_fs_info; in ovl_want_write()
26 struct ovl_fs *ofs = dentry->d_sb->s_fs_info; in ovl_drop_write()
32 struct ovl_fs *ofs = dentry->d_sb->s_fs_info; in ovl_workdir()
159 struct ovl_fs *ofs = dentry->d_sb->s_fs_info; in ovl_path_upper()
612 struct ovl_fs *ofs = dentry->d_sb->s_fs_info; in ovl_check_setxattr()
697 if (!lower || !ovl_indexdir(dentry->d_sb)) in ovl_need_index()
701 if (ovl_index_all(dentry->d_sb)) in ovl_need_index()
714 struct dentry *indexdir = ovl_indexdir(dentry->d_sb); in ovl_cleanup_index()
750 } else if (ovl_index_all(dentry->d_sb)) { in ovl_cleanup_index()
752 err = ovl_cleanup_and_whiteout(OVL_FS(dentry->d_sb), in ovl_cleanup_index()
[all …]
H A Dreaddir.c121 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()
289 ovl_revert_creds(rdd->dentry->d_sb, old_cred); 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()
509 dir->d_sb->s_dev != stat.dev); in ovl_cache_update_ino()
515 ovl_xino_warn(dir->d_sb)); in ovl_cache_update_ino()
597 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_cache_get_impure()
697 .xinobits = ovl_xino_bits(dir->d_sb), in ovl_iterate_real()
698 .xinowarn = ovl_xino_warn(dir->d_sb), in ovl_iterate_real()
[all …]
H A Dcopy_up.c284 uuid_t *uuid = &real->d_sb->s_uuid; in ovl_encode_real_fh()
343 if (ovl_can_decode_fh(lower->d_sb)) { in ovl_set_origin()
384 struct dentry *indexdir = ovl_indexdir(dentry->d_sb); in ovl_create_index()
415 err = ovl_set_upper_fh(OVL_FS(dentry->d_sb), upper, temp); in ovl_create_index()
491 struct ovl_fs *ofs = OVL_FS(c->dentry->d_sb); in ovl_copy_up_inode()
513 err = ovl_copy_xattr(c->dentry->d_sb, c->lowerpath.dentry, temp); in ovl_copy_up_inode()
704 struct ovl_fs *ofs = c->dentry->d_sb->s_fs_info; in ovl_do_copy_up()
716 c->workdir = ovl_indexdir(c->dentry->d_sb); in ovl_do_copy_up()
725 c->destdir = ovl_indexdir(c->dentry->d_sb); in ovl_do_copy_up()
776 struct ovl_fs *ofs = dentry->d_sb->s_fs_info; in ovl_need_meta_copy_up()
[all …]
H A Dnamei.c822 struct ovl_fs *ofs = dentry->d_sb->s_fs_info; in ovl_lookup()
824 struct ovl_entry *roe = dentry->d_sb->s_root->d_fsdata; in ovl_lookup()
838 .sb = dentry->d_sb, in ovl_lookup()
851 old_cred = ovl_override_creds(dentry->d_sb); in ovl_lookup()
945 ((d.is_dir && ovl_verify_lower(dentry->d_sb)) || in ovl_lookup()
1043 if (origin && ovl_indexdir(dentry->d_sb) && in ovl_lookup()
1044 (!d.is_dir || ovl_index_all(dentry->d_sb))) { in ovl_lookup()
1091 inode = ovl_get_inode(dentry->d_sb, &oip); in ovl_lookup()
1102 ovl_revert_creds(dentry->d_sb, old_cred); in ovl_lookup()
1129 ovl_revert_creds(dentry->d_sb, old_cred); in ovl_lookup()
[all …]
H A Ddir.c285 inode = ovl_get_inode(dentry->d_sb, &oip); in ovl_instantiate()
396 err = ovl_copy_xattr(dentry->d_sb, upper, opaquedir); in ovl_clear_empty()
577 old_cred = ovl_override_creds(dentry->d_sb); in ovl_create_or_link()
613 ovl_revert_creds(dentry->d_sb, old_cred ?: hold_cred); in ovl_create_or_link()
635 inode = ovl_new_inode(dentry->d_sb, mode, rdev); in ovl_create_object()
689 old_cred = ovl_override_creds(dentry->d_sb); in ovl_set_link_redirect()
691 ovl_revert_creds(dentry->d_sb, old_cred); in ovl_set_link_redirect()
748 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_remove_and_whiteout()
905 old_cred = ovl_override_creds(dentry->d_sb); in ovl_do_remove()
910 ovl_revert_creds(dentry->d_sb, old_cred); in ovl_do_remove()
[all …]
/OK3568_Linux_fs/kernel/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.c532 if (path.dentry->d_sb->s_type == &ecryptfs_fs_type) { in ecryptfs_mount()
549 ecryptfs_set_superblock_lower(s, path.dentry->d_sb); in ecryptfs_mount()
556 s->s_flags |= path.dentry->d_sb->s_flags & SB_POSIXACL; in ecryptfs_mount()
563 if (sb_rdonly(path.dentry->d_sb) || mount_crypt_stat->flags & ECRYPTFS_ENCRYPTED_VIEW_ENABLED) in ecryptfs_mount()
566 s->s_maxbytes = path.dentry->d_sb->s_maxbytes; in ecryptfs_mount()
567 s->s_blocksize = path.dentry->d_sb->s_blocksize; in ecryptfs_mount()
569 s->s_stack_depth = path.dentry->d_sb->s_stack_depth + 1; in ecryptfs_mount()
/OK3568_Linux_fs/kernel/fs/
H A Dfs_context.c253 fc->user_ns = get_user_ns(reference->d_sb->s_user_ns); in alloc_fs_context()
256 atomic_inc(&reference->d_sb->s_active); in alloc_fs_context()
257 fc->user_ns = get_user_ns(reference->d_sb->s_user_ns); in alloc_fs_context()
290 return alloc_fs_context(dentry->d_sb->s_type, dentry, sb_flags, in fs_context_for_reconfigure()
304 struct super_block *sb = fc->root->d_sb; in fc_drop_locked()
439 sb = fc->root->d_sb; in put_fs_context()
597 sb = root->d_sb; in legacy_get_tree()
610 struct super_block *sb = fc->root->d_sb; in legacy_reconfigure()
H A Ddcache.c404 WARN_ON_ONCE(!list_lru_add(&dentry->d_sb->s_dentry_lru, &dentry->d_lru)); in d_lru_add()
414 WARN_ON_ONCE(!list_lru_del(&dentry->d_sb->s_dentry_lru, &dentry->d_lru)); in d_lru_del()
485 b = &dentry->d_sb->s_roots; in ___d_drop()
1614 dentry->d_sb->s_type->name, in umount_check()
1615 dentry->d_sb->s_id); in umount_check()
1752 dentry->d_sb = sb; in __d_alloc()
1760 d_set_d_op(dentry, dentry->d_sb->s_d_op); in __d_alloc()
1788 struct dentry *dentry = __d_alloc(parent->d_sb, name); in d_alloc()
1813 struct dentry *dentry = d_alloc_anon(parent->d_sb); in d_alloc_cursor()
2044 hlist_bl_lock(&dentry->d_sb->s_roots); in __d_instantiate_anon()
[all …]
H A Dfhandle.c30 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()
/OK3568_Linux_fs/kernel/fs/cachefiles/
H A Dbind.c127 !root->d_sb->s_op->statfs || in cachefiles_daemon_add_cache()
128 !root->d_sb->s_op->sync_fs) in cachefiles_daemon_add_cache()
132 if (sb_rdonly(root->d_sb)) in cachefiles_daemon_add_cache()
215 fsdef->dentry->d_sb->s_id); in cachefiles_daemon_add_cache()
/OK3568_Linux_fs/kernel/fs/autofs/
H A Droot.c65 struct autofs_sb_info *sbi = autofs_sbi(dentry->d_sb); in autofs_del_active()
77 struct autofs_sb_info *sbi = autofs_sbi(dentry->d_sb); in autofs_dir_open()
107 struct autofs_sb_info *sbi = autofs_sbi(de->d_sb); in autofs_dentry_release()
128 struct autofs_sb_info *sbi = autofs_sbi(dentry->d_sb); in autofs_lookup_active()
183 struct autofs_sb_info *sbi = autofs_sbi(dentry->d_sb); in autofs_lookup_expiring()
242 struct autofs_sb_info *sbi = autofs_sbi(path->dentry->d_sb); in autofs_mount_wait()
287 struct autofs_sb_info *sbi = autofs_sbi(dentry->d_sb); in autofs_mountpoint_changed()
312 struct autofs_sb_info *sbi = autofs_sbi(dentry->d_sb); in autofs_d_automount()
400 struct autofs_sb_info *sbi = autofs_sbi(dentry->d_sb); in autofs_d_manage()
H A Dautofs_i.h240 struct autofs_sb_info *sbi = autofs_sbi(dentry->d_sb); in __autofs_add_expiring()
251 struct autofs_sb_info *sbi = autofs_sbi(dentry->d_sb); in autofs_add_expiring()
264 struct autofs_sb_info *sbi = autofs_sbi(dentry->d_sb); in autofs_del_expiring()
H A Ddev-ioctl.c195 if (path.dentry->d_sb->s_magic == AUTOFS_SUPER_MAGIC) { in find_autofs_mount()
212 return path->dentry->d_sb->s_dev == *(dev_t *)p; in test_by_dev()
530 devid = new_encode_dev(path.dentry->d_sb->s_dev); in autofs_dev_ioctl_ismountpoint()
534 magic = path.dentry->d_sb->s_magic; in autofs_dev_ioctl_ismountpoint()
548 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()
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()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/fs/jffs2/
H A Dsuper.c86 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()
/OK3568_Linux_fs/kernel/fs/9p/
H A Dfid.c131 fid = v9fs_fid_find(dentry->d_sb->s_root, uid, any); in v9fs_fid_lookup_with_uid()
147 v9fs_fid_add(dentry->d_sb->s_root, fid); in v9fs_fid_lookup_with_uid()
150 if (dentry->d_sb->s_root == dentry) in v9fs_fid_lookup_with_uid()
/OK3568_Linux_fs/kernel/fs/nfs/
H A Dsuper.c236 struct nfs_server *server = NFS_SB(dentry->d_sb); in nfs_statfs()
266 buf->f_frsize = dentry->d_sb->s_blocksize; in nfs_statfs()
275 buf->f_bsize = dentry->d_sb->s_blocksize; in nfs_statfs()
276 blockbits = dentry->d_sb->s_blocksize_bits; in nfs_statfs()
521 struct nfs_server *nfss = NFS_SB(root->d_sb); in nfs_show_options()
618 struct nfs_server *nfss = NFS_SB(root->d_sb); in nfs_show_stats()
628 seq_puts(m, sb_rdonly(root->d_sb) ? "ro" : "rw"); in nfs_show_stats()
629 seq_puts(m, root->d_sb->s_flags & SB_SYNCHRONOUS ? ",sync" : ""); in nfs_show_stats()
630 seq_puts(m, root->d_sb->s_flags & SB_NOATIME ? ",noatime" : ""); in nfs_show_stats()
631 seq_puts(m, root->d_sb->s_flags & SB_NODIRATIME ? ",nodiratime" : ""); in nfs_show_stats()
[all …]
/OK3568_Linux_fs/kernel/fs/debugfs/
H A Dinode.c182 struct debugfs_fs_info *fsi = root->d_sb->s_fs_info; in debugfs_show_options()
403 inode = debugfs_get_inode(dentry->d_sb); in __debugfs_create_file()
564 inode = debugfs_get_inode(dentry->d_sb); in debugfs_create_dir()
611 inode = debugfs_get_inode(dentry->d_sb); in debugfs_create_automount()
669 inode = debugfs_get_inode(dentry->d_sb); in debugfs_create_symlink()
/OK3568_Linux_fs/kernel/fs/cifs/
H A Ddir.c83 struct cifs_sb_info *cifs_sb = CIFS_SB(direntry->d_sb); in build_path_from_dentry()
100 struct cifs_sb_info *cifs_sb = CIFS_SB(direntry->d_sb); in build_path_from_dentry_optional_prefix()
203 struct cifs_sb_info *cifs_sb = CIFS_SB(direntry->d_sb); in check_name()
825 struct nls_table *codepage = CIFS_SB(dentry->d_sb)->local_nls; in cifs_ci_hash()
846 struct nls_table *codepage = CIFS_SB(dentry->d_sb)->local_nls; in cifs_ci_compare()
/OK3568_Linux_fs/kernel/fs/vboxsf/
H A Dutils.c124 struct vboxsf_sbi *sbi = VBOXSF_SBI(dentry->d_sb); in vboxsf_create_at_dentry()
162 struct vboxsf_sbi *sbi = VBOXSF_SBI(dentry->d_sb); in vboxsf_stat_dentry()
190 sbi = VBOXSF_SBI(dentry->d_sb); in vboxsf_inode_revalidate()
243 struct vboxsf_sbi *sbi = VBOXSF_SBI(dentry->d_sb); in vboxsf_setattr()
H A Dsuper.c286 struct super_block *sb = dentry->d_sb; in vboxsf_statfs()
407 struct vboxsf_sbi *sbi = VBOXSF_SBI(fc->root->d_sb); in vboxsf_reconfigure()
409 struct inode *iroot = fc->root->d_sb->s_root->d_inode; in vboxsf_reconfigure()
/OK3568_Linux_fs/kernel/security/tomoyo/
H A Drealpath.c156 struct super_block *sb = dentry->d_sb; in tomoyo_get_local_path()
247 sb = dentry->d_sb; in tomoyo_realpath_from_path()

123456789