Lines Matching full:share
324 static int target_share_matches_server(struct TCP_Server_Info *server, char *share, in target_share_matches_server() argument
332 extract_unc_hostname(share, &dfs_host, &dfs_host_len); in target_share_matches_server()
357 char *share = NULL, *prefix = NULL; in tree_connect_dfs_target() local
364 kfree(share); in tree_connect_dfs_target()
366 share = prefix = NULL; in tree_connect_dfs_target()
368 /* Check if share matches with tcp ses */ in tree_connect_dfs_target()
369 rc = dfs_cache_get_tgt_share(server->leaf_fullpath + 1, tit, &share, &prefix); in tree_connect_dfs_target()
371 cifs_dbg(VFS, "%s: failed to parse target share: %d\n", __func__, rc); in tree_connect_dfs_target()
375 rc = target_share_matches_server(server, share, &target_match); in tree_connect_dfs_target()
384 scnprintf(tree, MAX_TREE_SIZE, "\\%s", share); in tree_connect_dfs_target()
392 kfree(share); in tree_connect_dfs_target()
449 /* Tree connect to last share in @tcon->tree_name if no DFS referral */ in cifs_tree_connect()