/linux/fs/smb/client/ |
H A D | cifsproto.h | 103 extern struct TCP_Server_Info *cifs_pick_channel(struct cifs_ses *ses); 104 extern int cifs_send_recv(const unsigned int xid, struct cifs_ses *ses, 108 extern int compound_send_recv(const unsigned int xid, struct cifs_ses *ses, 113 extern int SendReceive(const unsigned int /* xid */ , struct cifs_ses *, 117 extern int SendReceiveNoRsp(const unsigned int xid, struct cifs_ses *ses, 120 extern struct mid_q_entry *cifs_setup_request(struct cifs_ses *, 144 extern int SendReceive2(const unsigned int /* xid */ , struct cifs_ses *, 194 struct cifs_ses *ses, 198 extern int CIFS_SessSetup(const unsigned int xid, struct cifs_ses *ses, 340 struct cifs_ses *se [all...] |
H A D | sess.c | 27 cifs_ses_add_channel(struct cifs_ses *ses, 30 bool is_ses_using_iface(struct cifs_ses *ses, struct cifs_server_iface *iface) in is_ses_using_iface() 48 cifs_ses_get_chan_index(struct cifs_ses *ses, in cifs_ses_get_chan_index() 70 cifs_chan_set_in_reconnect(struct cifs_ses *ses, in cifs_chan_set_in_reconnect() 82 cifs_chan_clear_in_reconnect(struct cifs_ses *ses, in cifs_chan_clear_in_reconnect() 94 cifs_chan_set_need_reconnect(struct cifs_ses *ses, in cifs_chan_set_need_reconnect() 108 cifs_chan_clear_need_reconnect(struct cifs_ses *ses, in cifs_chan_clear_need_reconnect() 122 cifs_chan_needs_reconnect(struct cifs_ses *ses, in cifs_chan_needs_reconnect() 134 cifs_chan_is_iface_active(struct cifs_ses *ses, in cifs_chan_is_iface_active() 147 int cifs_try_adding_channels(struct cifs_ses *se [all...] |
H A D | ntlmssp.h | 145 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,
|
H A D | dfs.h | 23 struct cifs_ses *ses; 169 struct cifs_ses *rses = ctx->dfs_root_ses ?: mnt_ctx->ses; in dfs_get_referral() 183 struct cifs_ses *ses, *n; in dfs_put_root_smb_sessions() 191 static inline const char *dfs_ses_refpath(struct cifs_ses *ses) in dfs_ses_refpath()
|
H A D | smb2transport.c | 81 struct cifs_ses *ses = NULL; in smb3_get_sign_key() 145 static struct cifs_ses * 149 struct cifs_ses *ses; in smb2_find_smb_ses_unlocked() 174 struct cifs_ses *ses; in smb2_get_sign_key() 209 smb2_find_smb_sess_tcon_unlocked(struct cifs_ses *ses, __u32 tid) in smb2_find_smb_sess_tcon_unlocked() 233 struct cifs_ses *ses; in smb2_find_smb_tcon() 335 static int generate_key(struct cifs_ses *ses, struct kvec label, in generate_key() 428 generate_smb3signingkey(struct cifs_ses *ses, in generate_smb3signingkey() 527 generate_smb30signingkey(struct cifs_ses *ses, in generate_smb30signingkey() 556 generate_smb311signingkey(struct cifs_ses *ses, in generate_smb311signingkey() [all …]
|
H A D | cifstransport.c | 89 static int allocate_mid(struct cifs_ses *ses, struct smb_hdr *in_buf, in allocate_mid() 159 SendReceiveNoRsp(const unsigned int xid, struct cifs_ses *ses, in SendReceiveNoRsp() 208 cifs_setup_request(struct cifs_ses *ses, struct TCP_Server_Info *ignored, in cifs_setup_request() 231 SendReceive2(const unsigned int xid, struct cifs_ses *ses, in SendReceive2() 270 SendReceive(const unsigned int xid, struct cifs_ses *ses, in SendReceive() 392 struct cifs_ses *ses = tcon->ses; in send_lock_cancel() 416 struct cifs_ses *ses; in SendReceiveBlockingLock()
|
H A D | cifsencrypt.c | 273 build_avpair_blob(struct cifs_ses *ses, const struct nls_table *nls_cp) in build_avpair_blob() 325 static struct ntlmssp2_name *find_next_av(struct cifs_ses *ses, in find_next_av() 355 static int find_av_name(struct cifs_ses *ses, u16 type, char **name, u16 maxlen) in find_av_name() 393 static __le64 find_timestamp(struct cifs_ses *ses) in find_timestamp() 407 static int calc_ntlmv2_hash(struct cifs_ses *ses, char *ntlmv2_hash, in calc_ntlmv2_hash() 493 CalcNTLMv2_response(const struct cifs_ses *ses, char *ntlmv2_hash, struct shash_desc *hmacmd5) in CalcNTLMv2_response() 539 static int set_auth_key_response(struct cifs_ses *ses) in set_auth_key_response() 587 setup_ntlmv2_rsp(struct cifs_ses *ses, const struct nls_table *nls_cp) in setup_ntlmv2_rsp() 712 calc_seckey(struct cifs_ses *ses) in calc_seckey()
|
H A D | smb2proto.h | 35 extern struct mid_q_entry *smb2_setup_request(struct cifs_ses *ses, 146 struct cifs_ses *ses, 148 extern int SMB2_sess_setup(const unsigned int xid, struct cifs_ses *ses, 151 extern int SMB2_logoff(const unsigned int xid, struct cifs_ses *ses); 152 extern int SMB2_tcon(const unsigned int xid, struct cifs_ses *ses, 299 extern int smb311_update_preauth_hash(struct cifs_ses *ses,
|
H A D | cifsglob.h | 301 struct cifs_ses; 319 struct mid_q_entry *(*setup_request)(struct cifs_ses *, 369 struct cifs_ses *ses, 376 int (*sess_setup)(const unsigned int, struct cifs_ses *, 380 int (*logoff)(const unsigned int, struct cifs_ses *); 382 int (*tree_connect)(const unsigned int, struct cifs_ses *, const char *, 387 int (*get_dfs_refer)(const unsigned int, struct cifs_ses *, 537 int (*generate_signingkey)(struct cifs_ses *ses, 1098 struct cifs_ses { struct 1189 struct cifs_ses *dfs_root_ses; argument [all …]
|
H A D | cifs_spnego.h | 32 extern struct key *cifs_get_spnego_key(struct cifs_ses *sesInfo,
|
H A D | smb2misc.c | 157 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() 676 struct cifs_ses *ses; in smb2_is_valid_oplock_break() 881 smb311_update_preauth_hash(struct cifs_ses *ses, struct TCP_Server_Info *server, in smb311_update_preauth_hash()
|
H A D | dfs_cache.c | 644 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_ses *ses) in is_ses_good() 1140 static void refresh_ses_referral(struct cifs_ses *ses) in refresh_ses_referral() 1218 struct cifs_ses *ses; in refresh_tcon_referral() 1307 struct cifs_ses *ses; in dfs_cache_refresh()
|
H A D | connect.c | 149 struct cifs_ses *ses; in cifs_signal_cifsd_for_reconnect() 204 struct cifs_ses *ses, *nses; in cifs_mark_tcp_ses_conns_for_reconnect() 1933 static int match_session(struct cifs_ses *ses, in match_session() 2025 cifs_setup_ipc(struct cifs_ses *ses, struct smb3_fs_context *ctx) in cifs_setup_ipc() 2079 static struct cifs_ses * 2082 struct cifs_ses *ses, *ret = NULL; in cifs_find_smb_ses() 2107 void __cifs_put_smb_ses(struct cifs_ses *ses) in __cifs_put_smb_ses() 2188 cifs_set_cifscreds(struct smb3_fs_context *ctx, struct cifs_ses *ses) in cifs_set_cifscreds() 2330 struct cifs_ses *ses __attribute__((unused))) in cifs_set_cifscreds() 2345 struct cifs_ses * [all …]
|
H A D | misc.c | 64 struct cifs_ses * 67 struct cifs_ses *ret_buf; in sesInfoAlloc() 69 ret_buf = kzalloc(sizeof(struct cifs_ses), GFP_KERNEL); in sesInfoAlloc() 86 sesInfoFree(struct cifs_ses *buf_to_free) in sesInfoFree() 442 struct cifs_ses *ses; in is_valid_oplock_break() 1248 struct cifs_ses *ses = tcon->ses; in cifs_inval_name_dfs_link_error()
|
H A D | cifs_debug.c | 239 struct cifs_ses *ses; in cifs_debug_files_proc_show() 288 struct cifs_ses *ses; in cifs_debug_dirs_proc_show() 303 ses = list_entry(tmp, struct cifs_ses, smb_ses_list); in cifs_debug_dirs_proc_show() 355 struct cifs_ses *ses; in cifs_debug_data_proc_show() 707 struct cifs_ses *ses; in cifs_stats_proc_write() 767 struct cifs_ses *ses; in cifs_stats_proc_show()
|
H A D | smb2pdu.c | 169 cifs_chan_skip_or_disable(struct cifs_ses *ses, in cifs_chan_skip_or_disable() 221 struct cifs_ses *ses; in smb2_reconnect() 1045 struct cifs_ses *ses, in SMB2_negotiate() 1439 struct cifs_ses *ses; 1461 struct cifs_ses *ses = sess_data->ses; in SMB2_sess_alloc_buffer() 1589 struct cifs_ses *ses = sess_data->ses; in SMB2_sess_establish_session() 1617 struct cifs_ses *ses = sess_data->ses; in SMB2_auth_kerberos() 1712 struct cifs_ses *ses = sess_data->ses; in SMB2_sess_auth_rawntlmssp_negotiate() 1804 struct cifs_ses *ses = sess_data->ses; in SMB2_sess_auth_rawntlmssp_authenticate() 1882 struct cifs_ses *se in SMB2_select_sec() [all...] |
H A D | fs_context.h | 332 struct cifs_ses *dfs_root_ses; 372 extern int smb3_sync_session_ctx_passwords(struct cifs_sb_info *cifs_sb, struct cifs_ses *ses);
|
H A D | dfs_cache.h | 40 int dfs_cache_find(const unsigned int xid, struct cifs_ses *ses, const struct nls_table *cp,
|
H A D | cifs_spnego.c | 90 cifs_get_spnego_key(struct cifs_ses *sesInfo, in cifs_get_spnego_key()
|
H A D | ioctl.c | 240 struct cifs_ses *ses; in cifs_dump_full_key() 261 struct cifs_ses *ses_it = NULL; in cifs_dump_full_key()
|
H A D | namespace.c | 203 struct cifs_ses *ses; in cifs_do_automount()
|
H A D | transport.c | 808 struct TCP_Server_Info *cifs_pick_channel(struct cifs_ses *ses) in cifs_pick_channel() 856 compound_send_recv(const unsigned int xid, struct cifs_ses *ses, in compound_send_recv() 1089 cifs_send_recv(const unsigned int xid, struct cifs_ses *ses, in cifs_send_recv()
|
H A D | dfs.c | 78 struct cifs_ses *ses = mnt_ctx->ses; in set_root_smb_session()
|
H A D | smb2ops.c | 458 struct cifs_ses *ses, in smb2_negotiate() 622 size_t buf_len, struct cifs_ses *ses, bool in_mount) in parse_server_interfaces() 824 struct cifs_ses *ses = tcon->ses; in SMB3_request_interfaces() 1172 struct cifs_ses *ses = tcon->ses; in smb2_set_ea() 1569 struct cifs_ses *ses = tcon->ses; in smb2_ioctl_query_info() 2554 struct cifs_ses *ses; in smb2_is_network_name_deleted() 2631 struct cifs_ses *ses = tcon->ses; in smb2_set_next_command() 2686 struct cifs_ses *ses = tcon->ses; in smb2_query_info_compound() 2947 smb2_get_dfs_refer(const unsigned int xid, struct cifs_ses *ses, in smb2_get_dfs_refer() 3251 struct cifs_ses *ses = tcon->ses; in smb3_zero_range() [all …]
|
H A D | smb1ops.c | 428 struct cifs_ses *ses, in cifs_negotiate() 1295 struct cifs_ses *ses; in cifs_is_network_name_deleted()
|