Searched refs:chans (Results 1 – 8 of 8) sorted by relevance
61 if (ses->chans[i].iface == iface) { in is_ses_using_iface()83 if (ses->chans[i].server == server) in cifs_ses_get_chan_index()103 ses->chans[chan_index].in_reconnect = true; in cifs_chan_set_in_reconnect()115 ses->chans[chan_index].in_reconnect = false; in cifs_chan_clear_in_reconnect()179 return ses->chans[chan_index].iface && in cifs_chan_is_iface_active()180 ses->chans[chan_index].iface->is_active; in cifs_chan_is_iface_active()327 iface = ses->chans[i].iface; in cifs_disable_secondary_channels()328 server = ses->chans[i].server; in cifs_disable_secondary_channels()334 ses->chans[i].iface = NULL; in cifs_disable_secondary_channels()335 ses->chans[i].server = NULL; in cifs_disable_secondary_channels()[all …]
182 if (!ses->chans[i].server) in cifs_signal_cifsd_for_reconnect()185 spin_lock(&ses->chans[i].server->srv_lock); in cifs_signal_cifsd_for_reconnect()186 if (ses->chans[i].server->tcpStatus != CifsExiting) in cifs_signal_cifsd_for_reconnect()187 ses->chans[i].server->tcpStatus = CifsNeedReconnect; in cifs_signal_cifsd_for_reconnect()188 spin_unlock(&ses->chans[i].server->srv_lock); in cifs_signal_cifsd_for_reconnect()2062 if (ses->chans[i].iface) { in __cifs_put_smb_ses()2063 kref_put(&ses->chans[i].iface->refcount, release_iface); in __cifs_put_smb_ses()2064 ses->chans[i].iface = NULL; in __cifs_put_smb_ses()2066 cifs_put_tcp_session(ses->chans[i].server, 0); in __cifs_put_smb_ses()2067 ses->chans[i].server = NULL; in __cifs_put_smb_ses()[all …]
124 chan = ses->chans + i; in smb2_get_sign_key()441 ses->chans[chan_index].signkey, in generate_smb3signingkey()455 memcpy(ses->chans[chan_index].signkey, ses->smb3signingkey, in generate_smb3signingkey()
550 cifs_dump_channel(m, j, &ses->chans[j]); in cifs_debug_data_proc_show()607 chan_server = ses->chans[j].server; in cifs_debug_data_proc_show()
1126 ((ses)->chans[(index)].in_reconnect)1128 struct cifs_chan chans[CIFS_MAX_CHANNELS]; member
1035 server = ses->chans[i].server; in cifs_pick_channel()1064 server = ses->chans[index].server; in cifs_pick_channel()
792 pserver = ses->chans[0].server; in SMB3_request_interfaces()
183 ses->chans[chan_index].server = NULL; in cifs_chan_skip_or_disable()