Lines Matching refs:ses
148 struct cifs_ses *ses = NULL; in smb2_check_message() local
154 ses = list_entry(tmp, struct cifs_ses, smb_ses_list); in smb2_check_message()
155 if (ses->Suid == thdr->SessionId) in smb2_check_message()
158 ses = NULL; in smb2_check_message()
161 if (ses == NULL) { in smb2_check_message()
520 struct TCP_Server_Info *server = tcon->ses->server; in smb2_tcon_has_lease()
582 struct cifs_ses *ses; in smb2_is_valid_lease_break() local
601 ses = list_entry(tmp1, struct cifs_ses, smb_ses_list); in smb2_is_valid_lease_break()
603 list_for_each(tmp2, &ses->tcon_list) { in smb2_is_valid_lease_break()
641 struct cifs_ses *ses; in smb2_is_valid_oplock_break() local
664 ses = list_entry(tmp, struct cifs_ses, smb_ses_list); in smb2_is_valid_oplock_break()
665 list_for_each(tmp1, &ses->tcon_list) { in smb2_is_valid_oplock_break()
775 smb311_update_preauth_hash(struct cifs_ses *ses, struct kvec *iov, int nvec) in smb311_update_preauth_hash() argument
781 if (ses->server->tcpStatus == CifsGood) { in smb311_update_preauth_hash()
783 if (ses->server->dialect != SMB311_PROT_ID) in smb311_update_preauth_hash()
792 rc = smb311_crypto_shash_allocate(ses->server); in smb311_update_preauth_hash()
796 d = ses->server->secmech.sdescsha512; in smb311_update_preauth_hash()
803 rc = crypto_shash_update(&d->shash, ses->preauth_sha_hash, in smb311_update_preauth_hash()
820 rc = crypto_shash_final(&d->shash, ses->preauth_sha_hash); in smb311_update_preauth_hash()