Home
last modified time | relevance | path

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

/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()
290 int cifs_negotiate_protocol(const unsigned int xid, struct cifs_ses *ses,
292 int cifs_setup_session(const unsigned int xid, struct cifs_ses *ses,
304 struct cifs_ses *sesInfoAlloc(void);
305 void sesInfoFree(struct cifs_ses *buf_to_free);
310 int setup_ntlmv2_rsp(struct cifs_ses *ses, const struct nls_table *nls_cp);
312 int calc_seckey(struct cifs_ses *ses);
[all …]
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 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.h298 struct cifs_ses;
312 int (*send_cancel)(struct cifs_ses *ses, struct TCP_Server_Info *server,
317 struct mid_q_entry *(*setup_request)(struct cifs_ses *,
368 struct cifs_ses *ses,
375 int (*sess_setup)(const unsigned int, struct cifs_ses *,
379 int (*logoff)(const unsigned int, struct cifs_ses *);
381 int (*tree_connect)(const unsigned int, struct cifs_ses *, const char *,
386 int (*get_dfs_refer)(const unsigned int, struct cifs_ses *,
538 int (*generate_signingkey)(struct cifs_ses *ses,
1058 struct cifs_ses { struct
[all …]
H A Dsmb2proto.h43 struct mid_q_entry *smb2_setup_request(struct cifs_ses *ses,
129 int SMB2_negotiate(const unsigned int xid, struct cifs_ses *ses,
131 int SMB2_sess_setup(const unsigned int xid, struct cifs_ses *ses,
134 int SMB2_logoff(const unsigned int xid, struct cifs_ses *ses);
135 int SMB2_tcon(const unsigned int xid, struct cifs_ses *ses, const char *tree,
264 void smb311_update_preauth_hash(struct cifs_ses *ses,
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()
1935 static int match_session(struct cifs_ses *ses, in match_session()
2029 struct cifs_tcon *cifs_setup_ipc(struct cifs_ses *ses, bool seal) in cifs_setup_ipc()
2075 static struct cifs_ses *
2078 struct cifs_ses *ses, *ret = NULL; in cifs_find_smb_ses()
2103 void __cifs_put_smb_ses(struct cifs_ses *ses) in __cifs_put_smb_ses()
2181 cifs_set_cifscreds(struct smb3_fs_context *ctx, struct cifs_ses *ses) in cifs_set_cifscreds()
2325 struct cifs_ses *ses __maybe_unused) in cifs_set_cifscreds()
[all …]
H A Dsmb2misc.c164 struct cifs_ses *ses = NULL; in smb2_check_message()
165 struct cifs_ses *iter; in smb2_check_message()
642 struct cifs_ses *ses; in smb2_is_valid_lease_break()
716 struct cifs_ses *ses; in smb2_is_valid_oplock_break()
921 smb311_update_preauth_hash(struct cifs_ses *ses, struct TCP_Server_Info *server, in smb311_update_preauth_hash()
H A Dsmb2pdu.c168 cifs_chan_skip_or_disable(struct cifs_ses *ses, in cifs_chan_skip_or_disable()
226 int smb3_update_ses_channels(struct cifs_ses *ses, struct TCP_Server_Info *server, in smb3_update_ses_channels()
252 struct cifs_ses *ses; in smb2_reconnect()
1103 struct cifs_ses *ses, in SMB2_negotiate()
1530 struct cifs_ses *ses;
1552 struct cifs_ses *ses = sess_data->ses; in SMB2_sess_alloc_buffer()
1680 struct cifs_ses *ses = sess_data->ses; in SMB2_sess_establish_session()
1708 struct cifs_ses *ses = sess_data->ses; in SMB2_auth_kerberos()
1812 struct cifs_ses *ses = sess_data->ses; in SMB2_sess_auth_rawntlmssp_negotiate()
1904 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()
1007 struct cifs_ses *ses = tcon->ses; in cifs_inval_name_dfs_link_error()
H A Dfs_context.h334 struct cifs_ses *dfs_root_ses;
376 struct cifs_ses *ses);
H A Dcifs_spnego.c100 cifs_get_spnego_key(struct cifs_ses *sesInfo, in cifs_get_spnego_key()
H A Dtransport.c820 struct TCP_Server_Info *cifs_pick_channel(struct cifs_ses *ses) in cifs_pick_channel()
862 compound_send_recv(const unsigned int xid, struct cifs_ses *ses, in compound_send_recv()
1100 cifs_send_recv(const unsigned int xid, struct cifs_ses *ses, in cifs_send_recv()
H A Dsmb2ops.c469 struct cifs_ses *ses, in smb2_negotiate()
633 size_t buf_len, struct cifs_ses *ses, bool in_mount) in parse_server_interfaces()
834 struct cifs_ses *ses = tcon->ses; in SMB3_request_interfaces()
1187 struct cifs_ses *ses = tcon->ses; in smb2_set_ea()
1586 struct cifs_ses *ses = tcon->ses; in smb2_ioctl_query_info()
2786 struct cifs_ses *ses; in smb2_is_network_name_deleted()
2866 struct cifs_ses *ses = tcon->ses; in smb2_set_next_command()
2947 struct cifs_ses *ses = tcon->ses; in smb2_query_info_compound()
3212 smb2_get_dfs_refer(const unsigned int xid, struct cifs_ses *ses, in smb2_get_dfs_refer()
3512 struct cifs_ses *ses = tcon->ses; in smb3_zero_range()
[all …]
H A Ddfs.c78 struct cifs_ses *ses = mnt_ctx->ses; in set_root_smb_session()
H A Dcached_dir.c139 struct cifs_ses *ses; in open_cached_dir()
H A Dcifs_swn.c344 struct cifs_ses *ses; in cifs_swn_get_tcon()
H A Dcifssmb.c75 struct cifs_ses *ses; in cifs_reconnect_tcon()
254 struct cifs_ses *ses, void **request_buf) in small_smb_init_no_tc()
368 decode_ext_sec_blob(struct cifs_ses *ses, SMB_NEGOTIATE_RSP *pSMBr) in decode_ext_sec_blob()
424 struct cifs_ses *ses, in CIFSSMBNegotiate()
541 CIFSTCon(const unsigned int xid, struct cifs_ses *ses, in CIFSTCon()
788 CIFSSMBLogoff(const unsigned int xid, struct cifs_ses *ses) in CIFSSMBLogoff()
4800 CIFSGetDFSRefer(const unsigned int xid, struct cifs_ses *ses, in CIFSGetDFSRefer()