/linux-6.1.9/fs/cifs/ |
D | cifsproto.h | 95 extern struct TCP_Server_Info *cifs_pick_channel(struct cifs_ses *ses); 96 extern int cifs_send_recv(const unsigned int xid, struct cifs_ses *ses, 100 extern int compound_send_recv(const unsigned int xid, struct cifs_ses *ses, 105 extern int SendReceive(const unsigned int /* xid */ , struct cifs_ses *, 109 extern int SendReceiveNoRsp(const unsigned int xid, struct cifs_ses *ses, 111 extern struct mid_q_entry *cifs_setup_request(struct cifs_ses *, 121 extern int SendReceive2(const unsigned int /* xid */ , struct cifs_ses *, 165 struct cifs_ses *ses, 169 extern int CIFS_SessSetup(const unsigned int xid, struct cifs_ses *ses, 299 struct cifs_ses *ses, [all …]
|
D | sess.c | 27 cifs_ses_add_channel(struct cifs_sb_info *cifs_sb, 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() 92 cifs_chan_set_in_reconnect(struct cifs_ses *ses, in cifs_chan_set_in_reconnect() 101 cifs_chan_clear_in_reconnect(struct cifs_ses *ses, in cifs_chan_clear_in_reconnect() 110 cifs_chan_in_reconnect(struct cifs_ses *ses, in cifs_chan_in_reconnect() 119 cifs_chan_set_need_reconnect(struct cifs_ses *ses, in cifs_chan_set_need_reconnect() 130 cifs_chan_clear_need_reconnect(struct cifs_ses *ses, in cifs_chan_clear_need_reconnect() 141 cifs_chan_needs_reconnect(struct cifs_ses *ses, in cifs_chan_needs_reconnect() 150 cifs_chan_is_iface_active(struct cifs_ses *ses, in cifs_chan_is_iface_active() [all …]
|
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,
|
D | smb2transport.c | 81 struct cifs_ses *ses = NULL; in smb2_get_sign_key() 137 static struct cifs_ses * 141 struct cifs_ses *ses; in smb2_find_smb_ses_unlocked() 156 struct cifs_ses * 159 struct cifs_ses *ses; in smb2_find_smb_ses() 169 smb2_find_smb_sess_tcon_unlocked(struct cifs_ses *ses, __u32 tid) in smb2_find_smb_sess_tcon_unlocked() 191 struct cifs_ses *ses; in smb2_find_smb_tcon() 222 struct cifs_ses *ses; in smb2_calc_signature() 294 static int generate_key(struct cifs_ses *ses, struct kvec label, in generate_key() 387 generate_smb3signingkey(struct cifs_ses *ses, in generate_smb3signingkey() [all …]
|
D | dfs_cache.h | 33 int dfs_cache_find(const unsigned int xid, struct cifs_ses *ses, const struct nls_table *cp, 38 int dfs_cache_update_tgthint(const unsigned int xid, struct cifs_ses *ses, 47 void dfs_cache_add_refsrv_session(const uuid_t *mount_id, struct cifs_ses *ses);
|
D | smb2proto.h | 35 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, 113 struct cifs_ses *ses, 115 extern int SMB2_sess_setup(const unsigned int xid, struct cifs_ses *ses, 118 extern int SMB2_logoff(const unsigned int xid, struct cifs_ses *ses); 119 extern int SMB2_tcon(const unsigned int xid, struct cifs_ses *ses, 268 extern int smb311_update_preauth_hash(struct cifs_ses *ses,
|
D | dfs_cache.c | 56 struct cifs_ses *sessions[CACHE_MAX_ENTRIES]; 95 static struct cifs_ses *find_ipc_from_server_path(struct cifs_ses **ses, const char *path) in find_ipc_from_server_path() 757 static int get_dfs_referral(const unsigned int xid, struct cifs_ses *ses, const char *path, in get_dfs_referral() 793 static int cache_refresh_path(const unsigned int xid, struct cifs_ses *ses, const char *path) in cache_refresh_path() 948 int dfs_cache_find(const unsigned int xid, struct cifs_ses *ses, const struct nls_table *cp, in dfs_cache_find() 1049 int dfs_cache_update_tgthint(const unsigned int xid, struct cifs_ses *ses, in dfs_cache_update_tgthint() 1194 void dfs_cache_add_refsrv_session(const uuid_t *mount_id, struct cifs_ses *ses) in dfs_cache_add_refsrv_session() 1380 static int __refresh_tcon(const char *path, struct cifs_ses **sessions, struct cifs_tcon *tcon, in __refresh_tcon() 1383 struct cifs_ses *ses; in __refresh_tcon() 1438 static int refresh_tcon(struct cifs_ses **sessions, struct cifs_tcon *tcon, bool force_refresh) in refresh_tcon() [all …]
|
D | cifsencrypt.c | 259 build_avpair_blob(struct cifs_ses *ses, const struct nls_table *nls_cp) in build_avpair_blob() 315 find_domain_name(struct cifs_ses *ses, const struct nls_table *nls_cp) in find_domain_name() 367 find_timestamp(struct cifs_ses *ses) in find_timestamp() 404 static int calc_ntlmv2_hash(struct cifs_ses *ses, char *ntlmv2_hash, in calc_ntlmv2_hash() 509 CalcNTLMv2_response(const struct cifs_ses *ses, char *ntlmv2_hash) in CalcNTLMv2_response() 562 setup_ntlmv2_rsp(struct cifs_ses *ses, const struct nls_table *nls_cp) in setup_ntlmv2_rsp() 685 calc_seckey(struct cifs_ses *ses) in calc_seckey()
|
D | cifsglob.h | 228 struct cifs_ses; 247 struct mid_q_entry *(*setup_request)(struct cifs_ses *, 297 struct cifs_ses *ses, 304 int (*sess_setup)(const unsigned int, struct cifs_ses *, 308 int (*logoff)(const unsigned int, struct cifs_ses *); 310 int (*tree_connect)(const unsigned int, struct cifs_ses *, const char *, 315 int (*get_dfs_refer)(const unsigned int, struct cifs_ses *, 450 int (*generate_signingkey)(struct cifs_ses *ses, 1020 struct cifs_ses { struct 1107 cap_unix(struct cifs_ses *ses) in cap_unix() argument [all …]
|
D | cifs_spnego.h | 32 extern struct key *cifs_get_spnego_key(struct cifs_ses *sesInfo,
|
D | smb2misc.c | 157 struct cifs_ses *ses = NULL; in smb2_check_message() 158 struct cifs_ses *iter; in smb2_check_message() 619 struct cifs_ses *ses; in smb2_is_valid_lease_break() 680 struct cifs_ses *ses; in smb2_is_valid_oplock_break() 878 smb311_update_preauth_hash(struct cifs_ses *ses, struct TCP_Server_Info *server, in smb311_update_preauth_hash()
|
D | transport.c | 719 static int allocate_mid(struct cifs_ses *ses, struct smb_hdr *in_buf, in allocate_mid() 885 SendReceiveNoRsp(const unsigned int xid, struct cifs_ses *ses, in SendReceiveNoRsp() 979 cifs_setup_request(struct cifs_ses *ses, struct TCP_Server_Info *ignored, in cifs_setup_request() 1034 struct TCP_Server_Info *cifs_pick_channel(struct cifs_ses *ses) in cifs_pick_channel() 1052 compound_send_recv(const unsigned int xid, struct cifs_ses *ses, in compound_send_recv() 1287 cifs_send_recv(const unsigned int xid, struct cifs_ses *ses, in cifs_send_recv() 1297 SendReceive2(const unsigned int xid, struct cifs_ses *ses, in SendReceive2() 1336 SendReceive(const unsigned int xid, struct cifs_ses *ses, in SendReceive() 1460 struct cifs_ses *ses = tcon->ses; in send_lock_cancel() 1484 struct cifs_ses *ses; in SendReceiveBlockingLock()
|
D | connect.c | 69 struct cifs_ses *ses; 72 struct cifs_ses *root_ses; 202 struct cifs_ses *ses; in cifs_signal_cifsd_for_reconnect() 244 struct cifs_ses *ses, *nses; in cifs_mark_tcp_ses_conns_for_reconnect() 1778 static int match_session(struct cifs_ses *ses, struct smb3_fs_context *ctx) in match_session() 1833 cifs_setup_ipc(struct cifs_ses *ses, struct smb3_fs_context *ctx) in cifs_setup_ipc() 1897 cifs_free_ipc(struct cifs_ses *ses) in cifs_free_ipc() 1909 static struct cifs_ses * 1912 struct cifs_ses *ses; in cifs_find_smb_ses() 1935 void cifs_put_smb_ses(struct cifs_ses *ses) in cifs_put_smb_ses() [all …]
|
D | smb2pdu.c | 148 struct cifs_ses *ses; in smb2_reconnect() 867 struct cifs_ses *ses, in SMB2_negotiate() 1256 struct cifs_ses *ses; 1278 struct cifs_ses *ses = sess_data->ses; in SMB2_sess_alloc_buffer() 1390 struct cifs_ses *ses = sess_data->ses; in SMB2_sess_establish_session() 1418 struct cifs_ses *ses = sess_data->ses; in SMB2_auth_kerberos() 1513 struct cifs_ses *ses = sess_data->ses; in SMB2_sess_auth_rawntlmssp_negotiate() 1605 struct cifs_ses *ses = sess_data->ses; in SMB2_sess_auth_rawntlmssp_authenticate() 1683 struct cifs_ses *ses = sess_data->ses; in SMB2_select_sec() 1709 SMB2_sess_setup(const unsigned int xid, struct cifs_ses *ses, in SMB2_sess_setup() [all …]
|
D | misc.c | 65 struct cifs_ses * 68 struct cifs_ses *ret_buf; in sesInfoAlloc() 70 ret_buf = kzalloc(sizeof(struct cifs_ses), GFP_KERNEL); in sesInfoAlloc() 87 sesInfoFree(struct cifs_ses *buf_to_free) in sesInfoFree() 404 struct cifs_ses *ses; in is_valid_oplock_break()
|
D | cifs_debug.c | 172 struct cifs_ses *ses; in cifs_debug_files_proc_show() 218 struct cifs_ses *ses; in cifs_debug_data_proc_show() 496 struct cifs_ses *ses; in cifs_stats_proc_write() 553 struct cifs_ses *ses; in cifs_stats_proc_show()
|
D | cifs_spnego.c | 87 cifs_get_spnego_key(struct cifs_ses *sesInfo, in cifs_get_spnego_key()
|
D | ioctl.c | 208 struct cifs_ses *ses; in cifs_dump_full_key() 229 struct cifs_ses *ses_it = NULL; in cifs_dump_full_key()
|
D | smb2ops.c | 402 struct cifs_ses *ses, in smb2_negotiate() 515 size_t buf_len, struct cifs_ses *ses, bool in_mount) in parse_server_interfaces() 697 struct cifs_ses *ses = tcon->ses; in SMB3_request_interfaces() 1018 struct cifs_ses *ses = tcon->ses; in smb2_set_ea() 1400 struct cifs_ses *ses = tcon->ses; in smb2_ioctl_query_info() 2331 struct cifs_ses *ses; in smb2_is_network_name_deleted() 2389 struct cifs_ses *ses = tcon->ses; in smb2_set_next_command() 2453 struct cifs_ses *ses = tcon->ses; in smb2_query_info_compound() 2682 smb2_get_dfs_refer(const unsigned int xid, struct cifs_ses *ses, in smb2_get_dfs_refer() 3330 struct cifs_ses *ses = tcon->ses; in smb3_zero_range() [all …]
|
D | cached_dir.c | 110 struct cifs_ses *ses; in open_cached_dir()
|
D | smb2inode.c | 71 struct cifs_ses *ses = tcon->ses; in smb2_compound_op()
|
D | cifssmb.c | 70 struct cifs_ses *ses; in cifs_reconnect_tcon() 265 struct cifs_ses *ses, void **request_buf) in small_smb_init_no_tc() 377 decode_ext_sec_blob(struct cifs_ses *ses, NEGOTIATE_RSP *pSMBr) in decode_ext_sec_blob() 432 struct cifs_ses *ses, in CIFSSMBNegotiate() 640 CIFSSMBLogoff(const unsigned int xid, struct cifs_ses *ses) in CIFSSMBLogoff() 4341 CIFSGetDFSRefer(const unsigned int xid, struct cifs_ses *ses, in CIFSGetDFSRefer()
|
D | smb1ops.c | 424 struct cifs_ses *ses, in cifs_negotiate()
|
D | cifsfs.c | 458 cifs_show_security(struct seq_file *s, struct cifs_ses *ses) in cifs_show_security()
|