Lines Matching refs:cifs_sb

103 	struct cifs_sb_info *cifs_sb = mnt_ctx->cifs_sb;  in set_ref_paths()  local
107 full_path = smb3_fs_context_fullpath(ctx, CIFS_DIR_SEP(cifs_sb)); in set_ref_paths()
113 ref_path = dfs_get_path(cifs_sb, ctx->UNC); in set_ref_paths()
115 ref_path = dfs_get_path(cifs_sb, full_path); in set_ref_paths()
215 struct cifs_sb_info *cifs_sb = mnt_ctx->cifs_sb; in __dfs_mount_share() local
222 origin_fullpath = dfs_get_path(cifs_sb, ctx->source); in __dfs_mount_share()
328 static int update_server_fullpath(struct TCP_Server_Info *server, struct cifs_sb_info *cifs_sb, in update_server_fullpath() argument
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
438 __tree_connect_ipc(xid, tree, cifs_sb, ses); in tree_connect_ipc()
439 __tree_connect_ipc(xid, tree, cifs_sb, CIFS_DFS_ROOT_SES(ses)); in tree_connect_ipc()
443 struct cifs_sb_info *cifs_sb, char *tree, bool islink, in __tree_connect_dfs_target() argument
485 tree_connect_ipc(xid, tree, cifs_sb, tcon); in __tree_connect_dfs_target()
489 rc = ops->tree_connect(xid, tcon->ses, tree, tcon, cifs_sb->local_nls); in __tree_connect_dfs_target()
499 if (dfs_cache_find(xid, root_ses, cifs_sb->local_nls, cifs_remap(cifs_sb), target, in __tree_connect_dfs_target()
501 rc = ops->tree_connect(xid, tcon->ses, tree, tcon, cifs_sb->local_nls); in __tree_connect_dfs_target()
505 rc = cifs_update_super_prepath(cifs_sb, prefix); in __tree_connect_dfs_target()
508 rc = update_server_fullpath(server, cifs_sb, target); in __tree_connect_dfs_target()
528 struct cifs_sb_info *cifs_sb, char *tree, bool islink, in tree_connect_dfs_target() argument
537 rc = __tree_connect_dfs_target(xid, tcon, cifs_sb, tree, islink, tl); 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()
606 if (!cifs_sb || !server->leaf_fullpath || in cifs_tree_connect()
609 cifs_sb ? cifs_sb->local_nls : nlsc); in cifs_tree_connect()
613 rc = tree_connect_dfs_target(xid, tcon, cifs_sb, tree, ref.server_type == DFS_TYPE_LINK, in cifs_tree_connect()