Home
last modified time | relevance | path

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

123456789

/Linux-v5.10/fs/overlayfs/
Dinode.c81 old_cred = ovl_override_creds(dentry->d_sb); 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()
186 if (!is_dir || ovl_same_dev(dentry->d_sb)) { in ovl_getattr()
[all …]
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()
151 struct ovl_fs *ofs = dentry->d_sb->s_fs_info; in ovl_path_upper()
602 struct ovl_fs *ofs = dentry->d_sb->s_fs_info; in ovl_check_setxattr()
702 if (!lower || !ovl_indexdir(dentry->d_sb)) in ovl_need_index()
706 if (ovl_index_all(dentry->d_sb)) in ovl_need_index()
719 struct dentry *indexdir = ovl_indexdir(dentry->d_sb); in ovl_cleanup_index()
755 } else if (ovl_index_all(dentry->d_sb)) { in ovl_cleanup_index()
757 err = ovl_cleanup_and_whiteout(OVL_FS(dentry->d_sb), in ovl_cleanup_index()
[all …]
Dcopy_up.c283 uuid_t *uuid = &real->d_sb->s_uuid; in ovl_encode_real_fh()
342 if (ovl_can_decode_fh(lower->d_sb)) { in ovl_set_origin()
383 struct dentry *indexdir = ovl_indexdir(dentry->d_sb); in ovl_create_index()
414 err = ovl_set_upper_fh(OVL_FS(dentry->d_sb), upper, temp); in ovl_create_index()
490 struct ovl_fs *ofs = OVL_FS(c->dentry->d_sb); in ovl_copy_up_inode()
512 err = ovl_copy_xattr(c->dentry->d_sb, c->lowerpath.dentry, temp); in ovl_copy_up_inode()
703 struct ovl_fs *ofs = c->dentry->d_sb->s_fs_info; in ovl_do_copy_up()
715 c->workdir = ovl_indexdir(c->dentry->d_sb); in ovl_do_copy_up()
724 c->destdir = ovl_indexdir(c->dentry->d_sb); in ovl_do_copy_up()
775 struct ovl_fs *ofs = dentry->d_sb->s_fs_info; in ovl_need_meta_copy_up()
[all …]
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()
477 int xinobits = ovl_xino_bits(dir->d_sb); in ovl_cache_update_ino()
480 if (!ovl_same_dev(dir->d_sb)) in ovl_cache_update_ino()
521 dir->d_sb->s_dev != stat.dev); in ovl_cache_update_ino()
527 ovl_xino_warn(dir->d_sb)); in ovl_cache_update_ino()
609 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_cache_get_impure()
709 .xinobits = ovl_xino_bits(dir->d_sb), in ovl_iterate_real()
710 .xinowarn = ovl_xino_warn(dir->d_sb), in ovl_iterate_real()
725 WARN_ON_ONCE(dir->d_sb->s_dev != stat.dev); in ovl_iterate_real()
[all …]
Dnamei.c821 struct ovl_fs *ofs = dentry->d_sb->s_fs_info; in ovl_lookup()
823 struct ovl_entry *roe = dentry->d_sb->s_root->d_fsdata; in ovl_lookup()
837 .sb = dentry->d_sb, in ovl_lookup()
850 old_cred = ovl_override_creds(dentry->d_sb); in ovl_lookup()
943 ((d.is_dir && ovl_verify_lower(dentry->d_sb)) || in ovl_lookup()
1041 if (origin && ovl_indexdir(dentry->d_sb) && in ovl_lookup()
1042 (!d.is_dir || ovl_index_all(dentry->d_sb))) { in ovl_lookup()
1089 inode = ovl_get_inode(dentry->d_sb, &oip); in ovl_lookup()
1151 old_cred = ovl_override_creds(dentry->d_sb); in ovl_lower_positive()
Ddir.c286 inode = ovl_get_inode(dentry->d_sb, &oip); in ovl_instantiate()
397 err = ovl_copy_xattr(dentry->d_sb, upper, opaquedir); in ovl_clear_empty()
576 old_cred = ovl_override_creds(dentry->d_sb); in ovl_create_or_link()
631 inode = ovl_new_inode(dentry->d_sb, mode, rdev); in ovl_create_object()
685 old_cred = ovl_override_creds(dentry->d_sb); in ovl_set_link_redirect()
744 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_remove_and_whiteout()
901 old_cred = ovl_override_creds(dentry->d_sb); in ovl_do_remove()
951 return ovl_redirect_dir(dentry->d_sb) || in ovl_can_move()
1151 old_cred = ovl_override_creds(old->d_sb); in ovl_rename()
/Linux-v5.10/fs/ecryptfs/
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()
Dmain.c526 if (path.dentry->d_sb->s_type == &ecryptfs_fs_type) { in ecryptfs_mount()
543 ecryptfs_set_superblock_lower(s, path.dentry->d_sb); in ecryptfs_mount()
550 s->s_flags |= path.dentry->d_sb->s_flags & SB_POSIXACL; in ecryptfs_mount()
557 if (sb_rdonly(path.dentry->d_sb) || mount_crypt_stat->flags & ECRYPTFS_ENCRYPTED_VIEW_ENABLED) in ecryptfs_mount()
560 s->s_maxbytes = path.dentry->d_sb->s_maxbytes; in ecryptfs_mount()
561 s->s_blocksize = path.dentry->d_sb->s_blocksize; in ecryptfs_mount()
563 s->s_stack_depth = path.dentry->d_sb->s_stack_depth + 1; in ecryptfs_mount()
/Linux-v5.10/fs/hpfs/
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-v5.10/fs/
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()
/Linux-v5.10/fs/cachefiles/
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()
/Linux-v5.10/fs/autofs/
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()
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()
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()
Dsymlink.c17 sbi = autofs_sbi(dentry->d_sb); in autofs_get_link()
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()
/Linux-v5.10/fs/9p/
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()
/Linux-v5.10/fs/nfs/
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 …]
/Linux-v5.10/fs/jffs2/
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()
220 struct super_block *sb = fc->root->d_sb; in jffs2_reconfigure()
/Linux-v5.10/fs/debugfs/
Dinode.c182 struct debugfs_fs_info *fsi = root->d_sb->s_fs_info; in debugfs_show_options()
400 inode = debugfs_get_inode(dentry->d_sb); in __debugfs_create_file()
561 inode = debugfs_get_inode(dentry->d_sb); in debugfs_create_dir()
608 inode = debugfs_get_inode(dentry->d_sb); in debugfs_create_automount()
666 inode = debugfs_get_inode(dentry->d_sb); in debugfs_create_symlink()
/Linux-v5.10/fs/ext2/
Dxattr_user.c17 return test_opt(dentry->d_sb, XATTR_USER); in ext2_xattr_user_list()
/Linux-v5.10/fs/ext4/
Dxattr_hurd.c18 return test_opt(dentry->d_sb, XATTR_USER); in ext4_xattr_hurd_list()
Dxattr_user.c18 return test_opt(dentry->d_sb, XATTR_USER); in ext4_xattr_user_list()
/Linux-v5.10/fs/reiserfs/
Dxattr_user.c34 return reiserfs_xattrs_user(dentry->d_sb); in user_list()
/Linux-v5.10/fs/cifs/
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()
807 struct nls_table *codepage = CIFS_SB(dentry->d_sb)->local_nls; in cifs_ci_hash()
828 struct nls_table *codepage = CIFS_SB(dentry->d_sb)->local_nls; in cifs_ci_compare()

123456789