Lines Matching refs:ses

100 extern struct TCP_Server_Info *cifs_pick_channel(struct cifs_ses *ses);
101 extern int cifs_send_recv(const unsigned int xid, struct cifs_ses *ses,
105 extern int compound_send_recv(const unsigned int xid, struct cifs_ses *ses,
114 extern int SendReceiveNoRsp(const unsigned int xid, struct cifs_ses *ses,
172 struct cifs_ses *ses,
176 extern int CIFS_SessSetup(const unsigned int xid, struct cifs_ses *ses,
317 struct cifs_ses *ses,
319 extern int cifs_setup_session(const unsigned int xid, struct cifs_ses *ses,
324 struct cifs_ses *ses,
327 extern int CIFSTCon(const unsigned int xid, struct cifs_ses *ses,
362 extern int CIFSGetDFSRefer(const unsigned int xid, struct cifs_ses *ses,
523 extern int CIFSSMBLogoff(const unsigned int xid, struct cifs_ses *ses);
541 extern int generate_smb30signingkey(struct cifs_ses *ses,
543 extern int generate_smb311signingkey(struct cifs_ses *ses,
590 void __cifs_put_smb_ses(struct cifs_ses *ses);
624 cifs_ses_find_chan(struct cifs_ses *ses, struct TCP_Server_Info *server);
625 int cifs_try_adding_channels(struct cifs_ses *ses);
628 bool is_ses_using_iface(struct cifs_ses *ses, struct cifs_server_iface *iface);
629 void cifs_ses_mark_for_reconnect(struct cifs_ses *ses);
632 cifs_ses_get_chan_index(struct cifs_ses *ses,
635 cifs_chan_set_in_reconnect(struct cifs_ses *ses,
638 cifs_chan_clear_in_reconnect(struct cifs_ses *ses,
641 cifs_chan_in_reconnect(struct cifs_ses *ses,
644 cifs_chan_set_need_reconnect(struct cifs_ses *ses,
647 cifs_chan_clear_need_reconnect(struct cifs_ses *ses,
650 cifs_chan_needs_reconnect(struct cifs_ses *ses,
653 cifs_chan_is_iface_active(struct cifs_ses *ses,
656 cifs_disable_secondary_channels(struct cifs_ses *ses);
658 cifs_chan_update_iface(struct cifs_ses *ses, struct TCP_Server_Info *server);
678 static inline int get_dfs_path(const unsigned int xid, struct cifs_ses *ses,
683 return dfs_cache_find(xid, ses, nls_codepage, remap, old_path,
719 /* Put references of @ses and @ses->dfs_root_ses */
720 static inline void cifs_put_smb_ses(struct cifs_ses *ses)
722 struct cifs_ses *rses = ses->dfs_root_ses;
724 __cifs_put_smb_ses(ses);
729 /* Get an active reference of @ses and @ses->dfs_root_ses.
732 * @ses to ensure that any DFS root session attached to it (@ses->dfs_root_ses)
737 static inline void cifs_smb_ses_inc_refcount(struct cifs_ses *ses)
741 ses->ses_count++;
742 if (ses->dfs_root_ses)
743 ses->dfs_root_ses->ses_count++;