Home
last modified time | relevance | path

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

12

/linux-6.6.21/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 *,
171 struct cifs_ses *ses,
175 extern int CIFS_SessSetup(const unsigned int xid, struct cifs_ses *ses,
315 struct cifs_ses *ses,
[all …]
Dsess.c27 cifs_ses_add_channel(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()
95 cifs_chan_set_in_reconnect(struct cifs_ses *ses, in cifs_chan_set_in_reconnect()
107 cifs_chan_clear_in_reconnect(struct cifs_ses *ses, in cifs_chan_clear_in_reconnect()
118 cifs_chan_in_reconnect(struct cifs_ses *ses, in cifs_chan_in_reconnect()
129 cifs_chan_set_need_reconnect(struct cifs_ses *ses, in cifs_chan_set_need_reconnect()
142 cifs_chan_clear_need_reconnect(struct cifs_ses *ses, in cifs_chan_clear_need_reconnect()
155 cifs_chan_needs_reconnect(struct cifs_ses *ses, in cifs_chan_needs_reconnect()
166 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,
119 struct cifs_ses *ses,
121 extern int SMB2_sess_setup(const unsigned int xid, struct cifs_ses *ses,
124 extern int SMB2_logoff(const unsigned int xid, struct cifs_ses *ses);
125 extern int SMB2_tcon(const unsigned int xid, struct cifs_ses *ses,
276 extern int smb311_update_preauth_hash(struct cifs_ses *ses,
Dcifsglob.h249 struct cifs_ses;
268 struct mid_q_entry *(*setup_request)(struct cifs_ses *,
318 struct cifs_ses *ses,
325 int (*sess_setup)(const unsigned int, struct cifs_ses *,
329 int (*logoff)(const unsigned int, struct cifs_ses *);
331 int (*tree_connect)(const unsigned int, struct cifs_ses *, const char *,
336 int (*get_dfs_refer)(const unsigned int, struct cifs_ses *,
483 int (*generate_signingkey)(struct cifs_ses *ses,
1026 struct cifs_ses { struct
1112 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.c156 struct cifs_ses *ses; in cifs_signal_cifsd_for_reconnect()
203 struct cifs_ses *ses, *nses; in cifs_mark_tcp_ses_conns_for_reconnect()
1844 static int match_session(struct cifs_ses *ses, struct smb3_fs_context *ctx) in match_session()
1899 cifs_setup_ipc(struct cifs_ses *ses, struct smb3_fs_context *ctx) in cifs_setup_ipc()
1966 cifs_free_ipc(struct cifs_ses *ses) in cifs_free_ipc()
1978 static struct cifs_ses *
1981 struct cifs_ses *ses, *ret = NULL; in cifs_find_smb_ses()
2006 void __cifs_put_smb_ses(struct cifs_ses *ses) in __cifs_put_smb_ses()
2089 cifs_set_cifscreds(struct smb3_fs_context *ctx, struct cifs_ses *ses) in cifs_set_cifscreds()
2229 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()
613 struct cifs_ses *ses; in smb2_is_valid_lease_break()
674 struct cifs_ses *ses; in smb2_is_valid_oplock_break()
872 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()
Dtransport.c703 static int allocate_mid(struct cifs_ses *ses, struct smb_hdr *in_buf, in allocate_mid()
868 SendReceiveNoRsp(const unsigned int xid, struct cifs_ses *ses, in SendReceiveNoRsp()
962 cifs_setup_request(struct cifs_ses *ses, struct TCP_Server_Info *ignored, in cifs_setup_request()
1020 struct TCP_Server_Info *cifs_pick_channel(struct cifs_ses *ses) in cifs_pick_channel()
1066 compound_send_recv(const unsigned int xid, struct cifs_ses *ses, in compound_send_recv()
1300 cifs_send_recv(const unsigned int xid, struct cifs_ses *ses, in cifs_send_recv()
1310 SendReceive2(const unsigned int xid, struct cifs_ses *ses, in SendReceive2()
1349 SendReceive(const unsigned int xid, struct cifs_ses *ses, in SendReceive()
1472 struct cifs_ses *ses = tcon->ses; in send_lock_cancel()
1496 struct cifs_ses *ses; in SendReceiveBlockingLock()
Dsmb2pdu.c161 cifs_chan_skip_or_disable(struct cifs_ses *ses, in cifs_chan_skip_or_disable()
215 struct cifs_ses *ses; in smb2_reconnect()
1020 struct cifs_ses *ses, in SMB2_negotiate()
1409 struct cifs_ses *ses;
1431 struct cifs_ses *ses = sess_data->ses; in SMB2_sess_alloc_buffer()
1548 struct cifs_ses *ses = sess_data->ses; in SMB2_sess_establish_session()
1576 struct cifs_ses *ses = sess_data->ses; in SMB2_auth_kerberos()
1671 struct cifs_ses *ses = sess_data->ses; in SMB2_sess_auth_rawntlmssp_negotiate()
1763 struct cifs_ses *ses = sess_data->ses; in SMB2_sess_auth_rawntlmssp_authenticate()
1841 struct cifs_ses *ses = sess_data->ses; in SMB2_select_sec()
[all …]
Ddfs.c78 struct cifs_ses *ses = mnt_ctx->ses; in add_root_smb_session()
399 struct cifs_ses *ses) in __tree_connect_ipc()
439 struct cifs_ses *ses = tcon->ses; in tree_connect_ipc()
452 struct cifs_ses *root_ses = CIFS_DFS_ROOT_SES(tcon->ses); in __tree_connect_dfs_target()
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()
422 struct cifs_ses *ses; in is_valid_oplock_break()
1255 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()
Dcifs_debug.c238 struct cifs_ses *ses; in cifs_debug_files_proc_show()
286 struct cifs_ses *ses; in cifs_debug_data_proc_show()
624 struct cifs_ses *ses; in cifs_stats_proc_write()
681 struct cifs_ses *ses; in cifs_stats_proc_show()
Dioctl.c222 struct cifs_ses *ses; in cifs_dump_full_key()
243 struct cifs_ses *ses_it = NULL; in cifs_dump_full_key()
Dsmb2ops.c421 struct cifs_ses *ses, in smb2_negotiate()
571 size_t buf_len, struct cifs_ses *ses, bool in_mount) in parse_server_interfaces()
763 struct cifs_ses *ses = tcon->ses; in SMB3_request_interfaces()
1110 struct cifs_ses *ses = tcon->ses; in smb2_set_ea()
1486 struct cifs_ses *ses = tcon->ses; in smb2_ioctl_query_info()
2421 struct cifs_ses *ses; in smb2_is_network_name_deleted()
2480 struct cifs_ses *ses = tcon->ses; in smb2_set_next_command()
2545 struct cifs_ses *ses = tcon->ses; in smb2_query_info_compound()
2780 smb2_get_dfs_refer(const unsigned int xid, struct cifs_ses *ses, in smb2_get_dfs_refer()
3328 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()
4309 CIFSGetDFSRefer(const unsigned int xid, struct cifs_ses *ses, in CIFSGetDFSRefer()
Dsmb2inode.c72 struct cifs_ses *ses = tcon->ses; in smb2_compound_op()

12