Lines Matching defs: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,
321 struct cifs_ses *ses,
323 extern int cifs_setup_session(const unsigned int xid, struct cifs_ses *ses,
328 struct cifs_ses *ses,
331 extern int CIFSTCon(const unsigned int xid, struct cifs_ses *ses,
366 extern int CIFSGetDFSRefer(const unsigned int xid, struct cifs_ses *ses,
529 extern int CIFSSMBLogoff(const unsigned int xid, struct cifs_ses *ses);
548 extern int generate_smb30signingkey(struct cifs_ses *ses,
550 extern int generate_smb311signingkey(struct cifs_ses *ses,
597 void __cifs_put_smb_ses(struct cifs_ses *ses);
631 cifs_ses_find_chan(struct cifs_ses *ses, struct TCP_Server_Info *server);
632 int cifs_try_adding_channels(struct cifs_ses *ses);
635 bool is_ses_using_iface(struct cifs_ses *ses, struct cifs_server_iface *iface);
636 void cifs_ses_mark_for_reconnect(struct cifs_ses *ses);
639 cifs_ses_get_chan_index(struct cifs_ses *ses,
642 cifs_chan_set_in_reconnect(struct cifs_ses *ses,
645 cifs_chan_clear_in_reconnect(struct cifs_ses *ses,
648 cifs_chan_in_reconnect(struct cifs_ses *ses,
651 cifs_chan_set_need_reconnect(struct cifs_ses *ses,
654 cifs_chan_clear_need_reconnect(struct cifs_ses *ses,
657 cifs_chan_needs_reconnect(struct cifs_ses *ses,
660 cifs_chan_is_iface_active(struct cifs_ses *ses,
663 cifs_disable_secondary_channels(struct cifs_ses *ses);
665 cifs_chan_update_iface(struct cifs_ses *ses, struct TCP_Server_Info *server);
688 static inline int get_dfs_path(const unsigned int xid, struct cifs_ses *ses,
693 return dfs_cache_find(xid, ses, nls_codepage, remap, old_path,
727 /* Put references of @ses and its children */
728 static inline void cifs_put_smb_ses(struct cifs_ses *ses)
733 next = ses->dfs_root_ses;
734 __cifs_put_smb_ses(ses);
735 } while ((ses = next));
738 /* Get an active reference of @ses and its children.
741 * @ses to ensure that any DFS root session attached to it (@ses->dfs_root_ses)
746 static inline void cifs_smb_ses_inc_refcount(struct cifs_ses *ses)
750 for (; ses; ses = ses->dfs_root_ses)
751 ses->ses_count++;