Home
last modified time | relevance | path

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

12

/openbmc/linux/fs/smb/client/
H A Dinode.c437 cifs_sb->local_nls, cifs_remap(cifs_sb)); in cifs_get_unix_fattr()
463 cifs_sb, full_path, in cifs_get_unix_fattr()
541 .cifs_sb = cifs_sb, in cifs_sfu_type()
647 cifs_sb); in cifs_sfu_mode()
1634 .cifs_sb = cifs_sb, in cifs_rename_pending_delete()
1717 cifs_sb->local_nls, cifs_remap(cifs_sb)); in cifs_rename_pending_delete()
1796 cifs_remap(cifs_sb)); in cifs_unlink()
1987 cifs_sb->local_nls, cifs_remap(cifs_sb));
2067 cifs_sb);
2236 .cifs_sb = cifs_sb,
[all …]
H A Dcifsfs.c294 if (cifs_sb->root) { in cifs_kill_sb()
298 dput(cifs_sb->root); in cifs_kill_sb()
723 if (cifs_sb->ctx->acdirmax == cifs_sb->ctx->acregmax) in cifs_show_options()
923 cifs_sb = kzalloc(sizeof(*cifs_sb), GFP_KERNEL); in cifs_smb3_do_mount()
924 if (!cifs_sb) in cifs_smb3_do_mount()
944 rc = cifs_mount(cifs_sb, cifs_sb->ctx); in cifs_smb3_do_mount()
954 mnt_data.cifs_sb = cifs_sb; in cifs_smb3_do_mount()
969 cifs_sb = NULL; in cifs_smb3_do_mount()
980 root = cifs_get_root(cifs_sb ? cifs_sb->ctx : old_ctx, sb); in cifs_smb3_do_mount()
984 if (cifs_sb) in cifs_smb3_do_mount()
[all …]
H A Dlink.c264 .cifs_sb = cifs_sb, in cifs_query_mf_symlink()
307 .cifs_sb = cifs_sb, in cifs_create_mf_symlink()
350 .cifs_sb = cifs_sb, in smb3_query_mf_symlink()
418 .cifs_sb = cifs_sb, in smb3_create_mf_symlink()
479 tlink = cifs_sb_tlink(cifs_sb);
502 cifs_sb->local_nls,
503 cifs_remap(cifs_sb));
514 from_name, to_name, cifs_sb);
588 tlink = cifs_sb_tlink(cifs_sb);
611 cifs_sb->local_nls,
[all …]
H A Dfs_context.c880 ctx->field = cifs_sb->ctx->field; \
881 cifs_sb->ctx->field = NULL; \
888 cifs_sb->ctx->field = NULL; \
913 STEAL_STRING(cifs_sb, ctx, UNC); in smb3_reconfigure()
914 STEAL_STRING(cifs_sb, ctx, source); in smb3_reconfigure()
915 STEAL_STRING(cifs_sb, ctx, username); in smb3_reconfigure()
932 STEAL_STRING(cifs_sb, ctx, nodename); in smb3_reconfigure()
937 ctx->rsize = cifs_sb->ctx->rsize; in smb3_reconfigure()
939 ctx->wsize = cifs_sb->ctx->wsize; in smb3_reconfigure()
944 smb3_update_mnt_flags(cifs_sb); in smb3_reconfigure()
[all …]
H A Ddfs.c103 struct cifs_sb_info *cifs_sb = mnt_ctx->cifs_sb; in set_ref_paths() local
113 ref_path = dfs_get_path(cifs_sb, ctx->UNC); in set_ref_paths()
215 struct cifs_sb_info *cifs_sb = mnt_ctx->cifs_sb; in __dfs_mount_share() local
354 npath = dfs_cache_canonical_path(refpath, cifs_sb->local_nls, cifs_remap(cifs_sb)); in update_server_fullpath()
395 struct cifs_sb_info *cifs_sb, in __tree_connect_ipc() argument
420 cifs_sb->local_nls); in __tree_connect_ipc()
433 struct cifs_sb_info *cifs_sb, in tree_connect_ipc() argument
499 if (dfs_cache_find(xid, root_ses, cifs_sb->local_nls, cifs_remap(cifs_sb), target, in __tree_connect_dfs_target()
558 struct cifs_sb_info *cifs_sb = NULL; in cifs_tree_connect() local
600 cifs_sb = CIFS_SB(sb); in cifs_tree_connect()
[all …]
H A Dreaddir.c226 struct cifs_sb_info *cifs_sb) in cifs_posix_to_fattr() argument
289 struct cifs_sb_info *cifs_sb) in cifs_dir_info_to_fattr() argument
343 tlink = cifs_sb_tlink(cifs_sb); in _initiate_cifs_search()
391 if (backup_cred(cifs_sb)) in _initiate_cifs_search()
736 if (backup_cred(cifs_sb)) in find_cifs_entry()
947 map_type = cifs_remap(cifs_sb); in cifs_filldir()
964 cifs_sb); in cifs_filldir()
969 cifs_sb); in cifs_filldir()
976 cifs_sb); in cifs_filldir()
985 cifs_sb); in cifs_filldir()
[all …]
H A Dreparse.h28 static inline kuid_t wsl_make_kuid(struct cifs_sb_info *cifs_sb, in wsl_make_kuid() argument
33 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_OVERR_UID) in wsl_make_kuid()
34 return cifs_sb->ctx->linux_uid; in wsl_make_kuid()
38 static inline kgid_t wsl_make_kgid(struct cifs_sb_info *cifs_sb, in wsl_make_kgid() argument
43 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_OVERR_GID) in wsl_make_kgid()
44 return cifs_sb->ctx->linux_gid; in wsl_make_kgid()
109 bool cifs_reparse_point_to_fattr(struct cifs_sb_info *cifs_sb,
118 int smb2_parse_reparse_point(struct cifs_sb_info *cifs_sb, struct kvec *rsp_iov,
H A Ddir.c63 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()
317 .cifs_sb = cifs_sb,
603 struct cifs_sb_info *cifs_sb; local
612 cifs_sb = CIFS_SB(inode->i_sb);
616 tlink = cifs_sb_tlink(cifs_sb);
654 struct cifs_sb_info *cifs_sb; local
669 cifs_sb = CIFS_SB(parent_dir_inode->i_sb);
[all …]
H A Dsmb1ops.c536 cifs_remap(cifs_sb)); in cifs_is_path_accessible()
540 cifs_sb->local_nls, cifs_remap(cifs_sb)); in cifs_is_path_accessible()
559 cifs_remap(cifs_sb)); in cifs_query_path_info()
567 cifs_remap(cifs_sb)); in cifs_query_path_info()
584 .cifs_sb = cifs_sb, in cifs_query_path_info()
619 cifs_sb->local_nls, in cifs_get_srv_inum()
718 cifs_sb); in cifs_mkdir_setinfo()
822 cifs_sb); in smb_set_file_info()
832 .cifs_sb = cifs_sb, in smb_set_file_info()
989 cifs_sb->local_nls, cifs_remap(cifs_sb)); in cifs_query_symlink()
[all …]
H A Dsmb2inode.c830 struct cifs_sb_info *cifs_sb, in parse_create_response() argument
861 struct cifs_sb_info *cifs_sb, in smb2_query_path_info() argument
891 cifs_sb, false, &cfid); in smb2_query_path_info()
986 struct cifs_sb_info *cifs_sb) in smb2_mkdir() argument
1029 struct cifs_sb_info *cifs_sb) in smb2_rmdir() argument
1066 struct cifs_sb_info *cifs_sb, in smb2_set_path_attr() argument
1097 struct cifs_sb_info *cifs_sb) in smb2_rename_path() argument
1121 struct cifs_sb_info *cifs_sb) in smb2_create_hardlink() argument
1126 cifs_sb, co, FILE_READ_ATTRIBUTES, in smb2_create_hardlink()
1180 tlink = cifs_sb_tlink(cifs_sb); in smb2_set_file_info()
[all …]
H A Dreparse.c34 char *sym, sep = CIFS_DIR_SEP(cifs_sb); in smb2_create_reparse_symlink()
110 char sep = CIFS_DIR_SEP(cifs_sb); in detect_directory_symlink_target()
159 tlink = cifs_sb_tlink(cifs_sb); in detect_directory_symlink_target()
475 struct cifs_sb_info *cifs_sb, in parse_reparse_posix() argument
505 cifs_sb->local_nls); in parse_reparse_posix()
537 struct cifs_sb_info *cifs_sb, in parse_reparse_symlink() argument
554 cifs_sb->local_nls); in parse_reparse_symlink()
565 u32 plen, struct cifs_sb_info *cifs_sb, in parse_reparse_point() argument
576 cifs_sb, data); in parse_reparse_point()
580 plen, unicode, cifs_sb, data); in parse_reparse_point()
[all …]
H A Dsmb2proto.h30 struct cifs_sb_info *cifs_sb);
57 struct cifs_sb_info *cifs_sb, const char *path,
69 struct cifs_sb_info *cifs_sb,
75 struct cifs_sb_info *cifs_sb,
87 struct cifs_sb_info *cifs_sb);
92 struct cifs_sb_info *cifs_sb,
103 struct cifs_sb_info *cifs_sb);
108 struct cifs_sb_info *cifs_sb);
113 struct cifs_sb_info *cifs_sb,
305 struct cifs_sb_info *cifs_sb);
[all …]
H A Dconnect.c2869 cifs_sb = CIFS_SB(sb); in cifs_match_super()
3248 if (cifs_sb) in reset_cifs_unix_caps()
3257 if (cifs_sb) in reset_cifs_unix_caps()
3420 !mnt_ctx->cifs_sb)) { in cifs_mount_get_tcon()
3426 cifs_sb = mnt_ctx->cifs_sb; in cifs_mount_get_tcon()
3482 cifs_sb->ctx->wsize = in cifs_mount_get_tcon()
3591 struct cifs_sb_info *cifs_sb = mnt_ctx->cifs_sb; in cifs_is_path_remote() local
3634 struct cifs_mount_ctx mnt_ctx = { .cifs_sb = cifs_sb, .fs_ctx = ctx, }; in cifs_mount()
3675 struct cifs_mount_ctx mnt_ctx = { .cifs_sb = cifs_sb, .fs_ctx = ctx, }; in cifs_mount()
3864 kfree(cifs_sb); in delayed_free()
[all …]
H A Dxattr.c100 struct cifs_sb_info *cifs_sb = CIFS_SB(sb); in cifs_xattr_set() local
106 tlink = cifs_sb_tlink(cifs_sb); in cifs_xattr_set()
150 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_XATTR) in cifs_xattr_set()
156 cifs_sb->local_nls, cifs_sb); in cifs_xattr_set()
268 struct cifs_sb_info *cifs_sb = CIFS_SB(sb); in cifs_xattr_get() local
274 tlink = cifs_sb_tlink(cifs_sb); in cifs_xattr_get()
307 full_path, name, value, size, cifs_sb); in cifs_xattr_get()
328 pacl = pTcon->ses->server->ops->get_acl(cifs_sb, in cifs_xattr_get()
373 if (unlikely(cifs_forced_shutdown(cifs_sb))) in cifs_listxattr()
379 tlink = cifs_sb_tlink(cifs_sb); in cifs_listxattr()
[all …]
H A Dcifsproto.h78 struct cifs_sb_info *cifs_sb,
378 struct cifs_sb_info *cifs_sb,
397 struct cifs_sb_info *cifs_sb);
449 struct cifs_sb_info *cifs_sb);
474 struct cifs_sb_info *cifs_sb,
569 struct cifs_sb_info *cifs_sb);
612 struct cifs_sb_info *cifs_sb,
616 struct cifs_sb_info *cifs_sb,
702 struct cifs_sb_info *cifs_sb,
708 struct cifs_sb_info *cifs_sb, in cifs_inval_name_dfs_link_error() argument
[all …]
H A Ddfs.h123 static inline char *dfs_get_path(struct cifs_sb_info *cifs_sb, const char *path) in dfs_get_path() argument
125 return dfs_cache_canonical_path(path, cifs_sb->local_nls, cifs_remap(cifs_sb)); in dfs_get_path()
132 struct cifs_sb_info *cifs_sb = mnt_ctx->cifs_sb; in dfs_get_referral() local
135 return dfs_cache_find(mnt_ctx->xid, rses, cifs_sb->local_nls, in dfs_get_referral()
136 cifs_remap(cifs_sb), path, ref, tl); in dfs_get_referral()
H A Dcifsacl.c1433 .cifs_sb = cifs_sb, in get_cifs_acl_by_path()
1500 .cifs_sb = cifs_sb, in set_cifs_acl()
1693 tlink = cifs_sb_tlink(cifs_sb); in cifs_get_acl()
1713 cifs_sb->local_nls, in cifs_get_acl()
1714 cifs_remap(cifs_sb)); in cifs_get_acl()
1721 cifs_sb->local_nls, in cifs_get_acl()
1722 cifs_remap(cifs_sb)); in cifs_get_acl()
1790 cifs_sb->local_nls, in cifs_set_acl()
1791 cifs_remap(cifs_sb)); in cifs_set_acl()
1798 cifs_sb->local_nls, in cifs_set_acl()
[all …]
H A Dmisc.c546 if (cifs_sb->master_tlink) in cifs_autodisable_serverino()
1158 struct cifs_sb_info *cifs_sb; in tcon_super_cb() local
1164 cifs_sb = CIFS_SB(sb); in tcon_super_cb()
1261 kfree(cifs_sb->prepath); in cifs_update_super_prepath()
1262 cifs_sb->prepath = NULL; in cifs_update_super_prepath()
1266 if (IS_ERR(cifs_sb->prepath)) { in cifs_update_super_prepath()
1268 cifs_sb->prepath = NULL; in cifs_update_super_prepath()
1271 if (cifs_sb->prepath) in cifs_update_super_prepath()
1272 convert_delimiter(cifs_sb->prepath, CIFS_DIR_SEP(cifs_sb)); in cifs_update_super_prepath()
1326 cifs_remap(cifs_sb)); in cifs_inval_name_dfs_link_error()
[all …]
H A Dcached_dir.c73 sep = CIFS_DIR_SEP(cifs_sb); in path_to_dentry()
74 dentry = dget(cifs_sb->root); in path_to_dentry()
113 cifs_sb->prepath) { in path_no_prefix()
114 len = strlen(cifs_sb->prepath) + 1; in path_no_prefix()
127 struct cifs_sb_info *cifs_sb, in open_cached_dir() argument
157 if (cifs_sb->root == NULL) in open_cached_dir()
169 utf16_path = cifs_convert_path_to_utf16(path, cifs_sb); in open_cached_dir()
199 npath = path_no_prefix(cifs_sb, path); in open_cached_dir()
206 dentry = dget(cifs_sb->root); in open_cached_dir()
208 dentry = path_to_dentry(cifs_sb, npath); in open_cached_dir()
[all …]
H A Dioctl.c59 xid, tcon, cifs_sb, utf16_path, in cifs_ioctl_query_info()
341 struct cifs_sb_info *cifs_sb; in cifs_ioctl() local
442 cifs_sb = CIFS_SB(inode->i_sb); in cifs_ioctl()
443 tlink = cifs_sb_tlink(cifs_sb); in cifs_ioctl()
476 cifs_sb = CIFS_SB(inode->i_sb); in cifs_ioctl()
477 tlink = cifs_sb_tlink(cifs_sb); in cifs_ioctl()
514 cifs_sb = CIFS_SB(inode->i_sb); in cifs_ioctl()
515 tlink = cifs_sb_tlink(cifs_sb); in cifs_ioctl()
531 cifs_sb = CIFS_SB(inode->i_sb); in cifs_ioctl()
532 tlink = cifs_sb_tlink(cifs_sb); in cifs_ioctl()
[all …]
H A Dfile.c296 tlink = cifs_sb_tlink(cifs_sb); in cifs_posix_open()
308 cifs_remap(cifs_sb)); in cifs_posix_open()
400 .cifs_sb = cifs_sb, in cifs_nt_open()
761 struct cifs_sb_info *cifs_sb; in cifs_open() local
960 struct cifs_sb_info *cifs_sb; in cifs_reopen_file() local
1054 .cifs_sb = cifs_sb, in cifs_reopen_file()
4077 cifs_sb->ctx->rsize = in cifs_send_async_read()
4079 cifs_sb->ctx); in cifs_send_async_read()
4189 rdata->cfile, cifs_sb, in collect_uncached_read_data()
4705 cifs_sb->ctx->rsize = in cifs_readahead()
[all …]
H A Dcached_dir.h67 struct cifs_sb_info *cifs_sb,
76 struct cifs_sb_info *cifs_sb);
77 extern void close_all_cached_dirs(struct cifs_sb_info *cifs_sb);
H A Dnamespace.c122 struct cifs_sb_info *cifs_sb = CIFS_SB(dentry->d_sb); in is_dfs_mount() local
123 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in is_dfs_mount()
135 struct cifs_sb_info *cifs_sb = CIFS_SB(dentry->d_sb); in automount_fullpath() local
136 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in automount_fullpath()
H A Dcifsglob.h367 struct cifs_sb_info *cifs_sb,
376 struct cifs_sb_info *cifs_sb,
404 struct cifs_sb_info *cifs_sb);
426 struct cifs_sb_info *cifs_sb);
436 struct cifs_sb_info *cifs_sb,
574 struct cifs_sb_info *cifs_sb,
658 struct cifs_sb_info *cifs_sb; member
1324 return cifs_sb->master_tlink; in cifs_sb_master_tlink()
1394 struct cifs_sb_info *cifs_sb; member
1807 struct cifs_sb_info *cifs_sb; member
[all …]
H A Dsmb2ops.c807 struct cifs_sb_info *cifs_sb) in smb3_qfs_tcon() argument
852 struct cifs_sb_info *cifs_sb) in smb2_qfs_tcon() argument
1059 struct cifs_sb_info *cifs_sb) in smb2_query_eas() argument
1074 &rsp_iov, &buftype, cifs_sb); in smb2_query_eas()
1108 struct cifs_sb_info *cifs_sb) in smb2_set_ea() argument
1160 cifs_sb); in smb2_set_ea()
1501 struct cifs_sb_info *cifs_sb, in smb2_ioctl_query_info() argument
2216 tcon = cifs_sb_master_tcon(cifs_sb); in smb3_notify()
2634 struct cifs_sb_info *cifs_sb) in smb2_query_info_compound() argument
2801 &rsp_iov, &buftype, cifs_sb); in smb2_queryfs()
[all …]

12