Home
last modified time | relevance | path

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

12

/linux/fs/smb/client/
H A Dcifsproto.h100 struct TCP_Server_Info *cifs_pick_channel(struct cifs_ses *ses);
101 int cifs_send_recv(const unsigned int xid, struct cifs_ses *ses,
104 int compound_send_recv(const unsigned int xid, struct cifs_ses *ses,
118 send_cancel(struct cifs_ses *ses, struct TCP_Server_Info *server, in send_cancel()
289 int cifs_negotiate_protocol(const unsigned int xid, struct cifs_ses *ses,
291 int cifs_setup_session(const unsigned int xid, struct cifs_ses *ses,
303 struct cifs_ses *sesInfoAlloc(void);
304 void sesInfoFree(struct cifs_ses *buf_to_free);
309 int setup_ntlmv2_rsp(struct cifs_ses *ses, const struct nls_table *nls_cp);
311 int calc_seckey(struct cifs_ses *ses);
[all …]
H A Dsmb1proto.h32 struct cifs_ses *ses, void **request_buf);
33 int CIFSSMBNegotiate(const unsigned int xid, struct cifs_ses *ses,
35 int CIFSTCon(const unsigned int xid, struct cifs_ses *ses, const char *tree,
39 int CIFSSMBLogoff(const unsigned int xid, struct cifs_ses *ses);
164 int CIFSGetDFSRefer(const unsigned int xid, struct cifs_ses *ses,
261 int CIFS_SessSetup(const unsigned int xid, struct cifs_ses *ses,
270 int SendReceiveNoRsp(const unsigned int xid, struct cifs_ses *ses,
274 struct mid_q_entry *cifs_setup_request(struct cifs_ses *ses,
277 int SendReceive2(const unsigned int xid, struct cifs_ses *ses,
280 int SendReceive(const unsigned int xid, struct cifs_ses *ses,
H A Dsess.c26 cifs_ses_add_channel(struct cifs_ses *ses,
29 bool is_ses_using_iface(struct cifs_ses *ses, struct cifs_server_iface *iface) in is_ses_using_iface()
47 cifs_ses_get_chan_index(struct cifs_ses *ses, in cifs_ses_get_chan_index()
69 cifs_chan_set_in_reconnect(struct cifs_ses *ses, in cifs_chan_set_in_reconnect()
81 cifs_chan_clear_in_reconnect(struct cifs_ses *ses, in cifs_chan_clear_in_reconnect()
93 cifs_chan_set_need_reconnect(struct cifs_ses *ses, in cifs_chan_set_need_reconnect()
107 cifs_chan_clear_need_reconnect(struct cifs_ses *ses, in cifs_chan_clear_need_reconnect()
121 cifs_chan_needs_reconnect(struct cifs_ses *ses, in cifs_chan_needs_reconnect()
133 cifs_chan_is_iface_active(struct cifs_ses *ses, in cifs_chan_is_iface_active()
146 int cifs_try_adding_channels(struct cifs_ses *ses) in cifs_try_adding_channels()
[all …]
H A Dsmb1session.c21 struct cifs_ses *ses;
39 static __u32 cifs_ssetup_hdr(struct cifs_ses *ses, in cifs_ssetup_hdr()
125 static void unicode_domain_string(char **pbcc_area, struct cifs_ses *ses, in unicode_domain_string()
149 static void ascii_domain_string(char **pbcc_area, struct cifs_ses *ses, in ascii_domain_string()
168 static void unicode_ssetup_strings(char **pbcc_area, struct cifs_ses *ses, in unicode_ssetup_strings()
194 static void ascii_ssetup_strings(char **pbcc_area, struct cifs_ses *ses, in ascii_ssetup_strings()
222 decode_unicode_ssetup(char **pbcc_area, int bleft, struct cifs_ses *ses, in decode_unicode_ssetup()
256 struct cifs_ses *ses, in decode_ascii_ssetup()
315 struct cifs_ses *ses = sess_data->ses; in sess_alloc_buffer()
370 struct cifs_ses *ses = sess_data->ses; in sess_establish_session()
[all …]
H A Dntlmssp.h146 struct cifs_ses *ses);
148 struct cifs_ses *ses,
152 struct cifs_ses *ses,
156 struct cifs_ses *ses,
H A Dcifsencrypt.c124 build_avpair_blob(struct cifs_ses *ses, const struct nls_table *nls_cp) in build_avpair_blob()
176 static struct ntlmssp2_name *find_next_av(struct cifs_ses *ses, in find_next_av()
206 static int find_av_name(struct cifs_ses *ses, u16 type, char **name, u16 maxlen) in find_av_name()
244 static __le64 find_timestamp(struct cifs_ses *ses) in find_timestamp()
258 static int calc_ntlmv2_hash(struct cifs_ses *ses, char *ntlmv2_hash, in calc_ntlmv2_hash()
318 static void CalcNTLMv2_response(const struct cifs_ses *ses, char *ntlmv2_hash) in CalcNTLMv2_response()
343 static int set_auth_key_response(struct cifs_ses *ses) in set_auth_key_response()
391 setup_ntlmv2_rsp(struct cifs_ses *ses, const struct nls_table *nls_cp) in setup_ntlmv2_rsp()
493 calc_seckey(struct cifs_ses *ses) in calc_seckey()
H A Dsmb2transport.c44 struct cifs_ses *ses = NULL; in smb3_get_sign_key()
108 static struct cifs_ses *
112 struct cifs_ses *ses; in smb2_find_smb_ses_unlocked()
137 struct cifs_ses *ses; in smb2_get_sign_key()
172 smb2_find_smb_sess_tcon_unlocked(struct cifs_ses *ses, __u32 tid) in smb2_find_smb_sess_tcon_unlocked()
196 struct cifs_ses *ses; in smb2_find_smb_tcon()
261 static int generate_key(struct cifs_ses *ses, struct kvec label, in generate_key()
313 generate_smb3signingkey(struct cifs_ses *ses, in generate_smb3signingkey()
412 generate_smb30signingkey(struct cifs_ses *ses, in generate_smb30signingkey()
441 generate_smb311signingkey(struct cifs_ses *ses, in generate_smb311signingkey()
[all …]
H A Ddfs.h23 struct cifs_ses *ses;
170 struct cifs_ses *rses = ctx->dfs_root_ses ?: mnt_ctx->ses; in dfs_get_referral()
184 struct cifs_ses *ses, *n; in dfs_put_root_smb_sessions()
192 static inline const char *dfs_ses_refpath(struct cifs_ses *ses) in dfs_ses_refpath()
H A Dcifsglob.h300 struct cifs_ses;
314 int (*send_cancel)(struct cifs_ses *ses, struct TCP_Server_Info *server,
319 struct mid_q_entry *(*setup_request)(struct cifs_ses *,
370 struct cifs_ses *ses,
377 int (*sess_setup)(const unsigned int, struct cifs_ses *,
381 int (*logoff)(const unsigned int, struct cifs_ses *);
383 int (*tree_connect)(const unsigned int, struct cifs_ses *, const char *,
388 int (*get_dfs_refer)(const unsigned int, struct cifs_ses *,
540 int (*generate_signingkey)(struct cifs_ses *ses,
1058 struct cifs_ses { struct
[all …]
H A Dsmb2proto.h38 struct mid_q_entry *smb2_setup_request(struct cifs_ses *ses,
124 int SMB2_negotiate(const unsigned int xid, struct cifs_ses *ses,
126 int SMB2_sess_setup(const unsigned int xid, struct cifs_ses *ses,
129 int SMB2_logoff(const unsigned int xid, struct cifs_ses *ses);
130 int SMB2_tcon(const unsigned int xid, struct cifs_ses *ses, const char *tree,
256 void smb311_update_preauth_hash(struct cifs_ses *ses,
H A Dsmb1transport.c72 static int allocate_mid(struct cifs_ses *ses, struct smb_hdr *in_buf, in allocate_mid()
138 SendReceiveNoRsp(const unsigned int xid, struct cifs_ses *ses, in SendReceiveNoRsp()
191 cifs_setup_request(struct cifs_ses *ses, struct TCP_Server_Info *server, in cifs_setup_request()
210 SendReceive2(const unsigned int xid, struct cifs_ses *ses, in SendReceive2()
224 SendReceive(const unsigned int xid, struct cifs_ses *ses, in SendReceive()
H A Dsmb2misc.c159 struct cifs_ses *ses = NULL; in smb2_check_message()
160 struct cifs_ses *iter; in smb2_check_message()
605 struct cifs_ses *ses; in smb2_is_valid_lease_break()
679 struct cifs_ses *ses; in smb2_is_valid_oplock_break()
884 smb311_update_preauth_hash(struct cifs_ses *ses, struct TCP_Server_Info *server, in smb311_update_preauth_hash()
H A Dconnect.c66 static struct mchan_mount *mchan_mount_alloc(struct cifs_ses *ses);
152 struct cifs_ses *ses; in cifs_signal_cifsd_for_reconnect()
207 struct cifs_ses *ses, *nses; in cifs_mark_tcp_ses_conns_for_reconnect()
1930 static int match_session(struct cifs_ses *ses, in match_session()
2024 struct cifs_tcon *cifs_setup_ipc(struct cifs_ses *ses, bool seal) in cifs_setup_ipc()
2070 static struct cifs_ses *
2073 struct cifs_ses *ses, *ret = NULL; in cifs_find_smb_ses()
2098 void __cifs_put_smb_ses(struct cifs_ses *ses) in __cifs_put_smb_ses()
2176 cifs_set_cifscreds(struct smb3_fs_context *ctx, struct cifs_ses *ses) in cifs_set_cifscreds()
2320 struct cifs_ses *ses __maybe_unused) in cifs_set_cifscreds()
[all …]
H A Dcifs_spnego.h31 struct key *cifs_get_spnego_key(struct cifs_ses *sesInfo,
H A Ddfs_cache.c644 static int get_dfs_referral(const unsigned int xid, struct cifs_ses *ses, const char *path, in get_dfs_referral()
682 struct cifs_ses *ses, in cache_refresh_path()
854 int dfs_cache_find(const unsigned int xid, struct cifs_ses *ses, const struct nls_table *cp, in dfs_cache_find()
1123 static bool is_ses_good(struct cifs_tcon *tcon, struct cifs_ses *ses) in is_ses_good()
1179 static void refresh_ses_referral(struct cifs_tcon *tcon, struct cifs_ses *ses) in refresh_ses_referral()
1257 struct cifs_ses *ses; in refresh_tcon_referral()
1346 struct cifs_ses *ses; in dfs_cache_refresh()
H A Dsmb2pdu.c169 cifs_chan_skip_or_disable(struct cifs_ses *ses, in cifs_chan_skip_or_disable()
227 int smb3_update_ses_channels(struct cifs_ses *ses, struct TCP_Server_Info *server, in smb3_update_ses_channels()
253 struct cifs_ses *ses; in smb2_reconnect()
1078 struct cifs_ses *ses, in SMB2_negotiate()
1505 struct cifs_ses *ses;
1527 struct cifs_ses *ses = sess_data->ses; in SMB2_sess_alloc_buffer()
1655 struct cifs_ses *ses = sess_data->ses; in SMB2_sess_establish_session()
1683 struct cifs_ses *ses = sess_data->ses; in SMB2_auth_kerberos()
1774 struct cifs_ses *ses = sess_data->ses; in SMB2_sess_auth_rawntlmssp_negotiate()
1866 struct cifs_ses *ses = sess_data->ses; in SMB2_sess_auth_rawntlmssp_authenticate()
[all …]
H A Dmisc.c70 struct cifs_ses *
73 struct cifs_ses *ret_buf; in sesInfoAlloc()
75 ret_buf = kzalloc_obj(struct cifs_ses); in sesInfoAlloc()
92 sesInfoFree(struct cifs_ses *buf_to_free) in sesInfoFree()
1021 struct cifs_ses *ses = tcon->ses; in cifs_inval_name_dfs_link_error()
H A Dcifs_debug.c224 struct cifs_ses *ses; in cifs_debug_files_proc_show()
303 struct cifs_ses *ses; in cifs_debug_dirs_proc_show()
318 ses = list_entry(tmp, struct cifs_ses, smb_ses_list); in cifs_debug_dirs_proc_show()
396 struct cifs_ses *ses; in cifs_debug_data_proc_show()
747 struct cifs_ses *ses; in cifs_stats_proc_write()
807 struct cifs_ses *ses; in cifs_stats_proc_show()
H A Dfs_context.h334 struct cifs_ses *dfs_root_ses;
376 struct cifs_ses *ses);
H A Ddfs_cache.h40 int dfs_cache_find(const unsigned int xid, struct cifs_ses *ses,
H A Dsmb1ops.c144 send_nt_cancel(struct cifs_ses *ses, struct TCP_Server_Info *server, in send_nt_cancel()
191 send_lock_cancel(struct cifs_ses *ses, struct TCP_Server_Info *server, in send_lock_cancel()
217 static int cifs_send_cancel(struct cifs_ses *ses, struct TCP_Server_Info *server, in cifs_send_cancel()
415 struct cifs_ses *ses, in cifs_negotiate()
1353 struct cifs_ses *ses; in cifs_is_network_name_deleted()
H A Dsmb1misc.c71 struct cifs_ses *ses; in is_valid_oplock_break()
H A Dcifs_spnego.c84 cifs_get_spnego_key(struct cifs_ses *sesInfo, in cifs_get_spnego_key()
H A Dioctl.c239 struct cifs_ses *ses; in cifs_dump_full_key()
260 struct cifs_ses *ses_it = NULL; in cifs_dump_full_key()
H A Dnamespace.c203 struct cifs_ses *ses; in cifs_do_automount()

12