/fs/smb/client/ |
D | cifsproto.h | 31 extern int smb_send(struct TCP_Server_Info *, struct smb_hdr *, 84 extern int cifs_handle_standard(struct TCP_Server_Info *server, 90 extern int cifs_discard_remaining_data(struct TCP_Server_Info *server); 91 extern int cifs_call_async(struct TCP_Server_Info *server, 96 extern struct TCP_Server_Info *cifs_pick_channel(struct cifs_ses *ses); 98 struct TCP_Server_Info *server, 102 struct TCP_Server_Info *server, 113 struct TCP_Server_Info *, 115 extern struct mid_q_entry *cifs_setup_async_request(struct TCP_Server_Info *, 118 struct TCP_Server_Info *server, bool log_error); [all …]
|
D | smb2proto.h | 25 struct TCP_Server_Info *server); 32 extern int smb2_verify_signature(struct smb_rqst *, struct TCP_Server_Info *); 34 struct TCP_Server_Info *server, bool log_error); 36 struct TCP_Server_Info *, 39 struct TCP_Server_Info *server, struct smb_rqst *rqst); 40 extern struct cifs_ses *smb2_find_smb_ses(struct TCP_Server_Info *server, 42 extern struct cifs_tcon *smb2_find_smb_tcon(struct TCP_Server_Info *server, 45 struct TCP_Server_Info *server, 48 struct TCP_Server_Info *server, 53 struct TCP_Server_Info *srv); [all …]
|
D | cifsglob.h | 226 struct TCP_Server_Info; 243 int (*send_cancel)(struct TCP_Server_Info *, struct smb_rqst *, 248 struct TCP_Server_Info *, 251 struct mid_q_entry *(*setup_async_request)(struct TCP_Server_Info *, 254 int (*check_receive)(struct mid_q_entry *, struct TCP_Server_Info *, 256 void (*add_credits)(struct TCP_Server_Info *server, 259 void (*set_credits)(struct TCP_Server_Info *, const int); 260 int * (*get_credits_field)(struct TCP_Server_Info *, const int); 262 __u64 (*get_next_mid)(struct TCP_Server_Info *); 263 void (*revert_current_mid)(struct TCP_Server_Info *server, [all …]
|
D | smb2transport.c | 30 smb3_crypto_shash_allocate(struct TCP_Server_Info *server) in smb3_crypto_shash_allocate() 50 smb311_crypto_shash_allocate(struct TCP_Server_Info *server) in smb311_crypto_shash_allocate() 77 int smb2_get_sign_key(__u64 ses_id, struct TCP_Server_Info *server, u8 *key) in smb2_get_sign_key() 80 struct TCP_Server_Info *pserver; in smb2_get_sign_key() 145 smb2_find_smb_ses_unlocked(struct TCP_Server_Info *server, __u64 ses_id) in smb2_find_smb_ses_unlocked() 147 struct TCP_Server_Info *pserver; in smb2_find_smb_ses_unlocked() 171 smb2_find_smb_ses(struct TCP_Server_Info *server, __u64 ses_id) in smb2_find_smb_ses() 203 smb2_find_smb_tcon(struct TCP_Server_Info *server, __u64 ses_id, __u32 tid) in smb2_find_smb_tcon() 228 smb2_calc_signature(struct smb_rqst *rqst, struct TCP_Server_Info *server, in smb2_calc_signature() 318 struct TCP_Server_Info *server = ses->server; in generate_key() [all …]
|
D | smbdirect.h | 267 struct TCP_Server_Info *server, struct sockaddr *dstaddr); 270 int smbd_reconnect(struct TCP_Server_Info *server); 272 void smbd_destroy(struct TCP_Server_Info *server); 276 int smbd_send(struct TCP_Server_Info *server, 313 struct TCP_Server_Info *server, struct sockaddr *dstaddr) {return NULL;} in smbd_get_connection() 314 static inline int smbd_reconnect(struct TCP_Server_Info *server) {return -1; } in smbd_reconnect() 315 static inline void smbd_destroy(struct TCP_Server_Info *server) {} in smbd_destroy() 317 static inline int smbd_send(struct TCP_Server_Info *server, int num_rqst, struct smb_rqst *rqst) {r… in smbd_send()
|
D | cifs_swn.h | 27 static inline bool cifs_swn_set_server_dstaddr(struct TCP_Server_Info *server) in cifs_swn_set_server_dstaddr() 36 static inline void cifs_swn_reset_server_dstaddr(struct TCP_Server_Info *server) in cifs_swn_reset_server_dstaddr() 48 static inline bool cifs_swn_set_server_dstaddr(struct TCP_Server_Info *server) { return false; } in cifs_swn_set_server_dstaddr() 49 static inline void cifs_swn_reset_server_dstaddr(struct TCP_Server_Info *server) {} in cifs_swn_reset_server_dstaddr()
|
D | transport.c | 44 alloc_mid(const struct smb_hdr *smb_buffer, struct TCP_Server_Info *server) in alloc_mid() 89 struct TCP_Server_Info *server = midEntry->server; in __release_mid() 182 smb_send_kvec(struct TCP_Server_Info *server, struct msghdr *smb_msg, in smb_send_kvec() 247 smb_rqst_len(struct TCP_Server_Info *server, struct smb_rqst *rqst) in smb_rqst_len() 291 __smb_send_rqst(struct TCP_Server_Info *server, int num_rqst, in __smb_send_rqst() 448 smb_send_rqst(struct TCP_Server_Info *server, int num_rqst, in smb_send_rqst() 492 smb_send(struct TCP_Server_Info *server, struct smb_hdr *smb_buffer, in smb_send() 508 wait_for_free_credits(struct TCP_Server_Info *server, const int num_credits, in wait_for_free_credits() 662 wait_for_free_request(struct TCP_Server_Info *server, const int flags, in wait_for_free_request() 670 wait_for_compound_request(struct TCP_Server_Info *server, int num, in wait_for_compound_request() [all …]
|
D | connect.c | 68 struct TCP_Server_Info *server; 78 static int ip_connect(struct TCP_Server_Info *server); 79 static int generic_ip_connect(struct TCP_Server_Info *server); 89 static int reconn_set_ipaddr_from_hostname(struct TCP_Server_Info *server) in reconn_set_ipaddr_from_hostname() 171 struct TCP_Server_Info *server = container_of(work, in cifs_resolve_server() 172 struct TCP_Server_Info, resolve.work); in cifs_resolve_server() 198 cifs_signal_cifsd_for_reconnect(struct TCP_Server_Info *server, in cifs_signal_cifsd_for_reconnect() 201 struct TCP_Server_Info *pserver; in cifs_signal_cifsd_for_reconnect() 241 cifs_mark_tcp_ses_conns_for_reconnect(struct TCP_Server_Info *server, in cifs_mark_tcp_ses_conns_for_reconnect() 244 struct TCP_Server_Info *pserver; in cifs_mark_tcp_ses_conns_for_reconnect() [all …]
|
D | sess.c | 31 is_server_using_iface(struct TCP_Server_Info *server, in is_server_using_iface() 74 struct TCP_Server_Info *server) in cifs_ses_get_chan_index() 93 struct TCP_Server_Info *server) in cifs_chan_set_in_reconnect() 102 struct TCP_Server_Info *server) in cifs_chan_clear_in_reconnect() 111 struct TCP_Server_Info *server) in cifs_chan_in_reconnect() 120 struct TCP_Server_Info *server) in cifs_chan_set_need_reconnect() 131 struct TCP_Server_Info *server) in cifs_chan_clear_need_reconnect() 142 struct TCP_Server_Info *server) in cifs_chan_needs_reconnect() 151 struct TCP_Server_Info *server) in cifs_chan_is_iface_active() 162 struct TCP_Server_Info *server = ses->server; in cifs_try_adding_channels() [all …]
|
D | smb2pdu.c | 89 struct TCP_Server_Info *server) in smb2_hdr_assemble() 155 struct TCP_Server_Info *server) in smb2_reconnect() 345 struct TCP_Server_Info *server, in fill_small_buf() 371 struct TCP_Server_Info *server, in __smb2_plain_req_init() 403 struct TCP_Server_Info *server, in smb2_plain_req_init() 417 struct TCP_Server_Info *server, in smb2_ioctl_req_init() 538 struct TCP_Server_Info *server, unsigned int *total_len) in assemble_neg_contexts() 541 struct TCP_Server_Info *pserver; in assemble_neg_contexts() 636 static void decode_compress_ctx(struct TCP_Server_Info *server, in decode_compress_ctx() 661 static int decode_encrypt_ctx(struct TCP_Server_Info *server, in decode_encrypt_ctx() [all …]
|
D | smb2misc.c | 136 smb2_check_message(char *buf, unsigned int len, struct TCP_Server_Info *server) in smb2_check_message() 138 struct TCP_Server_Info *pserver; in smb2_check_message() 609 smb2_is_valid_lease_break(char *buffer, struct TCP_Server_Info *server) in smb2_is_valid_lease_break() 612 struct TCP_Server_Info *pserver; in smb2_is_valid_lease_break() 670 smb2_is_valid_oplock_break(char *buffer, struct TCP_Server_Info *server) in smb2_is_valid_oplock_break() 673 struct TCP_Server_Info *pserver; in smb2_is_valid_oplock_break() 808 struct TCP_Server_Info *server = NULL; in smb2_handle_cancelled_close() 833 smb2_handle_cancelled_mid(struct mid_q_entry *mid, struct TCP_Server_Info *server) in smb2_handle_cancelled_mid() 872 smb311_update_preauth_hash(struct cifs_ses *ses, struct TCP_Server_Info *server, in smb311_update_preauth_hash()
|
D | ntlmssp.h | 148 struct TCP_Server_Info *server, 152 struct TCP_Server_Info *server, 156 struct TCP_Server_Info *server,
|
D | smb1ops.c | 29 send_nt_cancel(struct TCP_Server_Info *server, struct smb_rqst *rqst, in send_nt_cancel() 90 cifs_find_mid(struct TCP_Server_Info *server, char *buffer) in cifs_find_mid() 110 cifs_add_credits(struct TCP_Server_Info *server, in cifs_add_credits() 121 cifs_set_credits(struct TCP_Server_Info *server, const int val) in cifs_set_credits() 130 cifs_get_credits_field(struct TCP_Server_Info *server, const int optype) in cifs_get_credits_field() 163 cifs_get_next_mid(struct TCP_Server_Info *server) in cifs_get_next_mid() 378 cifs_downgrade_oplock(struct TCP_Server_Info *server, in cifs_downgrade_oplock() 386 cifs_check_trans2(struct mid_q_entry *mid, struct TCP_Server_Info *server, in cifs_check_trans2() 417 cifs_need_neg(struct TCP_Server_Info *server) in cifs_need_neg() 425 struct TCP_Server_Info *server) in cifs_negotiate() [all …]
|
D | cifsencrypt.c | 28 struct TCP_Server_Info *server, char *signature, in __cifs_calc_signature() 99 struct TCP_Server_Info *server, char *signature) in cifs_calc_signature() 127 int cifs_sign_rqst(struct smb_rqst *rqst, struct TCP_Server_Info *server, in cifs_sign_rqst() 170 int cifs_sign_smbv(struct kvec *iov, int n_vec, struct TCP_Server_Info *server, in cifs_sign_smbv() 180 int cifs_sign_smb(struct smb_hdr *cifs_pdu, struct TCP_Server_Info *server, in cifs_sign_smb() 195 struct TCP_Server_Info *server, in cifs_verify_signature() 716 cifs_crypto_secmech_release(struct TCP_Server_Info *server) in cifs_crypto_secmech_release()
|
D | asn1.c | 13 struct TCP_Server_Info *server) in decode_negTokenInit() 43 struct TCP_Server_Info *server = context; in cifs_neg_token_init_mech_type()
|
D | smb2ops.c | 34 change_conf(struct TCP_Server_Info *server) in change_conf() 67 smb2_add_credits(struct TCP_Server_Info *server, in smb2_add_credits() 164 smb2_set_credits(struct TCP_Server_Info *server, const int val) in smb2_set_credits() 195 smb2_get_credits_field(struct TCP_Server_Info *server, const int optype) in smb2_get_credits_field() 214 smb2_wait_mtu_credits(struct TCP_Server_Info *server, unsigned int size, in smb2_wait_mtu_credits() 279 smb2_adjust_credits(struct TCP_Server_Info *server, in smb2_adjust_credits() 331 smb2_get_next_mid(struct TCP_Server_Info *server) in smb2_get_next_mid() 342 smb2_revert_current_mid(struct TCP_Server_Info *server, const unsigned int val) in smb2_revert_current_mid() 351 __smb2_find_mid(struct TCP_Server_Info *server, char *buf, bool dequeue) in __smb2_find_mid() 381 smb2_find_mid(struct TCP_Server_Info *server, char *buf) in smb2_find_mid() [all …]
|
D | cifs_debug.c | 36 void cifs_dump_detail(void *buf, struct TCP_Server_Info *server) in cifs_dump_detail() 51 void cifs_dump_mids(struct TCP_Server_Info *server) in cifs_dump_mids() 131 struct TCP_Server_Info *server = chan->server; in cifs_dump_channel() 173 struct TCP_Server_Info *server; in cifs_debug_files_proc_show() 220 struct TCP_Server_Info *server; in cifs_debug_data_proc_show() 221 struct TCP_Server_Info *chan_server; in cifs_debug_data_proc_show() 537 struct TCP_Server_Info *server; in cifs_stats_proc_write() 594 struct TCP_Server_Info *server; in cifs_stats_proc_show()
|
D | file.c | 220 struct TCP_Server_Info *server = tcon->ses->server; in cifs_nt_open() 330 struct TCP_Server_Info *server = tcon->ses->server; in cifs_new_fileinfo() 489 struct TCP_Server_Info *server = tcon->ses->server; in _cifsFileInfo_put() 539 struct TCP_Server_Info *server = tcon->ses->server; in _cifsFileInfo_put() 568 struct TCP_Server_Info *server; in cifs_open() 768 struct TCP_Server_Info *server; in cifs_reopen_file() 1033 struct TCP_Server_Info *server; in cifs_closedir() 1118 struct TCP_Server_Info *server = tlink_tcon(cfile->tlink)->ses->server; in cifs_find_fid_lock_conflict() 1180 struct TCP_Server_Info *server = tlink_tcon(cfile->tlink)->ses->server; in cifs_lock_test() 1535 bool *wait_flag, struct TCP_Server_Info *server) in cifs_read_flock() [all …]
|
D | cifs_debug.h | 18 void cifs_dump_detail(void *buf, struct TCP_Server_Info *ptcp_info); 19 void cifs_dump_mids(struct TCP_Server_Info *);
|
D | misc.c | 316 checkSMB(char *buf, unsigned int total_read, struct TCP_Server_Info *server) in checkSMB() 404 is_valid_oplock_break(char *buffer, struct TCP_Server_Info *srv) in is_valid_oplock_break() 408 struct TCP_Server_Info *pserver; in is_valid_oplock_break() 1211 struct TCP_Server_Info *server = sd->data; in tcp_super_cb() 1256 struct super_block *cifs_get_tcp_super(struct TCP_Server_Info *server) in cifs_get_tcp_super() 1267 int match_target_ip(struct TCP_Server_Info *server, in match_target_ip() 1396 int cifs_wait_for_server_reconnect(struct TCP_Server_Info *server, bool retry) in cifs_wait_for_server_reconnect()
|
D | cifs_spnego.h | 33 struct TCP_Server_Info *server);
|
D | inode.c | 396 struct TCP_Server_Info *server; 795 struct TCP_Server_Info *server = tcon->ses->server; 917 struct TCP_Server_Info *server = tcon->ses->server; 972 struct TCP_Server_Info *server; 1442 struct TCP_Server_Info *server; 1650 struct TCP_Server_Info *server; 1831 struct TCP_Server_Info *server = tcon->ses->server; 1924 struct TCP_Server_Info *server; 2002 struct TCP_Server_Info *server; 2081 struct TCP_Server_Info *server; [all …]
|
D | dir.c | 181 struct TCP_Server_Info *server = tcon->ses->server; 416 struct TCP_Server_Info *server; 539 struct TCP_Server_Info *server;
|
D | dfs_cache.c | 1316 static bool target_share_equal(struct TCP_Server_Info *server, const char *s1, const char *s2) in target_share_equal() 1440 struct TCP_Server_Info *server = tcon->ses->server; in refresh_tcon() 1467 struct TCP_Server_Info *server; in dfs_cache_remount_fs() 1524 struct TCP_Server_Info *server; in refresh_mounts() 1554 struct TCP_Server_Info *server = tcon->ses->server; in refresh_mounts()
|
D | cifs_spnego.c | 88 struct TCP_Server_Info *server) in cifs_get_spnego_key()
|