Lines Matching refs:ses
152 struct cifs_ses *ses = NULL; in smb2_check_message() local
156 list_for_each_entry(ses, &srvr->smb_ses_list, smb_ses_list) { in smb2_check_message()
157 if (ses->Suid == le64_to_cpu(thdr->SessionId)) in smb2_check_message()
161 if (list_entry_is_head(ses, &srvr->smb_ses_list, in smb2_check_message()
603 struct cifs_ses *ses; in smb2_is_valid_lease_break() local
612 list_for_each_entry(ses, &server->smb_ses_list, smb_ses_list) { in smb2_is_valid_lease_break()
613 list_for_each_entry(tcon, &ses->tcon_list, tcon_list) { in smb2_is_valid_lease_break()
664 struct cifs_ses *ses; in smb2_is_valid_oplock_break() local
686 list_for_each_entry(ses, &server->smb_ses_list, smb_ses_list) { in smb2_is_valid_oplock_break()
687 list_for_each_entry(tcon, &ses->tcon_list, tcon_list) { in smb2_is_valid_oplock_break()
796 if (tcon->ses) in smb2_handle_cancelled_close()
797 server = tcon->ses->server; in smb2_handle_cancelled_close()
854 smb311_update_preauth_hash(struct cifs_ses *ses, struct kvec *iov, int nvec) in smb311_update_preauth_hash() argument
859 struct TCP_Server_Info *server = cifs_ses_server(ses); in smb311_update_preauth_hash()
896 rc = crypto_shash_update(&d->shash, ses->preauth_sha_hash, in smb311_update_preauth_hash()
913 rc = crypto_shash_final(&d->shash, ses->preauth_sha_hash); in smb311_update_preauth_hash()