| /linux/fs/smb/client/ |
| H A D | cifsproto.h | 34 int smb_send_kvec(struct TCP_Server_Info *server, struct msghdr *smb_msg, 83 void delete_mid(struct TCP_Server_Info *server, struct mid_q_entry *mid); 84 void __release_mid(struct TCP_Server_Info *server, 86 void cifs_wake_up_task(struct TCP_Server_Info *server, 88 int cifs_handle_standard(struct TCP_Server_Info *server, 95 int cifs_discard_remaining_data(struct TCP_Server_Info *server); 96 int cifs_call_async(struct TCP_Server_Info *server, struct smb_rqst *rqst, 100 struct TCP_Server_Info *cifs_pick_channel(struct cifs_ses *ses); 102 struct TCP_Server_Info *server, struct smb_rqst *rqst, 105 struct TCP_Server_Info *server, const int flags, [all …]
|
| H A D | smb2proto.h | 28 struct TCP_Server_Info *server); 35 struct TCP_Server_Info *server); 36 int smb2_check_receive(struct mid_q_entry *mid, struct TCP_Server_Info *server, 39 struct TCP_Server_Info *server, 41 struct mid_q_entry *smb2_setup_async_request(struct TCP_Server_Info *server, 43 struct cifs_tcon *smb2_find_smb_tcon(struct TCP_Server_Info *server, 46 bool smb2_is_valid_oplock_break(char *buffer, struct TCP_Server_Info *server); 47 int smb3_handle_read_data(struct TCP_Server_Info *server, 111 int smb3_crypto_aead_allocate(struct TCP_Server_Info *server); 112 unsigned long smb_rqst_len(struct TCP_Server_Info *server, [all …]
|
| H A D | cifsglob.h | 298 struct TCP_Server_Info; 314 int (*send_cancel)(struct cifs_ses *ses, struct TCP_Server_Info *server, 320 struct TCP_Server_Info *, 323 struct mid_q_entry *(*setup_async_request)(struct TCP_Server_Info *, 326 int (*check_receive)(struct mid_q_entry *, struct TCP_Server_Info *, 328 void (*add_credits)(struct TCP_Server_Info *server, 331 void (*set_credits)(struct TCP_Server_Info *, const int); 332 int * (*get_credits_field)(struct TCP_Server_Info *, const int); 334 __u64 (*get_next_mid)(struct TCP_Server_Info *); 335 void (*revert_current_mid)(struct TCP_Server_Info *server, [all …]
|
| H A D | smbdirect.h | 45 struct TCP_Server_Info *server, struct sockaddr *dstaddr); 50 int smbd_reconnect(struct TCP_Server_Info *server); 52 void smbd_destroy(struct TCP_Server_Info *server); 56 int smbd_send(struct TCP_Server_Info *server, 69 struct TCP_Server_Info *server, struct sockaddr *dstaddr) {return NULL;} in smbd_get_connection() 70 static inline int smbd_reconnect(struct TCP_Server_Info *server) {return -1; } in smbd_reconnect() 71 static inline void smbd_destroy(struct TCP_Server_Info *server) {} in smbd_destroy() 73 static inline int smbd_send(struct TCP_Server_Info *server, int num_rqst, struct smb_rqst *rqst) {r… in smbd_send()
|
| H A D | smb2transport.c | 32 smb3_crypto_shash_allocate(struct TCP_Server_Info *server) in smb3_crypto_shash_allocate() 40 int smb3_get_sign_key(__u64 ses_id, struct TCP_Server_Info *server, u8 *key) in smb3_get_sign_key() 43 struct TCP_Server_Info *pserver; in smb3_get_sign_key() 109 smb2_find_smb_ses_unlocked(struct TCP_Server_Info *server, __u64 ses_id) in smb2_find_smb_ses_unlocked() 111 struct TCP_Server_Info *pserver; in smb2_find_smb_ses_unlocked() 134 static int smb2_get_sign_key(struct TCP_Server_Info *server, in smb2_get_sign_key() 194 smb2_find_smb_tcon(struct TCP_Server_Info *server, __u64 ses_id, __u32 tid) in smb2_find_smb_tcon() 214 smb2_calc_signature(struct smb_rqst *rqst, struct TCP_Server_Info *server, in smb2_calc_signature() 270 struct TCP_Server_Info *server = ses->server; in generate_key() 314 struct TCP_Server_Info *server, in generate_smb3signingkey() [all …]
|
| H A D | smb1proto.h | 34 struct TCP_Server_Info *server); 38 int CIFSSMBEcho(struct TCP_Server_Info *server); 222 struct TCP_Server_Info *server); 227 int cifs_sign_rqst(struct smb_rqst *rqst, struct TCP_Server_Info *server, 230 struct TCP_Server_Info *server, 237 int map_and_check_smb_error(struct TCP_Server_Info *server, 245 bool is_valid_oplock_break(char *buffer, struct TCP_Server_Info *srv); 262 struct TCP_Server_Info *server, 268 struct mid_q_entry *cifs_setup_async_request(struct TCP_Server_Info *server, 272 int cifs_check_receive(struct mid_q_entry *mid, struct TCP_Server_Info *server, [all …]
|
| H A 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()
|
| H A D | transport.c | 34 cifs_wake_up_task(struct TCP_Server_Info *server, struct mid_q_entry *mid) in cifs_wake_up_task() 41 void __release_mid(struct TCP_Server_Info *server, struct mid_q_entry *midEntry) in __release_mid() 119 delete_mid(struct TCP_Server_Info *server, struct mid_q_entry *mid) in delete_mid() 142 smb_send_kvec(struct TCP_Server_Info *server, struct msghdr *smb_msg, in smb_send_kvec() 214 smb_rqst_len(struct TCP_Server_Info *server, struct smb_rqst *rqst) in smb_rqst_len() 238 int __smb_send_rqst(struct TCP_Server_Info *server, int num_rqst, in __smb_send_rqst() 386 smb_send_rqst(struct TCP_Server_Info *server, int num_rqst, in smb_send_rqst() 424 wait_for_free_credits(struct TCP_Server_Info *server, const int num_credits, in wait_for_free_credits() 577 int wait_for_free_request(struct TCP_Server_Info *server, const int flags, in wait_for_free_request() 585 wait_for_compound_request(struct TCP_Server_Info *server, int num, in wait_for_compound_request() [all …]
|
| H A D | connect.c | 61 static int ip_connect(struct TCP_Server_Info *server); 62 static int generic_ip_connect(struct TCP_Server_Info *server); 76 static int reconn_set_ipaddr_from_hostname(struct TCP_Server_Info *server) in reconn_set_ipaddr_from_hostname() 110 struct TCP_Server_Info *server = tcon->ses->server; in smb2_query_server_interfaces() 148 cifs_signal_cifsd_for_reconnect(struct TCP_Server_Info *server, in cifs_signal_cifsd_for_reconnect() 151 struct TCP_Server_Info *nserver; in cifs_signal_cifsd_for_reconnect() 203 cifs_mark_tcp_ses_conns_for_reconnect(struct TCP_Server_Info *server, in cifs_mark_tcp_ses_conns_for_reconnect() 206 struct TCP_Server_Info *pserver; in cifs_mark_tcp_ses_conns_for_reconnect() 297 cifs_abort_connection(struct TCP_Server_Info *server) in cifs_abort_connection() 348 static bool cifs_tcp_ses_needs_reconnect(struct TCP_Server_Info *server, int num_targets) in cifs_tcp_ses_needs_reconnect() [all …]
|
| H A D | sess.c | 48 struct TCP_Server_Info *server) in cifs_ses_get_chan_index() 70 struct TCP_Server_Info *server) in cifs_chan_set_in_reconnect() 82 struct TCP_Server_Info *server) in cifs_chan_clear_in_reconnect() 94 struct TCP_Server_Info *server) in cifs_chan_set_need_reconnect() 108 struct TCP_Server_Info *server) in cifs_chan_clear_need_reconnect() 122 struct TCP_Server_Info *server) in cifs_chan_needs_reconnect() 134 struct TCP_Server_Info *server) in cifs_chan_is_iface_active() 148 struct TCP_Server_Info *server = ses->server; in cifs_try_adding_channels() 279 struct TCP_Server_Info *server; in cifs_decrease_secondary_channels() 343 cifs_chan_update_iface(struct cifs_ses *ses, struct TCP_Server_Info *server) in cifs_chan_update_iface() [all …]
|
| H A D | smb1transport.c | 37 alloc_mid(const struct smb_hdr *smb_buffer, struct TCP_Server_Info *server) in alloc_mid() 105 cifs_setup_async_request(struct TCP_Server_Info *server, struct smb_rqst *rqst) in cifs_setup_async_request() 156 cifs_check_receive(struct mid_q_entry *mid, struct TCP_Server_Info *server, in cifs_check_receive() 191 cifs_setup_request(struct cifs_ses *ses, struct TCP_Server_Info *server, in cifs_setup_request() 228 struct TCP_Server_Info *server; in SendReceive() 414 cifs_check_trans2(struct mid_q_entry *mid, struct TCP_Server_Info *server, in cifs_check_trans2() 477 struct TCP_Server_Info *server) in checkSMB()
|
| H A D | ntlmssp.h | 149 struct TCP_Server_Info *server, 153 struct TCP_Server_Info *server, 157 struct TCP_Server_Info *server,
|
| H A D | smb1encrypt.c | 27 struct TCP_Server_Info *server, char *signature) in cifs_calc_signature() 48 int cifs_sign_rqst(struct smb_rqst *rqst, struct TCP_Server_Info *server, in cifs_sign_rqst() 88 struct TCP_Server_Info *server, in cifs_verify_signature()
|
| H A D | smb2pdu.c | 97 struct TCP_Server_Info *server) in smb2_hdr_assemble() 170 struct TCP_Server_Info *server, in cifs_chan_skip_or_disable() 173 struct TCP_Server_Info *pserver; in cifs_chan_skip_or_disable() 227 int smb3_update_ses_channels(struct cifs_ses *ses, struct TCP_Server_Info *server, in smb3_update_ses_channels() 251 struct TCP_Server_Info *server, bool from_reconnect) in smb2_reconnect() 529 struct TCP_Server_Info *server, in fill_small_buf() 555 struct TCP_Server_Info *server, in __smb2_plain_req_init() 587 struct TCP_Server_Info *server, in smb2_plain_req_init() 601 struct TCP_Server_Info *server, in smb2_ioctl_req_init() 729 struct TCP_Server_Info *server, unsigned int *total_len) in assemble_neg_contexts() [all …]
|
| H A D | smb2misc.c | 138 struct TCP_Server_Info *server) in smb2_check_message() 140 struct TCP_Server_Info *pserver; in smb2_check_message() 601 smb2_is_valid_lease_break(char *buffer, struct TCP_Server_Info *server) in smb2_is_valid_lease_break() 604 struct TCP_Server_Info *pserver; in smb2_is_valid_lease_break() 675 smb2_is_valid_oplock_break(char *buffer, struct TCP_Server_Info *server) in smb2_is_valid_oplock_break() 678 struct TCP_Server_Info *pserver; in smb2_is_valid_oplock_break() 815 struct TCP_Server_Info *server = NULL; in smb2_handle_cancelled_close() 845 smb2_handle_cancelled_mid(struct mid_q_entry *mid, struct TCP_Server_Info *server) in smb2_handle_cancelled_mid() 884 smb311_update_preauth_hash(struct cifs_ses *ses, struct TCP_Server_Info *server, in smb311_update_preauth_hash()
|
| H A D | smb1ops.c | 144 send_nt_cancel(struct cifs_ses *ses, struct TCP_Server_Info *server, in send_nt_cancel() 191 send_lock_cancel(struct cifs_ses *ses, struct TCP_Server_Info *server, in send_lock_cancel() 217 static int cifs_send_cancel(struct cifs_ses *ses, struct TCP_Server_Info *server, in cifs_send_cancel() 250 cifs_find_mid(struct TCP_Server_Info *server, char *buffer) in cifs_find_mid() 270 cifs_add_credits(struct TCP_Server_Info *server, in cifs_add_credits() 281 cifs_set_credits(struct TCP_Server_Info *server, const int val) in cifs_set_credits() 290 cifs_get_credits_field(struct TCP_Server_Info *server, const int optype) in cifs_get_credits_field() 323 cifs_get_next_mid(struct TCP_Server_Info *server) in cifs_get_next_mid() 399 cifs_downgrade_oplock(struct TCP_Server_Info *server, in cifs_downgrade_oplock() 408 cifs_need_neg(struct TCP_Server_Info *server) in cifs_need_neg() [all …]
|
| H A D | compress.h | 30 typedef int (*compress_send_fn)(struct TCP_Server_Info *, int, struct smb_rqst *); 33 int smb_compress(struct TCP_Server_Info *server, struct smb_rqst *rq,
|
| H A 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()
|
| H A D | smb1session.c | 22 struct TCP_Server_Info *server; 40 struct TCP_Server_Info *server, in cifs_ssetup_hdr() 371 struct TCP_Server_Info *server = sess_data->server; in sess_establish_session() 425 struct TCP_Server_Info *server = sess_data->server; in sess_auth_ntlmv2() 535 struct TCP_Server_Info *server = sess_data->server; in sess_auth_kerberos() 676 struct TCP_Server_Info *server = sess_data->server; in _sess_auth_rawntlmssp_assemble_req() 716 struct TCP_Server_Info *server = sess_data->server; in sess_auth_rawntlmssp_negotiate() 822 struct TCP_Server_Info *server = sess_data->server; in sess_auth_rawntlmssp_authenticate() 928 struct TCP_Server_Info *server = sess_data->server; in select_sec() 961 struct TCP_Server_Info *server, in CIFS_SessSetup()
|
| H A D | smb2ops.c | 36 change_conf(struct TCP_Server_Info *server) in change_conf() 69 smb2_add_credits(struct TCP_Server_Info *server, in smb2_add_credits() 185 smb2_set_credits(struct TCP_Server_Info *server, const int val) in smb2_set_credits() 216 smb2_get_credits_field(struct TCP_Server_Info *server, const int optype) in smb2_get_credits_field() 235 smb2_wait_mtu_credits(struct TCP_Server_Info *server, size_t size, in smb2_wait_mtu_credits() 300 smb2_adjust_credits(struct TCP_Server_Info *server, in smb2_adjust_credits() 373 smb2_get_next_mid(struct TCP_Server_Info *server) in smb2_get_next_mid() 384 smb2_revert_current_mid(struct TCP_Server_Info *server, const unsigned int val) in smb2_revert_current_mid() 393 __smb2_find_mid(struct TCP_Server_Info *server, char *buf, bool dequeue) in __smb2_find_mid() 423 smb2_find_mid(struct TCP_Server_Info *server, char *buf) in smb2_find_mid() [all …]
|
| H A D | cifs_debug.c | 39 void cifs_dump_mids(struct TCP_Server_Info *server) in cifs_dump_mids() 125 struct TCP_Server_Info *server = chan->server; in cifs_dump_channel() 223 struct TCP_Server_Info *server; in cifs_debug_files_proc_show() 302 struct TCP_Server_Info *server; in cifs_debug_dirs_proc_show() 315 server = list_entry(stmp, struct TCP_Server_Info, in cifs_debug_dirs_proc_show() 394 struct TCP_Server_Info *server; in cifs_debug_data_proc_show() 395 struct TCP_Server_Info *chan_server; in cifs_debug_data_proc_show() 746 struct TCP_Server_Info *server; in cifs_stats_proc_write() 806 struct TCP_Server_Info *server; in cifs_stats_proc_show()
|
| H A D | fs_context.h | 399 static inline void cifs_negotiate_rsize(struct TCP_Server_Info *server, in cifs_negotiate_rsize() 411 static inline void cifs_negotiate_wsize(struct TCP_Server_Info *server, in cifs_negotiate_wsize() 423 static inline void cifs_negotiate_iosize(struct TCP_Server_Info *server, in cifs_negotiate_iosize()
|
| H A D | smb1misc.c | 66 is_valid_oplock_break(char *buffer, struct TCP_Server_Info *srv) in is_valid_oplock_break() 70 struct TCP_Server_Info *pserver; in is_valid_oplock_break()
|
| H A D | file.c | 53 struct TCP_Server_Info *server; in cifs_prepare_write() 159 struct TCP_Server_Info *server; in cifs_prepare_read() 215 struct TCP_Server_Info *server = rdata->server; in cifs_issue_read() 549 struct TCP_Server_Info *server = tcon->ses->server; in cifs_nt_open() 667 struct TCP_Server_Info *server = tcon->ses->server; in cifs_new_fileinfo() 797 struct TCP_Server_Info *server = tcon->ses->server; in serverclose_work() 857 struct TCP_Server_Info *server = tcon->ses->server; in _cifsFileInfo_put() 910 struct TCP_Server_Info *server = tcon->ses->server; in _cifsFileInfo_put() 975 struct TCP_Server_Info *server; in cifs_do_truncate() 1009 struct TCP_Server_Info *server; in cifs_open() [all …]
|
| H A D | cifs_spnego.h | 32 struct TCP_Server_Info *server);
|