Searched refs:tcp_ses (Results 1 – 1 of 1) sorted by relevance
2141 struct TCP_Server_Info *tcp_ses = NULL; in cifs_get_tcp_session() local2175 tcp_ses = cifs_find_tcp_session((struct sockaddr *)&addr, volume_info); in cifs_get_tcp_session()2176 if (tcp_ses) in cifs_get_tcp_session()2177 return tcp_ses; in cifs_get_tcp_session()2179 tcp_ses = kzalloc(sizeof(struct TCP_Server_Info), GFP_KERNEL); in cifs_get_tcp_session()2180 if (!tcp_ses) { in cifs_get_tcp_session()2185 rc = cifs_crypto_shash_allocate(tcp_ses); in cifs_get_tcp_session()2191 cifs_set_net_ns(tcp_ses, get_net(current->nsproxy->net_ns)); in cifs_get_tcp_session()2192 tcp_ses->hostname = extract_hostname(volume_info->UNC); in cifs_get_tcp_session()2193 if (IS_ERR(tcp_ses->hostname)) { in cifs_get_tcp_session()[all …]