Lines Matching defs:ses
57 if (tcon->ses->server->ops->ioctl_query_info)
58 rc = tcon->ses->server->ops->ioctl_query_info(
126 tcon_inf.session_id = tcon->ses->Suid;
145 fsinf->protocol_id = tcon->ses->server->vals->protocol_id;
223 struct cifs_ses *ses;
240 /* if ses id is 0, use current user session */
241 ses = tcon->ses;
253 ses = ses_it;
259 cifs_smb_ses_inc_refcount(ses);
275 switch (ses->server->cipher_type) {
298 out.session_id = ses->Suid;
299 out.cipher_type = le16_to_cpu(ses->server->cipher_type);
309 if (copy_to_user(end, ses->auth_key.response, out.session_key_length)) {
315 if (copy_to_user(end, ses->smb3encryptionkey, out.server_in_key_length)) {
321 if (copy_to_user(end, ses->smb3decryptionkey, out.server_out_key_length)) {
328 cifs_put_smb_ses(ses);
413 if (tcon->ses->server->ops->set_compression) {
414 rc = tcon->ses->server->ops->set_compression(
429 if (tcon->ses->server->ops->set_integrity)
430 rc = tcon->ses->server->ops->set_integrity(xid,
460 if (tcon->ses->server->ops->enum_snapshots)
461 rc = tcon->ses->server->ops->enum_snapshots(xid, tcon,
489 le16_to_cpu(tcon->ses->server->cipher_type);
490 pkey_inf.Suid = tcon->ses->Suid;
491 memcpy(pkey_inf.auth_key, tcon->ses->auth_key.response,
494 tcon->ses->smb3decryptionkey, SMB3_SIGN_KEY_SIZE);
496 tcon->ses->smb3encryptionkey, SMB3_SIGN_KEY_SIZE);
538 if (tcon && tcon->ses->server->ops->notify) {
539 rc = tcon->ses->server->ops->notify(xid,
560 if (tcon && tcon->ses->server->ops->notify) {
561 rc = tcon->ses->server->ops->notify(xid,