Home
last modified time | relevance | path

Searched refs:cifs_sb (Results 1 – 25 of 30) sorted by relevance

12

/linux/fs/cifs/
A Dinode.c387 cifs_sb->local_nls, cifs_remap(cifs_sb));
468 oparms.cifs_sb = cifs_sb;
570 cifs_sb);
1466 oparms.cifs_sb = cifs_sb;
1507 cifs_sb->local_nls,
1549 cifs_sb->local_nls, cifs_remap(cifs_sb));
1626 cifs_remap(cifs_sb));
1803 cifs_sb->local_nls, cifs_remap(cifs_sb));
1882 cifs_sb);
2043 oparms.cifs_sb = cifs_sb;
[all …]
A Dcifsfs.c261 if (cifs_sb->root) { in cifs_kill_sb()
262 dput(cifs_sb->root); in cifs_kill_sb()
662 if (cifs_sb->ctx->acdirmax == cifs_sb->ctx->acregmax) in cifs_show_options()
861 rc = cifs_mount(cifs_sb, cifs_sb->ctx); in cifs_smb3_do_mount()
871 mnt_data.cifs_sb = cifs_sb; in cifs_smb3_do_mount()
881 cifs_sb = NULL; in cifs_smb3_do_mount()
888 cifs_sb = NULL; in cifs_smb3_do_mount()
899 root = cifs_get_root(cifs_sb ? cifs_sb->ctx : old_ctx, sb); in cifs_smb3_do_mount()
903 if (cifs_sb) in cifs_smb3_do_mount()
912 if (cifs_sb) { in cifs_smb3_do_mount()
[all …]
A Dlink.c304 oparms.cifs_sb = cifs_sb; in cifs_query_mf_symlink()
346 oparms.cifs_sb = cifs_sb; in cifs_create_mf_symlink()
387 oparms.cifs_sb = cifs_sb; in smb3_query_mf_symlink()
453 oparms.cifs_sb = cifs_sb; in smb3_create_mf_symlink()
512 tlink = cifs_sb_tlink(cifs_sb); in cifs_hardlink()
534 cifs_sb->local_nls, in cifs_hardlink()
535 cifs_remap(cifs_sb)); in cifs_hardlink()
543 cifs_sb); in cifs_hardlink()
613 tlink = cifs_sb_tlink(cifs_sb); in cifs_get_link()
706 cifs_sb->local_nls, in cifs_symlink()
[all …]
A Dfs_context.c785 ctx->field = cifs_sb->ctx->field; \
786 cifs_sb->ctx->field = NULL; \
806 STEAL_STRING(cifs_sb, ctx, UNC); in smb3_reconfigure()
807 STEAL_STRING(cifs_sb, ctx, source); in smb3_reconfigure()
808 STEAL_STRING(cifs_sb, ctx, username); in smb3_reconfigure()
809 STEAL_STRING(cifs_sb, ctx, password); in smb3_reconfigure()
812 STEAL_STRING(cifs_sb, ctx, nodename); in smb3_reconfigure()
817 ctx->rsize = cifs_sb->ctx->rsize; in smb3_reconfigure()
819 ctx->wsize = cifs_sb->ctx->wsize; in smb3_reconfigure()
824 smb3_update_mnt_flags(cifs_sb); in smb3_reconfigure()
[all …]
A Dreaddir.c233 struct cifs_sb_info *cifs_sb) in cifs_posix_to_fattr() argument
299 struct cifs_sb_info *cifs_sb) in cifs_dir_info_to_fattr() argument
383 tlink = cifs_sb_tlink(cifs_sb); in _initiate_cifs_search()
431 if (backup_cred(cifs_sb)) in _initiate_cifs_search()
779 if (backup_cred(cifs_sb)) in find_cifs_entry()
875 map_type = cifs_remap(cifs_sb); in cifs_filldir()
892 cifs_sb); in cifs_filldir()
897 cifs_sb); in cifs_filldir()
902 cifs_sb); in cifs_filldir()
907 cifs_sb); in cifs_filldir()
[all …]
A Dconnect.c2865 if (cifs_sb) in reset_cifs_unix_caps()
2874 if (cifs_sb) in reset_cifs_unix_caps()
2985 struct cifs_sb_info *cifs_sb = mnt_ctx->cifs_sb; in mount_get_conns() local
3171 struct cifs_sb_info *cifs_sb = mnt_ctx->cifs_sb; in expand_dfs_referral() local
3303 struct cifs_sb_info *cifs_sb = mnt_ctx->cifs_sb; in is_path_remote() local
3359 struct cifs_sb_info *cifs_sb = mnt_ctx->cifs_sb; in is_dfs_mount() local
3392 struct cifs_sb_info *cifs_sb = mnt_ctx->cifs_sb; in connect_dfs_target() local
3424 struct cifs_sb_info *cifs_sb = mnt_ctx->cifs_sb; in connect_dfs_root() local
3468 struct cifs_sb_info *cifs_sb = mnt_ctx->cifs_sb; in __follow_dfs_link() local
3512 struct cifs_sb_info *cifs_sb = mnt_ctx->cifs_sb; in follow_dfs_link() local
[all …]
A Dxattr.c106 tlink = cifs_sb_tlink(cifs_sb); in cifs_xattr_set()
156 cifs_sb->local_nls, cifs_sb); in cifs_xattr_set()
209 ACL_TYPE_ACCESS, cifs_sb->local_nls, in cifs_xattr_set()
210 cifs_remap(cifs_sb)); in cifs_xattr_set()
222 cifs_remap(cifs_sb)); in cifs_xattr_set()
293 tlink = cifs_sb_tlink(cifs_sb); in cifs_xattr_get()
371 cifs_sb->local_nls, in cifs_xattr_get()
372 cifs_remap(cifs_sb)); in cifs_xattr_get()
381 cifs_sb->local_nls, in cifs_xattr_get()
382 cifs_remap(cifs_sb)); in cifs_xattr_get()
[all …]
A Ddir.c62 full_path[dfsplen] = CIFS_DIR_SEP(cifs_sb); in cifs_build_path_to_root()
88 char dirsep = CIFS_DIR_SEP(cifs_sb); in build_path_from_dentry_optional_prefix()
100 pplen = cifs_sb->prepath ? strlen(cifs_sb->prepath) + 1 : 0; in build_path_from_dentry_optional_prefix()
112 memcpy(s + 1, cifs_sb->prepath, pplen - 1); in build_path_from_dentry_optional_prefix()
304 oparms.cifs_sb = cifs_sb; in cifs_do_create()
571 struct cifs_sb_info *cifs_sb; in cifs_mknod() local
580 cifs_sb = CIFS_SB(inode->i_sb); in cifs_mknod()
584 tlink = cifs_sb_tlink(cifs_sb); in cifs_mknod()
615 struct cifs_sb_info *cifs_sb; in cifs_lookup() local
630 cifs_sb = CIFS_SB(parent_dir_inode->i_sb); in cifs_lookup()
[all …]
A Dsmb1ops.c532 cifs_sb->local_nls, cifs_remap(cifs_sb)); in cifs_is_path_accessible()
548 cifs_sb->local_nls, cifs_remap(cifs_sb)); in cifs_query_path_info()
556 cifs_sb->local_nls, in cifs_query_path_info()
557 cifs_remap(cifs_sb)); in cifs_query_path_info()
568 oparms.cifs_sb = cifs_sb; in cifs_query_path_info()
692 cifs_sb); in cifs_mkdir_setinfo()
787 cifs_sb); in smb_set_file_info()
796 oparms.cifs_sb = cifs_sb; in smb_set_file_info()
971 oparms.cifs_sb = cifs_sb; in cifs_query_symlink()
985 cifs_sb->local_nls); in cifs_query_symlink()
[all …]
A Dsmb2inode.c55 struct cifs_sb_info *cifs_sb, const char *full_path, in smb2_compound_op() argument
109 vars->oparms.cifs_sb = cifs_sb; in smb2_compound_op()
615 struct cifs_sb_info *cifs_sb) in smb2_mkdir() argument
617 return smb2_compound_op(xid, tcon, cifs_sb, name, in smb2_mkdir()
649 struct cifs_sb_info *cifs_sb) in smb2_rmdir() argument
658 struct cifs_sb_info *cifs_sb) in smb2_unlink() argument
690 struct cifs_sb_info *cifs_sb) in smb2_rename_path() argument
697 cifs_sb, DELETE, SMB2_OP_RENAME, cfile); in smb2_rename_path()
703 struct cifs_sb_info *cifs_sb) in smb2_create_hardlink() argument
713 struct cifs_sb_info *cifs_sb, bool set_alloc) in smb2_set_path_size() argument
[all …]
A Dcifsproto.h74 struct cifs_sb_info *cifs_sb,
192 struct cifs_sb_info *cifs_sb);
349 struct cifs_sb_info *cifs_sb,
368 struct cifs_sb_info *cifs_sb);
417 struct cifs_sb_info *cifs_sb);
424 struct cifs_sb_info *cifs_sb);
525 struct cifs_sb_info *cifs_sb);
543 struct cifs_sb_info *cifs_sb,
573 struct cifs_sb_info *cifs_sb,
577 struct cifs_sb_info *cifs_sb,
[all …]
A Dsmb2proto.h30 struct cifs_sb_info *cifs_sb);
59 struct cifs_sb_info *cifs_sb,
70 struct cifs_sb_info *cifs_sb, const char *path,
73 struct cifs_sb_info *cifs_sb,
78 struct cifs_sb_info *cifs_sb, bool set_alloc);
84 struct cifs_sb_info *cifs_sb);
89 struct cifs_sb_info *cifs_sb,
97 struct cifs_sb_info *cifs_sb);
100 struct cifs_sb_info *cifs_sb);
105 struct cifs_sb_info *cifs_sb,
[all …]
A Dcifsacl.c341 kuid_t fuid = cifs_sb->ctx->linux_uid; in sid_to_id()
342 kgid_t fgid = cifs_sb->ctx->linux_gid; in sid_to_id()
1386 struct tcon_link *tlink = cifs_sb_tlink(cifs_sb); in get_cifs_acl_by_fid()
1412 struct tcon_link *tlink = cifs_sb_tlink(cifs_sb); in get_cifs_acl_by_path()
1423 oparms.cifs_sb = cifs_sb; in get_cifs_acl_by_path()
1472 struct cifs_sb_info *cifs_sb = CIFS_SB(inode->i_sb); in set_cifs_acl() local
1473 struct tcon_link *tlink = cifs_sb_tlink(cifs_sb); in set_cifs_acl()
1489 oparms.cifs_sb = cifs_sb; in set_cifs_acl()
1522 struct tcon_link *tlink = cifs_sb_tlink(cifs_sb); in cifs_acl_to_fattr()
1574 struct cifs_sb_info *cifs_sb = CIFS_SB(inode->i_sb); in id_mode_to_cifs_acl() local
[all …]
A Dmisc.c519 if (cifs_sb->master_tlink) in cifs_autodisable_serverino()
520 tcon = cifs_sb_master_tcon(cifs_sb); in cifs_autodisable_serverino()
621 backup_cred(struct cifs_sb_info *cifs_sb) in backup_cred() argument
628 if (in_group_p(cifs_sb->ctx->backupgid)) in backup_cred()
1194 struct cifs_sb_info *cifs_sb; in tcp_super_cb() local
1200 cifs_sb = CIFS_SB(sb); in tcp_super_cb()
1201 tcon = cifs_sb_master_tcon(cifs_sb); in tcp_super_cb()
1291 kfree(cifs_sb->prepath); in cifs_update_super_prepath()
1295 if (!cifs_sb->prepath) in cifs_update_super_prepath()
1298 convert_delimiter(cifs_sb->prepath, CIFS_DIR_SEP(cifs_sb)); in cifs_update_super_prepath()
[all …]
A Dfile.c121 tlink = cifs_sb_tlink(cifs_sb); in cifs_posix_open()
133 cifs_remap(cifs_sb)); in cifs_posix_open()
223 oparms.cifs_sb = cifs_sb; in cifs_nt_open()
520 struct cifs_sb_info *cifs_sb; in cifs_open() local
700 struct cifs_sb_info *cifs_sb; in cifs_reopen_file() local
785 oparms.cifs_sb = cifs_sb; in cifs_reopen_file()
1804 struct cifs_sb_info *cifs_sb; in cifs_flock() local
1820 cifs_sb = CIFS_FILE_SB(file); in cifs_flock()
1850 struct cifs_sb_info *cifs_sb; in cifs_lock() local
1867 cifs_sb = CIFS_FILE_SB(file); in cifs_lock()
[all …]
A Dcifs_dfs_ref.c273 struct cifs_sb_info *cifs_sb, in cifs_dfs_do_mount() argument
291 mountdata = cifs_compose_mount_options(cifs_sb->ctx->mount_options, in cifs_dfs_do_mount()
309 struct cifs_sb_info *cifs_sb; in cifs_dfs_do_automount() local
323 cifs_sb = CIFS_SB(mntpt->d_sb); in cifs_dfs_do_automount()
324 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_DFS) { in cifs_dfs_do_automount()
340 mnt = cifs_dfs_do_mount(mntpt, cifs_sb, full_path); in cifs_dfs_do_automount()
A Dioctl.c30 struct cifs_sb_info *cifs_sb = CIFS_SB(inode->i_sb); in cifs_ioctl_query_info() local
31 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in cifs_ioctl_query_info()
50 utf16_path = cifs_convert_path_to_utf16(path + 1, cifs_sb); in cifs_ioctl_query_info()
59 xid, tcon, cifs_sb, utf16_path, in cifs_ioctl_query_info()
322 struct cifs_sb_info *cifs_sb; in cifs_ioctl() local
476 cifs_sb = CIFS_SB(inode->i_sb); in cifs_ioctl()
477 tlink = cifs_sb_tlink(cifs_sb); in cifs_ioctl()
A Dsmb2ops.c745 struct cifs_sb_info *cifs_sb, in open_cached_dir() argument
767 if (cifs_sb->root == NULL) in open_cached_dir()
773 dentry = cifs_sb->root; in open_cached_dir()
957 struct cifs_sb_info *cifs_sb) in smb3_qfs_tcon() argument
1236 struct cifs_sb_info *cifs_sb) in smb2_set_ea() argument
1277 cifs_sb); in smb2_set_ea()
2640 struct cifs_sb_info *cifs_sb) in smb2_query_info_compound() argument
3015 plen, target_path, cifs_sb); in parse_reparse_point()
3019 plen, target_path, cifs_sb); in parse_reparse_point()
3156 cifs_sb); in smb2_query_symlink()
[all …]
A Dfscache.c132 struct cifs_sb_info *cifs_sb = CIFS_SB(inode->i_sb); in cifs_fscache_enable_inode_cookie() local
133 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in cifs_fscache_enable_inode_cookie()
138 if (!(cifs_sb->mnt_cifs_flags & CIFS_MOUNT_FSCACHE)) in cifs_fscache_enable_inode_cookie()
194 struct cifs_sb_info *cifs_sb = CIFS_SB(inode->i_sb); in cifs_fscache_reset_inode_cookie() local
195 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in cifs_fscache_reset_inode_cookie()
A Dcifsglob.h300 struct cifs_sb_info *cifs_sb, const char *path,
325 struct cifs_sb_info *cifs_sb);
486 struct cifs_sb_info *cifs_sb,
559 struct cifs_sb_info *cifs_sb; member
1148 extern struct tcon_link *cifs_sb_tlink(struct cifs_sb_info *cifs_sb);
1158 cifs_sb_master_tlink(struct cifs_sb_info *cifs_sb) in cifs_sb_master_tlink() argument
1160 return cifs_sb->master_tlink; in cifs_sb_master_tlink()
1174 extern struct cifs_tcon *cifs_sb_master_tcon(struct cifs_sb_info *cifs_sb);
1230 struct cifs_sb_info *cifs_sb; member
1470 static inline char CIFS_DIR_SEP(const struct cifs_sb_info *cifs_sb) in CIFS_DIR_SEP() argument
[all …]
A Dsmb2misc.c444 cifs_convert_path_to_utf16(const char *from, struct cifs_sb_info *cifs_sb) in cifs_convert_path_to_utf16() argument
451 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MAP_SFM_CHR) in cifs_convert_path_to_utf16()
453 else if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MAP_SPECIAL_CHR) in cifs_convert_path_to_utf16()
463 else if (cifs_sb_master_tlink(cifs_sb) && in cifs_convert_path_to_utf16()
464 cifs_sb_master_tcon(cifs_sb)->posix_extensions && in cifs_convert_path_to_utf16()
471 cifs_sb->local_nls, map_type); in cifs_convert_path_to_utf16()
A Dcifssmb.c815 int remap = cifs_remap(cifs_sb); in CIFSSMBDelFile()
859 int remap = cifs_remap(cifs_sb); in CIFSSMBRmDir()
903 int remap = cifs_remap(cifs_sb); in CIFSSMBMkDir()
1217 struct cifs_sb_info *cifs_sb = oparms->cifs_sb; in CIFS_open() local
1219 int remap = cifs_remap(cifs_sb); in CIFS_open()
2588 int remap = cifs_remap(cifs_sb); in CIFSSMBRename()
2969 int remap = cifs_remap(cifs_sb); in CIFSCreateHardLink()
4345 remap = cifs_remap(cifs_sb); in CIFSFindFirst()
5711 oparms.cifs_sb = cifs_sb; in CIFSSMBSetPathInfoFB()
5808 nls_codepage, cifs_sb); in CIFSSMBSetPathInfo()
[all …]
A Dcifs_unicode.c16 int cifs_remap(struct cifs_sb_info *cifs_sb) in cifs_remap() argument
20 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MAP_SFM_CHR) in cifs_remap()
22 else if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MAP_SPECIAL_CHR) in cifs_remap()
A Ddfs_cache.c1444 int dfs_cache_remount_fs(struct cifs_sb_info *cifs_sb) in dfs_cache_remount_fs() argument
1452 if (!cifs_sb || !cifs_sb->master_tlink) in dfs_cache_remount_fs()
1455 tcon = cifs_sb_master_tcon(cifs_sb); in dfs_cache_remount_fs()
1463 if (uuid_is_null(&cifs_sb->dfs_mount_id)) { in dfs_cache_remount_fs()
1469 mg = find_mount_group_locked(&cifs_sb->dfs_mount_id); in dfs_cache_remount_fs()
1486 cifs_autodisable_serverino(cifs_sb); in dfs_cache_remount_fs()
1491 cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_USE_PREFIX_PATH; in dfs_cache_remount_fs()
A Ddfs_cache.h49 int dfs_cache_remount_fs(struct cifs_sb_info *cifs_sb);

Completed in 106 milliseconds

12