• Home
  • Raw
  • Download

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()
587 struct cifs_ses *ses = tcon->ses; in SMB3_request_interfaces() local
610 spin_lock(&ses->iface_lock); in SMB3_request_interfaces()
611 kfree(ses->iface_list); in SMB3_request_interfaces()
612 ses->iface_list = iface_list; in SMB3_request_interfaces()
613 ses->iface_count = iface_count; in SMB3_request_interfaces()
614 ses->iface_last_update = jiffies; in SMB3_request_interfaces()
615 spin_unlock(&ses->iface_lock); in SMB3_request_interfaces()
676 struct cifs_ses *ses = tcon->ses; in open_shroot() local
677 struct TCP_Server_Info *server = ses->server; in open_shroot()
755 rc = compound_send_recv(xid, ses, server, in open_shroot()
1137 struct cifs_ses *ses = tcon->ses; in smb2_set_ea() local
1138 struct TCP_Server_Info *server = cifs_pick_channel(ses); in smb2_set_ea()
1172 if (ses->server->ops->query_all_EAs) { in smb2_set_ea()
1174 rc = ses->server->ops->query_all_EAs(xid, tcon, path, in smb2_set_ea()
1275 rc = compound_send_recv(xid, ses, server, in smb2_set_ea()
1407 struct TCP_Server_Info *server = tlink_tcon(cfile->tlink)->ses->server; in smb2_set_fid()
1516 struct cifs_ses *ses = tcon->ses; in smb2_ioctl_query_info() local
1517 struct TCP_Server_Info *server = cifs_pick_channel(ses); in smb2_ioctl_query_info()
1552 if (!ses || !server) { in smb2_ioctl_query_info()
1674 rc = compound_send_recv(xid, ses, server, in smb2_ioctl_query_info()
2246 struct TCP_Server_Info *server = cifs_pick_channel(tcon->ses); in smb2_query_dir_first()
2294 rc = compound_send_recv(xid, tcon->ses, server, in smb2_query_dir_first()
2312 tcon->tid, tcon->ses->Suid, 0, 0, rc); in smb2_query_dir_first()
2321 tcon->tid, tcon->ses->Suid, 0, 0); in smb2_query_dir_first()
2331 tcon->ses->Suid, 0, 0, rc); in smb2_query_dir_first()
2337 tcon->ses->Suid, 0, srch_inf->entries_in_buffer); in smb2_query_dir_first()
2418 if (tcon->ses->server->capabilities & SMB2_GLOBAL_CAP_LEASING) in smb2_oplock_response()
2446 struct cifs_ses *ses = tcon->ses; in smb2_set_next_command() local
2447 struct TCP_Server_Info *server = ses->server; in smb2_set_next_command()
2510 struct cifs_ses *ses = tcon->ses; in smb2_query_info_compound() local
2511 struct TCP_Server_Info *server = cifs_pick_channel(ses); in smb2_query_info_compound()
2572 rc = compound_send_recv(xid, ses, server, in smb2_query_info_compound()
2702 smb2_get_dfs_refer(const unsigned int xid, struct cifs_ses *ses, in smb2_get_dfs_refer() argument
2721 tcon = ses->tcon_ipc; in smb2_get_dfs_refer()
2724 tcon = list_first_entry_or_null(&ses->tcon_list, in smb2_get_dfs_refer()
2734 ses); in smb2_get_dfs_refer()
2904 struct TCP_Server_Info *server = cifs_pick_channel(tcon->ses); in smb2_query_symlink()
2987 rc = compound_send_recv(xid, tcon->ses, server, in smb2_query_symlink()
3089 struct TCP_Server_Info *server = cifs_pick_channel(tcon->ses); in smb2_query_reparse_tag()
3167 rc = compound_send_recv(xid, tcon->ses, server, in smb2_query_reparse_tag()
3368 struct cifs_ses *ses = tcon->ses; in smb3_zero_range() local
3383 ses->Suid, offset, len); in smb3_zero_range()
3396 tcon->tid, ses->Suid, offset, len, rc); in smb3_zero_range()
3427 ses->Suid, offset, len, rc); in smb3_zero_range()
3430 ses->Suid, offset, len); in smb3_zero_range()
3613 tcon->ses->Suid, off, len); in smb3_simple_falloc()
3618 tcon->tid, tcon->ses->Suid, off, len, rc); in smb3_simple_falloc()
3715 tcon->ses->Suid, off, len, rc); in smb3_simple_falloc()
3718 tcon->ses->Suid, off, len); in smb3_simple_falloc()
4248 struct cifs_ses *ses; in smb2_get_enc_key() local
4253 list_for_each_entry(ses, &server->smb_ses_list, smb_ses_list) { in smb2_get_enc_key()
4254 if (ses->Suid == ses_id) { in smb2_get_enc_key()
4255 ses_enc_key = enc ? ses->smb3encryptionkey : in smb2_get_enc_key()
4256 ses->smb3decryptionkey; in smb2_get_enc_key()
5074 if (tcon->ses->server->oplocks) in smb2_make_node()
5078 rc = tcon->ses->server->ops->open(xid, &oparms, &oplock, buf); in smb2_make_node()
5098 rc = tcon->ses->server->ops->sync_write(xid, &fid, &io_parms, in smb2_make_node()
5104 rc = tcon->ses->server->ops->sync_write(xid, &fid, &io_parms, in smb2_make_node()
5107 tcon->ses->server->ops->close(xid, tcon, &fid); in smb2_make_node()