Lines Matching refs:ses
157 struct cifs_ses *ses = NULL; in smb2_check_message() local
163 ses = list_entry(tmp, struct cifs_ses, smb_ses_list); in smb2_check_message()
164 if (ses->Suid == thdr->SessionId) in smb2_check_message()
167 ses = NULL; in smb2_check_message()
170 if (ses == NULL) { in smb2_check_message()
614 struct cifs_ses *ses; in smb2_is_valid_lease_break() local
626 ses = list_entry(tmp1, struct cifs_ses, smb_ses_list); in smb2_is_valid_lease_break()
628 list_for_each(tmp2, &ses->tcon_list) { in smb2_is_valid_lease_break()
681 struct cifs_ses *ses; in smb2_is_valid_oplock_break() local
704 ses = list_entry(tmp, struct cifs_ses, smb_ses_list); in smb2_is_valid_oplock_break()
706 list_for_each(tmp1, &ses->tcon_list) { in smb2_is_valid_oplock_break()
818 if (tcon->ses) in smb2_handle_cancelled_close()
819 server = tcon->ses->server; in smb2_handle_cancelled_close()
872 smb311_update_preauth_hash(struct cifs_ses *ses, struct kvec *iov, int nvec) in smb311_update_preauth_hash() argument
877 struct TCP_Server_Info *server = cifs_ses_server(ses); in smb311_update_preauth_hash()
914 rc = crypto_shash_update(&d->shash, ses->preauth_sha_hash, in smb311_update_preauth_hash()
931 rc = crypto_shash_final(&d->shash, ses->preauth_sha_hash); in smb311_update_preauth_hash()