Lines Matching defs:share
312 static int target_share_matches_server(struct TCP_Server_Info *server, char *share,
320 extract_unc_hostname(share, &dfs_host, &dfs_host_len);
345 char *share = NULL, *prefix = NULL;
352 kfree(share);
354 share = prefix = NULL;
356 /* Check if share matches with tcp ses */
357 rc = dfs_cache_get_tgt_share(server->leaf_fullpath + 1, tit, &share, &prefix);
359 cifs_dbg(VFS, "%s: failed to parse target share: %d\n", __func__, rc);
363 rc = target_share_matches_server(server, share, &target_match);
372 scnprintf(tree, MAX_TREE_SIZE, "\\%s", share);
380 kfree(share);
437 /* Tree connect to last share in @tcon->tree_name if no DFS referral */