Home
last modified time | relevance | path

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

12

/openbmc/linux/fs/smb/client/
H A 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 *,
172 struct cifs_ses *ses,
176 extern int CIFS_SessSetup(const unsigned int xid, struct cifs_ses *ses,
323 struct cifs_ses *ses,
[all …]
H A 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()
119 cifs_chan_in_reconnect(struct cifs_ses *ses, in cifs_chan_in_reconnect()
131 cifs_chan_set_need_reconnect(struct cifs_ses *ses, in cifs_chan_set_need_reconnect()
145 cifs_chan_clear_need_reconnect(struct cifs_ses *ses, in cifs_chan_clear_need_reconnect()
159 cifs_chan_needs_reconnect(struct cifs_ses *ses, in cifs_chan_needs_reconnect()
171 cifs_chan_is_iface_active(struct cifs_ses *ses, in cifs_chan_is_iface_active()
[all …]
H A 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,
H A Dsmb2transport.c81 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 Ddfs.h133 struct cifs_ses *rses = ctx->dfs_root_ses ?: mnt_ctx->ses; in dfs_get_referral()
148 struct cifs_ses *ses = ctx->dfs_root_ses; in dfs_put_root_smb_sessions()
149 struct cifs_ses *cur; in dfs_put_root_smb_sessions()
H A Dsmb2proto.h35 extern struct mid_q_entry *smb2_setup_request(struct cifs_ses *ses,
145 struct cifs_ses *ses,
147 extern int SMB2_sess_setup(const unsigned int xid, struct cifs_ses *ses,
150 extern int SMB2_logoff(const unsigned int xid, struct cifs_ses *ses);
151 extern int SMB2_tcon(const unsigned int xid, struct cifs_ses *ses,
302 extern int smb311_update_preauth_hash(struct cifs_ses *ses,
H A Dcifsglob.h265 struct cifs_ses;
284 struct mid_q_entry *(*setup_request)(struct cifs_ses *,
334 struct cifs_ses *ses,
341 int (*sess_setup)(const unsigned int, struct cifs_ses *,
345 int (*logoff)(const unsigned int, struct cifs_ses *);
347 int (*tree_connect)(const unsigned int, struct cifs_ses *, const char *,
352 int (*get_dfs_refer)(const unsigned int, struct cifs_ses *,
503 int (*generate_signingkey)(struct cifs_ses *ses,
1058 struct cifs_ses { struct
1146 struct cifs_ses *dfs_root_ses; argument
[all …]
H A 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()
H A 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 void __refresh_ses_referral(struct cifs_ses *ses, bool force_refresh) in __refresh_ses_referral()
1235 static inline void refresh_ses_referral(struct cifs_ses *ses) in refresh_ses_referral()
1240 static inline void force_refresh_ses_referral(struct cifs_ses *ses) in force_refresh_ses_referral()
1291 struct cifs_ses *ses; in dfs_cache_refresh()
H A Dcifs_spnego.h32 extern struct key *cifs_get_spnego_key(struct cifs_ses *sesInfo,
H A Dfs_context.h284 struct cifs_ses *dfs_root_ses;
301 extern int smb3_sync_session_ctx_passwords(struct cifs_sb_info *cifs_sb, struct cifs_ses *ses);
H A 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()
676 struct cifs_ses *ses; in smb2_is_valid_oplock_break()
880 smb311_update_preauth_hash(struct cifs_ses *ses, struct TCP_Server_Info *server, in smb311_update_preauth_hash()
H A 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()
965 cifs_setup_request(struct cifs_ses *ses, struct TCP_Server_Info *ignored, in cifs_setup_request()
1023 struct TCP_Server_Info *cifs_pick_channel(struct cifs_ses *ses) in cifs_pick_channel()
1071 compound_send_recv(const unsigned int xid, struct cifs_ses *ses, in compound_send_recv()
1305 cifs_send_recv(const unsigned int xid, struct cifs_ses *ses, in cifs_send_recv()
1315 SendReceive2(const unsigned int xid, struct cifs_ses *ses, in SendReceive2()
1354 SendReceive(const unsigned int xid, struct cifs_ses *ses, in SendReceive()
1477 struct cifs_ses *ses = tcon->ses; in send_lock_cancel()
1501 struct cifs_ses *ses; in SendReceiveBlockingLock()
H A Dconnect.c161 struct cifs_ses *ses; in cifs_signal_cifsd_for_reconnect()
210 struct cifs_ses *ses, *nses; in cifs_mark_tcp_ses_conns_for_reconnect()
1885 static int match_session(struct cifs_ses *ses, struct smb3_fs_context *ctx) in match_session()
1967 cifs_setup_ipc(struct cifs_ses *ses, struct smb3_fs_context *ctx) in cifs_setup_ipc()
2021 static struct cifs_ses *
2024 struct cifs_ses *ses, *ret = NULL; in cifs_find_smb_ses()
2049 void __cifs_put_smb_ses(struct cifs_ses *ses) in __cifs_put_smb_ses()
2131 cifs_set_cifscreds(struct smb3_fs_context *ctx, struct cifs_ses *ses) in cifs_set_cifscreds()
2273 struct cifs_ses *ses __attribute__((unused))) in cifs_set_cifscreds()
2288 struct cifs_ses *
[all …]
H A Dsmb2pdu.c164 cifs_chan_skip_or_disable(struct cifs_ses *ses, in cifs_chan_skip_or_disable()
218 struct cifs_ses *ses; in smb2_reconnect()
1045 struct cifs_ses *ses, in SMB2_negotiate()
1442 struct cifs_ses *ses;
1464 struct cifs_ses *ses = sess_data->ses; in SMB2_sess_alloc_buffer()
1586 struct cifs_ses *ses = sess_data->ses; in SMB2_sess_establish_session()
1614 struct cifs_ses *ses = sess_data->ses; in SMB2_auth_kerberos()
1709 struct cifs_ses *ses = sess_data->ses; in SMB2_sess_auth_rawntlmssp_negotiate()
1801 struct cifs_ses *ses = sess_data->ses; in SMB2_sess_auth_rawntlmssp_authenticate()
1879 struct cifs_ses *ses = sess_data->ses; in SMB2_select_sec()
[all …]
H A Dmisc.c64 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()
422 struct cifs_ses *ses; in is_valid_oplock_break()
1292 struct cifs_ses *ses = tcon->ses; in cifs_inval_name_dfs_link_error()
H A Ddfs_cache.h40 int dfs_cache_find(const unsigned int xid, struct cifs_ses *ses, const struct nls_table *cp,
H A Dcifs_spnego.c87 cifs_get_spnego_key(struct cifs_ses *sesInfo, in cifs_get_spnego_key()
H A Dcifs_debug.c238 struct cifs_ses *ses; in cifs_debug_files_proc_show()
306 struct cifs_ses *ses; in cifs_debug_data_proc_show()
650 struct cifs_ses *ses; in cifs_stats_proc_write()
710 struct cifs_ses *ses; in cifs_stats_proc_show()
H A Dioctl.c223 struct cifs_ses *ses; in cifs_dump_full_key()
244 struct cifs_ses *ses_it = NULL; in cifs_dump_full_key()
H A Dnamespace.c200 struct cifs_ses *ses; in cifs_do_automount()
H A Dsmb2ops.c422 struct cifs_ses *ses, in smb2_negotiate()
572 size_t buf_len, struct cifs_ses *ses, bool in_mount) in parse_server_interfaces()
765 struct cifs_ses *ses = tcon->ses; in SMB3_request_interfaces()
1112 struct cifs_ses *ses = tcon->ses; in smb2_set_ea()
1509 struct cifs_ses *ses = tcon->ses; in smb2_ioctl_query_info()
2475 struct cifs_ses *ses; in smb2_is_network_name_deleted()
2552 struct cifs_ses *ses = tcon->ses; in smb2_set_next_command()
2638 struct cifs_ses *ses = tcon->ses; in smb2_query_info_compound()
2899 smb2_get_dfs_refer(const unsigned int xid, struct cifs_ses *ses, in smb2_get_dfs_refer()
3199 struct cifs_ses *ses = tcon->ses; in smb3_zero_range()
[all …]
H A Ddfs.c75 struct cifs_ses *ses = mnt_ctx->ses; in add_root_smb_session()
H A Dfs_context.c891 int smb3_sync_session_ctx_passwords(struct cifs_sb_info *cifs_sb, struct cifs_ses *ses) in smb3_sync_session_ctx_passwords()
920 struct cifs_ses *ses = cifs_sb_master_tcon(cifs_sb)->ses; in smb3_reconfigure()
H A Dcached_dir.c145 struct cifs_ses *ses; in open_cached_dir()

12