Lines Matching refs:ses

329 smb2_negotiate(const unsigned int xid, struct cifs_ses *ses)  in smb2_negotiate()  argument
333 cifs_ses_server(ses)->CurrentMid = 0; in smb2_negotiate()
334 rc = SMB2_negotiate(xid, ses); in smb2_negotiate()
344 struct TCP_Server_Info *server = tcon->ses->server; in smb2_negotiate_wsize()
359 struct TCP_Server_Info *server = tcon->ses->server; in smb3_negotiate_wsize()
391 struct TCP_Server_Info *server = tcon->ses->server; in smb2_negotiate_rsize()
407 struct TCP_Server_Info *server = tcon->ses->server; in smb3_negotiate_rsize()
586 struct cifs_ses *ses = tcon->ses; in SMB3_request_interfaces() local
609 spin_lock(&ses->iface_lock); in SMB3_request_interfaces()
610 kfree(ses->iface_list); in SMB3_request_interfaces()
611 ses->iface_list = iface_list; in SMB3_request_interfaces()
612 ses->iface_count = iface_count; in SMB3_request_interfaces()
613 ses->iface_last_update = jiffies; in SMB3_request_interfaces()
614 spin_unlock(&ses->iface_lock); in SMB3_request_interfaces()
675 struct cifs_ses *ses = tcon->ses; in open_shroot() local
676 struct TCP_Server_Info *server = ses->server; in open_shroot()
754 rc = compound_send_recv(xid, ses, server, in open_shroot()
1135 struct cifs_ses *ses = tcon->ses; in smb2_set_ea() local
1136 struct TCP_Server_Info *server = cifs_pick_channel(ses); in smb2_set_ea()
1170 if (ses->server->ops->query_all_EAs) { in smb2_set_ea()
1172 rc = ses->server->ops->query_all_EAs(xid, tcon, path, in smb2_set_ea()
1269 rc = compound_send_recv(xid, ses, server, in smb2_set_ea()
1401 struct TCP_Server_Info *server = tlink_tcon(cfile->tlink)->ses->server; in smb2_set_fid()
1511 struct cifs_ses *ses = tcon->ses; in smb2_ioctl_query_info() local
1512 struct TCP_Server_Info *server = cifs_pick_channel(ses); in smb2_ioctl_query_info()
1545 if (!ses || !server) { in smb2_ioctl_query_info()
1665 rc = compound_send_recv(xid, ses, server, in smb2_ioctl_query_info()
2218 struct TCP_Server_Info *server = cifs_pick_channel(tcon->ses); in smb2_query_dir_first()
2266 rc = compound_send_recv(xid, tcon->ses, server, in smb2_query_dir_first()
2284 tcon->tid, tcon->ses->Suid, 0, 0, rc); in smb2_query_dir_first()
2293 tcon->tid, tcon->ses->Suid, 0, 0); in smb2_query_dir_first()
2303 tcon->ses->Suid, 0, 0, rc); in smb2_query_dir_first()
2309 tcon->ses->Suid, 0, srch_inf->entries_in_buffer); in smb2_query_dir_first()
2390 if (tcon->ses->server->capabilities & SMB2_GLOBAL_CAP_LEASING) in smb2_oplock_response()
2418 struct cifs_ses *ses = tcon->ses; in smb2_set_next_command() local
2419 struct TCP_Server_Info *server = ses->server; in smb2_set_next_command()
2482 struct cifs_ses *ses = tcon->ses; in smb2_query_info_compound() local
2483 struct TCP_Server_Info *server = cifs_pick_channel(ses); in smb2_query_info_compound()
2544 rc = compound_send_recv(xid, ses, server, in smb2_query_info_compound()
2674 smb2_get_dfs_refer(const unsigned int xid, struct cifs_ses *ses, in smb2_get_dfs_refer() argument
2693 tcon = ses->tcon_ipc; in smb2_get_dfs_refer()
2696 tcon = list_first_entry_or_null(&ses->tcon_list, in smb2_get_dfs_refer()
2706 ses); in smb2_get_dfs_refer()
2877 struct TCP_Server_Info *server = cifs_pick_channel(tcon->ses); in smb2_query_symlink()
2961 rc = compound_send_recv(xid, tcon->ses, server, in smb2_query_symlink()
3063 struct TCP_Server_Info *server = cifs_pick_channel(tcon->ses); in smb2_query_reparse_tag()
3142 rc = compound_send_recv(xid, tcon->ses, server, in smb2_query_reparse_tag()
3343 struct cifs_ses *ses = tcon->ses; in smb3_zero_range() local
3358 ses->Suid, offset, len); in smb3_zero_range()
3371 tcon->tid, ses->Suid, offset, len, rc); in smb3_zero_range()
3402 ses->Suid, offset, len, rc); in smb3_zero_range()
3405 ses->Suid, offset, len); in smb3_zero_range()
3467 tcon->ses->Suid, off, len); in smb3_simple_falloc()
3472 tcon->tid, tcon->ses->Suid, off, len, rc); in smb3_simple_falloc()
3531 tcon->ses->Suid, off, len, rc); in smb3_simple_falloc()
3534 tcon->ses->Suid, off, len); in smb3_simple_falloc()
4049 struct cifs_ses *ses; in smb2_get_enc_key() local
4054 list_for_each_entry(ses, &server->smb_ses_list, smb_ses_list) { in smb2_get_enc_key()
4055 if (ses->Suid == ses_id) { in smb2_get_enc_key()
4056 ses_enc_key = enc ? ses->smb3encryptionkey : in smb2_get_enc_key()
4057 ses->smb3decryptionkey; in smb2_get_enc_key()
4894 if (tcon->ses->server->oplocks) in smb2_make_node()
4898 rc = tcon->ses->server->ops->open(xid, &oparms, &oplock, buf); in smb2_make_node()
4918 rc = tcon->ses->server->ops->sync_write(xid, &fid, &io_parms, in smb2_make_node()
4924 rc = tcon->ses->server->ops->sync_write(xid, &fid, &io_parms, in smb2_make_node()
4927 tcon->ses->server->ops->close(xid, tcon, &fid); in smb2_make_node()