Lines Matching refs:chan_index
95 unsigned int chan_index = cifs_ses_get_chan_index(ses, server); in cifs_chan_set_in_reconnect() local
97 ses->chans[chan_index].in_reconnect = true; in cifs_chan_set_in_reconnect()
104 unsigned int chan_index = cifs_ses_get_chan_index(ses, server); in cifs_chan_clear_in_reconnect() local
106 ses->chans[chan_index].in_reconnect = false; in cifs_chan_clear_in_reconnect()
113 unsigned int chan_index = cifs_ses_get_chan_index(ses, server); in cifs_chan_in_reconnect() local
115 return CIFS_CHAN_IN_RECONNECT(ses, chan_index); in cifs_chan_in_reconnect()
122 unsigned int chan_index = cifs_ses_get_chan_index(ses, server); in cifs_chan_set_need_reconnect() local
124 set_bit(chan_index, &ses->chans_need_reconnect); in cifs_chan_set_need_reconnect()
126 chan_index, ses->chans_need_reconnect); in cifs_chan_set_need_reconnect()
133 unsigned int chan_index = cifs_ses_get_chan_index(ses, server); in cifs_chan_clear_need_reconnect() local
135 clear_bit(chan_index, &ses->chans_need_reconnect); in cifs_chan_clear_need_reconnect()
137 chan_index, ses->chans_need_reconnect); in cifs_chan_clear_need_reconnect()
144 unsigned int chan_index = cifs_ses_get_chan_index(ses, server); in cifs_chan_needs_reconnect() local
146 return CIFS_CHAN_NEEDS_RECONNECT(ses, chan_index); in cifs_chan_needs_reconnect()
153 unsigned int chan_index = cifs_ses_get_chan_index(ses, server); in cifs_chan_is_iface_active() local
155 return ses->chans[chan_index].iface && in cifs_chan_is_iface_active()
156 ses->chans[chan_index].iface->is_active; in cifs_chan_is_iface_active()
265 unsigned int chan_index; in cifs_chan_update_iface() local
271 chan_index = cifs_ses_get_chan_index(ses, server); in cifs_chan_update_iface()
272 if (!chan_index) { in cifs_chan_update_iface()
277 if (ses->chans[chan_index].iface) { in cifs_chan_update_iface()
278 old_iface = ses->chans[chan_index].iface; in cifs_chan_update_iface()
321 chan_index = cifs_ses_get_chan_index(ses, server); in cifs_chan_update_iface()
322 ses->chans[chan_index].iface = iface; in cifs_chan_update_iface()
326 ses->chans[chan_index].server = NULL; in cifs_chan_update_iface()