Home
last modified time | relevance | path

Searched refs:cifs_ses (Results 1 – 25 of 27) sorted by relevance

12

/Linux-v6.6/fs/smb/client/
Dcifsproto.h100 extern struct TCP_Server_Info *cifs_pick_channel(struct cifs_ses *ses);
101 extern int cifs_send_recv(const unsigned int xid, struct cifs_ses *ses,
105 extern int compound_send_recv(const unsigned int xid, struct cifs_ses *ses,
110 extern int SendReceive(const unsigned int /* xid */ , struct cifs_ses *,
114 extern int SendReceiveNoRsp(const unsigned int xid, struct cifs_ses *ses,
116 extern struct mid_q_entry *cifs_setup_request(struct cifs_ses *,
126 extern int SendReceive2(const unsigned int /* xid */ , struct cifs_ses *,
170 struct cifs_ses *ses,
174 extern int CIFS_SessSetup(const unsigned int xid, struct cifs_ses *ses,
314 struct cifs_ses *ses,
[all …]
Dsess.c27 cifs_ses_add_channel(struct cifs_sb_info *cifs_sb, struct cifs_ses *ses,
55 bool is_ses_using_iface(struct cifs_ses *ses, struct cifs_server_iface *iface) in is_ses_using_iface()
73 cifs_ses_get_chan_index(struct cifs_ses *ses, in cifs_ses_get_chan_index()
92 cifs_chan_set_in_reconnect(struct cifs_ses *ses, in cifs_chan_set_in_reconnect()
101 cifs_chan_clear_in_reconnect(struct cifs_ses *ses, in cifs_chan_clear_in_reconnect()
110 cifs_chan_in_reconnect(struct cifs_ses *ses, in cifs_chan_in_reconnect()
119 cifs_chan_set_need_reconnect(struct cifs_ses *ses, in cifs_chan_set_need_reconnect()
130 cifs_chan_clear_need_reconnect(struct cifs_ses *ses, in cifs_chan_clear_need_reconnect()
141 cifs_chan_needs_reconnect(struct cifs_ses *ses, in cifs_chan_needs_reconnect()
150 cifs_chan_is_iface_active(struct cifs_ses *ses, in cifs_chan_is_iface_active()
[all …]
Dntlmssp.h145 int decode_ntlmssp_challenge(char *bcc_ptr, int blob_len, struct cifs_ses *ses);
147 struct cifs_ses *ses,
151 struct cifs_ses *ses,
155 struct cifs_ses *ses,
Dsmb2transport.c81 struct cifs_ses *ses = NULL; in smb2_get_sign_key()
145 static struct cifs_ses *
149 struct cifs_ses *ses; in smb2_find_smb_ses_unlocked()
171 struct cifs_ses *
174 struct cifs_ses *ses; in smb2_find_smb_ses()
184 smb2_find_smb_sess_tcon_unlocked(struct cifs_ses *ses, __u32 tid) in smb2_find_smb_sess_tcon_unlocked()
206 struct cifs_ses *ses; in smb2_find_smb_tcon()
237 struct cifs_ses *ses; in smb2_calc_signature()
309 static int generate_key(struct cifs_ses *ses, struct kvec label, in generate_key()
402 generate_smb3signingkey(struct cifs_ses *ses, in generate_smb3signingkey()
[all …]
Dsmb2proto.h35 extern struct mid_q_entry *smb2_setup_request(struct cifs_ses *ses,
40 extern struct cifs_ses *smb2_find_smb_ses(struct TCP_Server_Info *server,
115 struct cifs_ses *ses,
117 extern int SMB2_sess_setup(const unsigned int xid, struct cifs_ses *ses,
120 extern int SMB2_logoff(const unsigned int xid, struct cifs_ses *ses);
121 extern int SMB2_tcon(const unsigned int xid, struct cifs_ses *ses,
270 extern int smb311_update_preauth_hash(struct cifs_ses *ses,
Dcifsglob.h234 struct cifs_ses;
253 struct mid_q_entry *(*setup_request)(struct cifs_ses *,
303 struct cifs_ses *ses,
310 int (*sess_setup)(const unsigned int, struct cifs_ses *,
314 int (*logoff)(const unsigned int, struct cifs_ses *);
316 int (*tree_connect)(const unsigned int, struct cifs_ses *, const char *,
321 int (*get_dfs_refer)(const unsigned int, struct cifs_ses *,
464 int (*generate_signingkey)(struct cifs_ses *ses,
999 struct cifs_ses { struct
1083 struct cifs_ses *dfs_root_ses; argument
[all …]
Dcifsencrypt.c387 build_avpair_blob(struct cifs_ses *ses, const struct nls_table *nls_cp) in build_avpair_blob()
443 find_domain_name(struct cifs_ses *ses, const struct nls_table *nls_cp) in find_domain_name()
495 find_timestamp(struct cifs_ses *ses) in find_timestamp()
532 static int calc_ntlmv2_hash(struct cifs_ses *ses, char *ntlmv2_hash, in calc_ntlmv2_hash()
637 CalcNTLMv2_response(const struct cifs_ses *ses, char *ntlmv2_hash) in CalcNTLMv2_response()
690 setup_ntlmv2_rsp(struct cifs_ses *ses, const struct nls_table *nls_cp) in setup_ntlmv2_rsp()
813 calc_seckey(struct cifs_ses *ses) in calc_seckey()
Dcifs_spnego.h32 extern struct key *cifs_get_spnego_key(struct cifs_ses *sesInfo,
Dconnect.c153 struct cifs_ses *ses; in cifs_signal_cifsd_for_reconnect()
195 struct cifs_ses *ses, *nses; in cifs_mark_tcp_ses_conns_for_reconnect()
1808 static int match_session(struct cifs_ses *ses, struct smb3_fs_context *ctx) in match_session()
1863 cifs_setup_ipc(struct cifs_ses *ses, struct smb3_fs_context *ctx) in cifs_setup_ipc()
1930 cifs_free_ipc(struct cifs_ses *ses) in cifs_free_ipc()
1942 static struct cifs_ses *
1945 struct cifs_ses *ses, *ret = NULL; in cifs_find_smb_ses()
1970 void __cifs_put_smb_ses(struct cifs_ses *ses) in __cifs_put_smb_ses()
2047 cifs_set_cifscreds(struct smb3_fs_context *ctx, struct cifs_ses *ses) in cifs_set_cifscreds()
2187 struct cifs_ses *ses __attribute__((unused))) in cifs_set_cifscreds()
[all …]
Dsmb2misc.c157 struct cifs_ses *ses = NULL; in smb2_check_message()
158 struct cifs_ses *iter; in smb2_check_message()
619 struct cifs_ses *ses; in smb2_is_valid_lease_break()
680 struct cifs_ses *ses; in smb2_is_valid_oplock_break()
878 smb311_update_preauth_hash(struct cifs_ses *ses, struct TCP_Server_Info *server, in smb311_update_preauth_hash()
Ddfs_cache.c646 static int get_dfs_referral(const unsigned int xid, struct cifs_ses *ses, const char *path, in get_dfs_referral()
684 struct cifs_ses *ses, in cache_refresh_path()
856 int dfs_cache_find(const unsigned int xid, struct cifs_ses *ses, const struct nls_table *cp, in dfs_cache_find()
1159 static bool is_ses_good(struct cifs_ses *ses) in is_ses_good()
1176 static int __refresh_tcon(const char *path, struct cifs_ses *ses, bool force_refresh) in __refresh_tcon()
1227 struct cifs_ses *ses = tcon->ses; in refresh_tcon()
1283 struct cifs_ses *ses; in dfs_cache_refresh()
Ddfs.c78 struct cifs_ses *ses = mnt_ctx->ses; in add_root_smb_session()
391 struct cifs_ses *ses) in __tree_connect_ipc()
431 struct cifs_ses *ses = tcon->ses; in tree_connect_ipc()
444 struct cifs_ses *root_ses = CIFS_DFS_ROOT_SES(tcon->ses); in __tree_connect_dfs_target()
Dtransport.c705 static int allocate_mid(struct cifs_ses *ses, struct smb_hdr *in_buf, in allocate_mid()
870 SendReceiveNoRsp(const unsigned int xid, struct cifs_ses *ses, in SendReceiveNoRsp()
964 cifs_setup_request(struct cifs_ses *ses, struct TCP_Server_Info *ignored, in cifs_setup_request()
1022 struct TCP_Server_Info *cifs_pick_channel(struct cifs_ses *ses) in cifs_pick_channel()
1065 compound_send_recv(const unsigned int xid, struct cifs_ses *ses, in compound_send_recv()
1299 cifs_send_recv(const unsigned int xid, struct cifs_ses *ses, in cifs_send_recv()
1309 SendReceive2(const unsigned int xid, struct cifs_ses *ses, in SendReceive2()
1348 SendReceive(const unsigned int xid, struct cifs_ses *ses, in SendReceive()
1471 struct cifs_ses *ses = tcon->ses; in send_lock_cancel()
1495 struct cifs_ses *ses; in SendReceiveBlockingLock()
Dsmb2pdu.c165 struct cifs_ses *ses; in smb2_reconnect()
877 struct cifs_ses *ses, in SMB2_negotiate()
1266 struct cifs_ses *ses;
1288 struct cifs_ses *ses = sess_data->ses; in SMB2_sess_alloc_buffer()
1405 struct cifs_ses *ses = sess_data->ses; in SMB2_sess_establish_session()
1433 struct cifs_ses *ses = sess_data->ses; in SMB2_auth_kerberos()
1528 struct cifs_ses *ses = sess_data->ses; in SMB2_sess_auth_rawntlmssp_negotiate()
1620 struct cifs_ses *ses = sess_data->ses; in SMB2_sess_auth_rawntlmssp_authenticate()
1698 struct cifs_ses *ses = sess_data->ses; in SMB2_select_sec()
1724 SMB2_sess_setup(const unsigned int xid, struct cifs_ses *ses, in SMB2_sess_setup()
[all …]
Dmisc.c67 struct cifs_ses *
70 struct cifs_ses *ret_buf; in sesInfoAlloc()
72 ret_buf = kzalloc(sizeof(struct cifs_ses), GFP_KERNEL); in sesInfoAlloc()
89 sesInfoFree(struct cifs_ses *buf_to_free) in sesInfoFree()
418 struct cifs_ses *ses; in is_valid_oplock_break()
1251 struct cifs_ses *ses = tcon->ses; in cifs_inval_name_dfs_link_error()
Ddfs_cache.h40 int dfs_cache_find(const unsigned int xid, struct cifs_ses *ses, const struct nls_table *cp,
Ddfs.h119 struct cifs_ses *ses;
Dfs_context.h270 struct cifs_ses *dfs_root_ses;
Dcifs_spnego.c87 cifs_get_spnego_key(struct cifs_ses *sesInfo, in cifs_get_spnego_key()
Dioctl.c208 struct cifs_ses *ses; in cifs_dump_full_key()
229 struct cifs_ses *ses_it = NULL; in cifs_dump_full_key()
Dcifs_debug.c231 struct cifs_ses *ses; in cifs_debug_files_proc_show()
279 struct cifs_ses *ses; in cifs_debug_data_proc_show()
595 struct cifs_ses *ses; in cifs_stats_proc_write()
652 struct cifs_ses *ses; in cifs_stats_proc_show()
Dsmb2ops.c419 struct cifs_ses *ses, in smb2_negotiate()
569 size_t buf_len, struct cifs_ses *ses, bool in_mount) in parse_server_interfaces()
758 struct cifs_ses *ses = tcon->ses; in SMB3_request_interfaces()
1094 struct cifs_ses *ses = tcon->ses; in smb2_set_ea()
1468 struct cifs_ses *ses = tcon->ses; in smb2_ioctl_query_info()
2403 struct cifs_ses *ses; in smb2_is_network_name_deleted()
2462 struct cifs_ses *ses = tcon->ses; in smb2_set_next_command()
2527 struct cifs_ses *ses = tcon->ses; in smb2_query_info_compound()
2762 smb2_get_dfs_refer(const unsigned int xid, struct cifs_ses *ses, in smb2_get_dfs_refer()
3298 struct cifs_ses *ses = tcon->ses; in smb3_zero_range()
[all …]
Dcached_dir.c130 struct cifs_ses *ses; in open_cached_dir()
Dcifssmb.c72 struct cifs_ses *ses; in cifs_reconnect_tcon()
236 struct cifs_ses *ses, void **request_buf) in small_smb_init_no_tc()
348 decode_ext_sec_blob(struct cifs_ses *ses, NEGOTIATE_RSP *pSMBr) in decode_ext_sec_blob()
403 struct cifs_ses *ses, in CIFSSMBNegotiate()
611 CIFSSMBLogoff(const unsigned int xid, struct cifs_ses *ses) in CIFSSMBLogoff()
4345 CIFSGetDFSRefer(const unsigned int xid, struct cifs_ses *ses, in CIFSGetDFSRefer()
Dsmb2inode.c60 struct cifs_ses *ses = tcon->ses; in smb2_compound_op()

12