Lines Matching refs:cifs_sb
116 struct cifs_sb_info *cifs_sb = mnt_ctx->cifs_sb; in set_ref_paths() local
120 full_path = smb3_fs_context_fullpath(ctx, CIFS_DIR_SEP(cifs_sb)); in set_ref_paths()
126 ref_path = dfs_get_path(cifs_sb, ctx->UNC); in set_ref_paths()
128 ref_path = dfs_get_path(cifs_sb, full_path); in set_ref_paths()
231 struct cifs_sb_info *cifs_sb = mnt_ctx->cifs_sb; in __dfs_mount_share() local
237 origin_fullpath = dfs_get_path(cifs_sb, ctx->source); in __dfs_mount_share()
331 static int update_server_fullpath(struct TCP_Server_Info *server, struct cifs_sb_info *cifs_sb, in update_server_fullpath() argument
357 npath = dfs_cache_canonical_path(refpath, cifs_sb->local_nls, cifs_remap(cifs_sb)); in update_server_fullpath()
398 struct cifs_sb_info *cifs_sb, in __tree_connect_ipc() argument
423 cifs_sb->local_nls); in __tree_connect_ipc()
436 struct cifs_sb_info *cifs_sb, in tree_connect_ipc() argument
441 __tree_connect_ipc(xid, tree, cifs_sb, ses); in tree_connect_ipc()
442 __tree_connect_ipc(xid, tree, cifs_sb, CIFS_DFS_ROOT_SES(ses)); in tree_connect_ipc()
446 struct cifs_sb_info *cifs_sb, char *tree, bool islink, in __tree_connect_dfs_target() argument
488 tree_connect_ipc(xid, tree, cifs_sb, tcon); in __tree_connect_dfs_target()
492 rc = ops->tree_connect(xid, tcon->ses, tree, tcon, cifs_sb->local_nls); in __tree_connect_dfs_target()
502 if (dfs_cache_find(xid, root_ses, cifs_sb->local_nls, cifs_remap(cifs_sb), target, in __tree_connect_dfs_target()
504 rc = ops->tree_connect(xid, tcon->ses, tree, tcon, cifs_sb->local_nls); in __tree_connect_dfs_target()
508 rc = cifs_update_super_prepath(cifs_sb, prefix); in __tree_connect_dfs_target()
511 rc = update_server_fullpath(server, cifs_sb, target); in __tree_connect_dfs_target()
531 struct cifs_sb_info *cifs_sb, char *tree, bool islink, in tree_connect_dfs_target() argument
540 rc = __tree_connect_dfs_target(xid, tcon, cifs_sb, tree, islink, tl); in tree_connect_dfs_target()
561 struct cifs_sb_info *cifs_sb = NULL; in cifs_tree_connect() local
603 cifs_sb = CIFS_SB(sb); in cifs_tree_connect()
609 if (!cifs_sb || !server->leaf_fullpath || in cifs_tree_connect()
612 cifs_sb ? cifs_sb->local_nls : nlsc); in cifs_tree_connect()
616 rc = tree_connect_dfs_target(xid, tcon, cifs_sb, tree, ref.server_type == DFS_TYPE_LINK, in cifs_tree_connect()