/kernel/linux/linux-6.6/fs/smb/client/ |
H A D | cifsproto.h | 32 extern int smb_send(struct TCP_Server_Info *, struct smb_hdr *, 86 extern int cifs_handle_standard(struct TCP_Server_Info *server, 94 extern int cifs_discard_remaining_data(struct TCP_Server_Info *server); 95 extern int cifs_call_async(struct TCP_Server_Info *server, 100 extern struct TCP_Server_Info *cifs_pick_channel(struct cifs_ses *ses); 102 struct TCP_Server_Info *server, 106 struct TCP_Server_Info *server, 117 struct TCP_Server_Info *, 119 extern struct mid_q_entry *cifs_setup_async_request(struct TCP_Server_Info *, 122 struct TCP_Server_Info *serve [all...] |
H A 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 *sr [all...] |
H A D | cifsglob.h | 247 struct TCP_Server_Info; 264 int (*send_cancel)(struct TCP_Server_Info *, struct smb_rqst *, 269 struct TCP_Server_Info *, 272 struct mid_q_entry *(*setup_async_request)(struct TCP_Server_Info *, 275 int (*check_receive)(struct mid_q_entry *, struct TCP_Server_Info *, 277 void (*add_credits)(struct TCP_Server_Info *server, 280 void (*set_credits)(struct TCP_Server_Info *, const int); 281 int * (*get_credits_field)(struct TCP_Server_Info *, const int); 283 __u64 (*get_next_mid)(struct TCP_Server_Info *); 284 void (*revert_current_mid)(struct TCP_Server_Info *serve 649 struct TCP_Server_Info { global() struct [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 | 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, 312 struct TCP_Server_Info *server, struct sockaddr *dstaddr) {return NULL;} in smbd_get_connection() 313 static inline int smbd_reconnect(struct TCP_Server_Info *server) {return -1; } in smbd_reconnect() 314 static inline void smbd_destroy(struct TCP_Server_Info *server) {} in smbd_destroy() 316 static inline int smbd_send(struct TCP_Server_Info *server, int num_rqst, struct smb_rqst *rqst) {return -1; } in smbd_send()
|
H A 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() 146 smb2_find_smb_ses_unlocked(struct TCP_Server_Info *server, __u64 ses_id) in smb2_find_smb_ses_unlocked() 148 struct TCP_Server_Info *pserver; in smb2_find_smb_ses_unlocked() 172 smb2_find_smb_ses(struct TCP_Server_Info *server, __u64 ses_id) in smb2_find_smb_ses() 204 smb2_find_smb_tcon(struct TCP_Server_Info *server, __u64 ses_id, __u32 tid) in smb2_find_smb_tcon() 229 smb2_calc_signature(struct smb_rqst *rqst, struct TCP_Server_Info *server, in smb2_calc_signature() 319 struct TCP_Server_Info *serve in generate_key() [all...] |
H A D | connect.c | 65 static int ip_connect(struct TCP_Server_Info *server); 66 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() 152 cifs_signal_cifsd_for_reconnect(struct TCP_Server_Info *server, in cifs_signal_cifsd_for_reconnect() 155 struct TCP_Server_Info *pserver; in cifs_signal_cifsd_for_reconnect() 199 cifs_mark_tcp_ses_conns_for_reconnect(struct TCP_Server_Info *server, in cifs_mark_tcp_ses_conns_for_reconnect() 202 struct TCP_Server_Info *pserver; in cifs_mark_tcp_ses_conns_for_reconnect() 287 cifs_abort_connection(struct TCP_Server_Info *server) in cifs_abort_connection() 342 static bool cifs_tcp_ses_needs_reconnect(struct TCP_Server_Info *server, int num_targets) in cifs_tcp_ses_needs_reconnect() 375 static int __cifs_reconnect(struct TCP_Server_Info *serve [all...] |
H A 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() 272 __smb_send_rqst(struct TCP_Server_Info *server, int num_rqst, in __smb_send_rqst() 427 smb_send_rqst(struct TCP_Server_Info *server, int num_rqst, in smb_send_rqst() 470 smb_send(struct TCP_Server_Info *server, struct smb_hdr *smb_buffer, in smb_send() 486 wait_for_free_credits(struct TCP_Server_Info *server, const int num_credits, in wait_for_free_credits() 640 wait_for_free_request(struct TCP_Server_Info *server, const int flags, in wait_for_free_request() 648 wait_for_compound_request(struct TCP_Server_Info *serve [all...] |
H A 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() 96 struct TCP_Server_Info *server) in cifs_chan_set_in_reconnect() 108 struct TCP_Server_Info *server) in cifs_chan_clear_in_reconnect() 119 struct TCP_Server_Info *server) in cifs_chan_in_reconnect() 130 struct TCP_Server_Info *server) in cifs_chan_set_need_reconnect() 143 struct TCP_Server_Info *server) in cifs_chan_clear_need_reconnect() 156 struct TCP_Server_Info *server) in cifs_chan_needs_reconnect() 167 struct TCP_Server_Info *server) in cifs_chan_is_iface_active() 180 struct TCP_Server_Info *serve in cifs_try_adding_channels() [all...] |
H A D | smb2pdu.c | 89 struct TCP_Server_Info *server) in smb2_hdr_assemble() 162 struct TCP_Server_Info *server, in cifs_chan_skip_or_disable() 165 struct TCP_Server_Info *pserver; in cifs_chan_skip_or_disable() 211 struct TCP_Server_Info *server, bool from_reconnect) in smb2_reconnect() 487 struct TCP_Server_Info *server, in fill_small_buf() 513 struct TCP_Server_Info *server, in __smb2_plain_req_init() 545 struct TCP_Server_Info *server, in smb2_plain_req_init() 559 struct TCP_Server_Info *server, in smb2_ioctl_req_init() 680 struct TCP_Server_Info *server, unsigned int *total_len) in assemble_neg_contexts() 683 struct TCP_Server_Info *pserve in assemble_neg_contexts() [all...] |
H A D | ntlmssp.h | 148 struct TCP_Server_Info *server, 152 struct TCP_Server_Info *server, 156 struct TCP_Server_Info *server,
|
H A 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()
|
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 | 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 *serve in cifs_negotiate() [all...] |
/kernel/linux/linux-5.10/fs/cifs/ |
H A D | smb2proto.h | 38 struct TCP_Server_Info *server); 39 extern unsigned int smb2_calc_size(void *buf, struct TCP_Server_Info *server); 45 extern int smb2_verify_signature(struct smb_rqst *, struct TCP_Server_Info *); 47 struct TCP_Server_Info *server, bool log_error); 49 struct TCP_Server_Info *, 52 struct TCP_Server_Info *server, struct smb_rqst *rqst); 53 extern struct cifs_ses *smb2_find_smb_ses(struct TCP_Server_Info *server, 55 extern struct cifs_tcon *smb2_find_smb_tcon(struct TCP_Server_Info *server, 58 struct TCP_Server_Info *server, 61 struct TCP_Server_Info *serve [all...] |
H A D | cifsglob.h | 202 struct TCP_Server_Info; 219 int (*send_cancel)(struct TCP_Server_Info *, struct smb_rqst *, 224 struct TCP_Server_Info *, 227 struct mid_q_entry *(*setup_async_request)(struct TCP_Server_Info *, 230 int (*check_receive)(struct mid_q_entry *, struct TCP_Server_Info *, 232 void (*add_credits)(struct TCP_Server_Info *server, 235 void (*set_credits)(struct TCP_Server_Info *, const int); 236 int * (*get_credits_field)(struct TCP_Server_Info *, const int); 238 __u64 (*get_next_mid)(struct TCP_Server_Info *); 239 void (*revert_current_mid)(struct TCP_Server_Info *serve 671 struct TCP_Server_Info { global() struct [all...] |
H A D | cifsproto.h | 44 extern int smb_send(struct TCP_Server_Info *, struct smb_hdr *, 85 struct TCP_Server_Info *server); 90 extern int cifs_handle_standard(struct TCP_Server_Info *server, 93 extern int cifs_discard_remaining_data(struct TCP_Server_Info *server); 94 extern int cifs_call_async(struct TCP_Server_Info *server, 99 extern struct TCP_Server_Info *cifs_pick_channel(struct cifs_ses *ses); 101 struct TCP_Server_Info *server, 105 struct TCP_Server_Info *server, 116 struct TCP_Server_Info *, 118 extern struct mid_q_entry *cifs_setup_async_request(struct TCP_Server_Info *, [all...] |
H A D | smbdirect.h | 263 struct TCP_Server_Info *server, struct sockaddr *dstaddr); 266 int smbd_reconnect(struct TCP_Server_Info *server); 268 void smbd_destroy(struct TCP_Server_Info *server); 272 int smbd_send(struct TCP_Server_Info *server, 309 struct TCP_Server_Info *server, struct sockaddr *dstaddr) {return NULL;} in smbd_get_connection() 310 static inline int smbd_reconnect(struct TCP_Server_Info *server) {return -1; } in smbd_reconnect() 311 static inline void smbd_destroy(struct TCP_Server_Info *server) {} in smbd_destroy() 313 static inline int smbd_send(struct TCP_Server_Info *server, int num_rqst, struct smb_rqst *rqst) {return -1; } in smbd_send()
|
H A D | smb2transport.c | 44 smb3_crypto_shash_allocate(struct TCP_Server_Info *server) in smb3_crypto_shash_allocate() 66 smb311_crypto_shash_allocate(struct TCP_Server_Info *server) in smb311_crypto_shash_allocate() 95 int smb2_get_sign_key(__u64 ses_id, struct TCP_Server_Info *server, u8 *key) in smb2_get_sign_key() 99 struct TCP_Server_Info *it = NULL; in smb2_get_sign_key() 150 smb2_find_smb_ses_unlocked(struct TCP_Server_Info *server, __u64 ses_id) in smb2_find_smb_ses_unlocked() 164 smb2_find_smb_ses(struct TCP_Server_Info *server, __u64 ses_id) in smb2_find_smb_ses() 196 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() 306 struct TCP_Server_Info *server = ses->server; in generate_key() 401 struct TCP_Server_Info *serve in generate_smb3signingkey() [all...] |
H A D | transport.c | 54 AllocMidQEntry(const struct smb_hdr *smb_buffer, struct TCP_Server_Info *server) in AllocMidQEntry() 99 struct TCP_Server_Info *server = midEntry->server; in _cifs_mid_q_entry_release() 203 smb_send_kvec(struct TCP_Server_Info *server, struct msghdr *smb_msg, in smb_send_kvec() 268 smb_rqst_len(struct TCP_Server_Info *server, struct smb_rqst *rqst) in smb_rqst_len() 312 __smb_send_rqst(struct TCP_Server_Info *server, int num_rqst, in __smb_send_rqst() 462 smb_send_rqst(struct TCP_Server_Info *server, int num_rqst, in smb_send_rqst() 507 smb_send(struct TCP_Server_Info *server, struct smb_hdr *smb_buffer, in smb_send() 523 wait_for_free_credits(struct TCP_Server_Info *server, const int num_credits, in wait_for_free_credits() 641 wait_for_free_request(struct TCP_Server_Info *server, const int flags, in wait_for_free_request() 649 wait_for_compound_request(struct TCP_Server_Info *serve [all...] |
H A D | fscache.h | 65 extern void cifs_fscache_get_client_cookie(struct TCP_Server_Info *); 66 extern void cifs_fscache_release_client_cookie(struct TCP_Server_Info *); 131 cifs_fscache_get_client_cookie(struct TCP_Server_Info *server) {} in cifs_fscache_get_client_cookie() 133 cifs_fscache_release_client_cookie(struct TCP_Server_Info *server) {} in cifs_fscache_release_client_cookie()
|
H A D | cifs_debug.c | 35 void cifs_dump_detail(void *buf, struct TCP_Server_Info *server) in cifs_dump_detail() 48 void cifs_dump_mids(struct TCP_Server_Info *server) in cifs_dump_mids() 127 struct TCP_Server_Info *server = chan->server; in cifs_dump_channel() 167 struct TCP_Server_Info *server; in cifs_debug_files_proc_show() 182 server = list_entry(stmp, struct TCP_Server_Info, in cifs_debug_files_proc_show() 220 struct TCP_Server_Info *server; in cifs_debug_data_proc_show() 273 server = list_entry(tmp1, struct TCP_Server_Info, in cifs_debug_data_proc_show() 475 struct TCP_Server_Info *server; in cifs_stats_proc_write() 496 server = list_entry(tmp1, struct TCP_Server_Info, in cifs_stats_proc_write() 540 struct TCP_Server_Info *serve in cifs_stats_proc_show() [all...] |
H A D | connect.c | 283 static int ip_connect(struct TCP_Server_Info *server); 284 static int generic_ip_connect(struct TCP_Server_Info *server); 296 static int reconn_set_ipaddr(struct TCP_Server_Info *server) in reconn_set_ipaddr() 332 static inline int reconn_set_ipaddr(struct TCP_Server_Info *server) in reconn_set_ipaddr() 340 static void reconn_set_next_dfs_target(struct TCP_Server_Info *server, in reconn_set_next_dfs_target() 390 cifs_reconnect(struct TCP_Server_Info *server) in cifs_reconnect() 583 struct TCP_Server_Info *server = container_of(work, in cifs_echo_request() 584 struct TCP_Server_Info, echo.work); in cifs_echo_request() 618 allocate_buffers(struct TCP_Server_Info *server) in allocate_buffers() 651 server_unresponsive(struct TCP_Server_Info *serve [all...] |
H A D | smb2pdu.c | 102 struct TCP_Server_Info *server) in smb2_hdr_assemble() 157 struct TCP_Server_Info *server) in smb2_reconnect() 346 struct TCP_Server_Info *server, in fill_small_buf() 372 struct TCP_Server_Info *server, in __smb2_plain_req_init() 404 struct TCP_Server_Info *server, in smb2_plain_req_init() 418 struct TCP_Server_Info *server, in smb2_ioctl_req_init() 518 struct TCP_Server_Info *server, unsigned int *total_len) in assemble_neg_contexts() 587 static void decode_compress_ctx(struct TCP_Server_Info *server, in decode_compress_ctx() 608 static int decode_encrypt_ctx(struct TCP_Server_Info *server, in decode_encrypt_ctx() 656 struct TCP_Server_Info *serve in smb311_decode_neg_context() [all...] |
H A D | smb2misc.c | 140 smb2_check_message(char *buf, unsigned int len, struct TCP_Server_Info *srvr) in smb2_check_message() 403 smb2_calc_size(void *buf, struct TCP_Server_Info *srvr) in smb2_calc_size() 607 struct TCP_Server_Info *server; in smb2_is_valid_lease_break() 617 server = list_entry(tmp, struct TCP_Server_Info, tcp_ses_list); in smb2_is_valid_lease_break() 671 smb2_is_valid_oplock_break(char *buffer, struct TCP_Server_Info *server) in smb2_is_valid_oplock_break() 807 struct TCP_Server_Info *server = NULL; in smb2_handle_cancelled_close() 832 smb2_handle_cancelled_mid(struct mid_q_entry *mid, struct TCP_Server_Info *server) in smb2_handle_cancelled_mid() 871 struct TCP_Server_Info *server = cifs_ses_server(ses); in smb311_update_preauth_hash()
|