Lines Matching refs:pserver
152 struct TCP_Server_Info *pserver; in cifs_signal_cifsd_for_reconnect() local
157 pserver = SERVER_IS_CHAN(server) ? server->primary_server : server; in cifs_signal_cifsd_for_reconnect()
159 spin_lock(&pserver->srv_lock); in cifs_signal_cifsd_for_reconnect()
161 pserver->tcpStatus = CifsNeedReconnect; in cifs_signal_cifsd_for_reconnect()
162 spin_unlock(&pserver->srv_lock); in cifs_signal_cifsd_for_reconnect()
165 spin_unlock(&pserver->srv_lock); in cifs_signal_cifsd_for_reconnect()
168 list_for_each_entry(ses, &pserver->smb_ses_list, smb_ses_list) { in cifs_signal_cifsd_for_reconnect()
194 struct TCP_Server_Info *pserver; in cifs_mark_tcp_ses_conns_for_reconnect() local
205 pserver = SERVER_IS_CHAN(server) ? server->primary_server : server; in cifs_mark_tcp_ses_conns_for_reconnect()
209 list_for_each_entry_safe(ses, nses, &pserver->smb_ses_list, smb_ses_list) { in cifs_mark_tcp_ses_conns_for_reconnect()
3822 struct TCP_Server_Info *pserver = SERVER_IS_CHAN(server) ? server->primary_server : server; in cifs_setup_session() local
3823 struct sockaddr_in6 *addr6 = (struct sockaddr_in6 *)&pserver->dstaddr; in cifs_setup_session()
3824 struct sockaddr_in *addr = (struct sockaddr_in *)&pserver->dstaddr; in cifs_setup_session()
3857 if (server == pserver) { in cifs_setup_session()