Home
last modified time | relevance | path

Searched refs:TCP_Server_Info (Results 1 – 25 of 40) sorted by relevance

12

/linux/fs/smb/client/
H A Dcifsproto.h33 extern int smb_send_kvec(struct TCP_Server_Info *server,
84 void delete_mid(struct TCP_Server_Info *server, struct mid_q_entry *mid);
85 void __release_mid(struct TCP_Server_Info *server, struct mid_q_entry *mid);
86 void cifs_wake_up_task(struct TCP_Server_Info *server, struct mid_q_entry *mid);
87 extern int cifs_handle_standard(struct TCP_Server_Info *server,
95 extern int cifs_discard_remaining_data(struct TCP_Server_Info *server);
96 extern int cifs_call_async(struct TCP_Server_Info *server,
101 extern struct TCP_Server_Info *cifs_pick_channel(struct cifs_ses *ses);
103 struct TCP_Server_Info *server,
107 struct TCP_Server_Info *server,
[all …]
H A Dsmb2proto.h27 struct TCP_Server_Info *server);
34 extern int smb2_verify_signature(struct smb_rqst *, struct TCP_Server_Info *);
36 struct TCP_Server_Info *server, bool log_error);
38 struct TCP_Server_Info *,
41 struct TCP_Server_Info *server, struct smb_rqst *rqst);
42 extern struct cifs_tcon *smb2_find_smb_tcon(struct TCP_Server_Info *server,
46 struct TCP_Server_Info *srv);
47 extern int smb3_handle_read_data(struct TCP_Server_Info *server,
121 extern int smb3_crypto_aead_allocate(struct TCP_Server_Info *server);
122 extern unsigned long smb_rqst_len(struct TCP_Server_Info *server,
[all …]
H A Dsmbdirect.h45 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 Dcifsglob.h298 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 Dsmb2transport.c31 smb3_crypto_shash_allocate(struct TCP_Server_Info *server) in smb3_crypto_shash_allocate()
39 int smb3_get_sign_key(__u64 ses_id, struct TCP_Server_Info *server, u8 *key) in smb3_get_sign_key()
42 struct TCP_Server_Info *pserver; in smb3_get_sign_key()
108 smb2_find_smb_ses_unlocked(struct TCP_Server_Info *server, __u64 ses_id) in smb2_find_smb_ses_unlocked()
110 struct TCP_Server_Info *pserver; in smb2_find_smb_ses_unlocked()
133 static int smb2_get_sign_key(struct TCP_Server_Info *server, in smb2_get_sign_key()
193 smb2_find_smb_tcon(struct TCP_Server_Info *server, __u64 ses_id, __u32 tid) in smb2_find_smb_tcon()
213 smb2_calc_signature(struct smb_rqst *rqst, struct TCP_Server_Info *server, in smb2_calc_signature()
269 struct TCP_Server_Info *server = ses->server; in generate_key()
313 struct TCP_Server_Info *server, in generate_smb3signingkey()
[all …]
H A Dcifs_swn.h27 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 Dtransport.c35 cifs_wake_up_task(struct TCP_Server_Info *server, struct mid_q_entry *mid) in cifs_wake_up_task()
42 void __release_mid(struct TCP_Server_Info *server, struct mid_q_entry *midEntry) in __release_mid()
120 delete_mid(struct TCP_Server_Info *server, struct mid_q_entry *mid) in delete_mid()
143 smb_send_kvec(struct TCP_Server_Info *server, struct msghdr *smb_msg, in smb_send_kvec()
215 smb_rqst_len(struct TCP_Server_Info *server, struct smb_rqst *rqst) in smb_rqst_len()
239 int __smb_send_rqst(struct TCP_Server_Info *server, int num_rqst, in __smb_send_rqst()
387 smb_send_rqst(struct TCP_Server_Info *server, int num_rqst, in smb_send_rqst()
425 wait_for_free_credits(struct TCP_Server_Info *server, const int num_credits, in wait_for_free_credits()
578 int wait_for_free_request(struct TCP_Server_Info *server, const int flags, in wait_for_free_request()
586 wait_for_compound_request(struct TCP_Server_Info *server, int num, in wait_for_compound_request()
[all …]
H A Dconnect.c62 static int ip_connect(struct TCP_Server_Info *server);
63 static int generic_ip_connect(struct TCP_Server_Info *server);
73 static int reconn_set_ipaddr_from_hostname(struct TCP_Server_Info *server) in reconn_set_ipaddr_from_hostname()
107 struct TCP_Server_Info *server = tcon->ses->server; in smb2_query_server_interfaces()
145 cifs_signal_cifsd_for_reconnect(struct TCP_Server_Info *server, in cifs_signal_cifsd_for_reconnect()
148 struct TCP_Server_Info *nserver; in cifs_signal_cifsd_for_reconnect()
200 cifs_mark_tcp_ses_conns_for_reconnect(struct TCP_Server_Info *server, in cifs_mark_tcp_ses_conns_for_reconnect()
203 struct TCP_Server_Info *pserver; in cifs_mark_tcp_ses_conns_for_reconnect()
294 cifs_abort_connection(struct TCP_Server_Info *server) in cifs_abort_connection()
345 static bool cifs_tcp_ses_needs_reconnect(struct TCP_Server_Info *server, int num_targets) in cifs_tcp_ses_needs_reconnect()
[all …]
H A Dcifstransport.c37 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()
185 cifs_setup_request(struct cifs_ses *ses, struct TCP_Server_Info *server, in cifs_setup_request()
222 struct TCP_Server_Info *server; in SendReceive()
H A Dsess.c49 struct TCP_Server_Info *server) in cifs_ses_get_chan_index()
71 struct TCP_Server_Info *server) in cifs_chan_set_in_reconnect()
83 struct TCP_Server_Info *server) in cifs_chan_clear_in_reconnect()
95 struct TCP_Server_Info *server) in cifs_chan_set_need_reconnect()
109 struct TCP_Server_Info *server) in cifs_chan_clear_need_reconnect()
123 struct TCP_Server_Info *server) in cifs_chan_needs_reconnect()
135 struct TCP_Server_Info *server) in cifs_chan_is_iface_active()
149 struct TCP_Server_Info *server = ses->server; in cifs_try_adding_channels()
280 struct TCP_Server_Info *server; in cifs_decrease_secondary_channels()
344 cifs_chan_update_iface(struct cifs_ses *ses, struct TCP_Server_Info *server) in cifs_chan_update_iface()
[all …]
H A Dcompress.h30 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, compress_send_fn send_fn);
H A Dsmb2pdu.c97 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 Dsmb2misc.c138 struct TCP_Server_Info *server) in smb2_check_message()
140 struct TCP_Server_Info *pserver; in smb2_check_message()
611 smb2_is_valid_lease_break(char *buffer, struct TCP_Server_Info *server) in smb2_is_valid_lease_break()
614 struct TCP_Server_Info *pserver; in smb2_is_valid_lease_break()
685 smb2_is_valid_oplock_break(char *buffer, struct TCP_Server_Info *server) in smb2_is_valid_oplock_break()
688 struct TCP_Server_Info *pserver; in smb2_is_valid_oplock_break()
825 struct TCP_Server_Info *server = NULL; in smb2_handle_cancelled_close()
855 smb2_handle_cancelled_mid(struct mid_q_entry *mid, struct TCP_Server_Info *server) in smb2_handle_cancelled_mid()
894 smb311_update_preauth_hash(struct cifs_ses *ses, struct TCP_Server_Info *server, in smb311_update_preauth_hash()
H A Dsmb1ops.c33 send_nt_cancel(struct cifs_ses *ses, struct TCP_Server_Info *server, in send_nt_cancel()
80 send_lock_cancel(struct cifs_ses *ses, struct TCP_Server_Info *server, in send_lock_cancel()
106 static int cifs_send_cancel(struct cifs_ses *ses, struct TCP_Server_Info *server, in cifs_send_cancel()
139 cifs_find_mid(struct TCP_Server_Info *server, char *buffer) in cifs_find_mid()
159 cifs_add_credits(struct TCP_Server_Info *server, in cifs_add_credits()
170 cifs_set_credits(struct TCP_Server_Info *server, const int val) in cifs_set_credits()
179 cifs_get_credits_field(struct TCP_Server_Info *server, const int optype) in cifs_get_credits_field()
212 cifs_get_next_mid(struct TCP_Server_Info *server) in cifs_get_next_mid()
428 cifs_downgrade_oplock(struct TCP_Server_Info *server, in cifs_downgrade_oplock()
436 cifs_check_trans2(struct mid_q_entry *mid, struct TCP_Server_Info *server, in cifs_check_trans2()
[all …]
H A Dasn1.c13 struct TCP_Server_Info *server) in decode_negTokenInit()
43 struct TCP_Server_Info *server = context; in cifs_neg_token_init_mech_type()
H A Dcifsencrypt.c88 int __cifs_calc_signature(struct smb_rqst *rqst, struct TCP_Server_Info *server, in __cifs_calc_signature()
127 struct TCP_Server_Info *server, char *signature) in cifs_calc_signature()
148 int cifs_sign_rqst(struct smb_rqst *rqst, struct TCP_Server_Info *server, in cifs_sign_rqst()
188 struct TCP_Server_Info *server, in cifs_verify_signature()
471 struct TCP_Server_Info *server = ses->server; in set_auth_key_response()
648 cifs_crypto_secmech_release(struct TCP_Server_Info *server) in cifs_crypto_secmech_release()
H A Dcifs_debug.c40 void cifs_dump_detail(void *buf, size_t buf_len, struct TCP_Server_Info *server) in cifs_dump_detail()
55 void cifs_dump_mids(struct TCP_Server_Info *server) in cifs_dump_mids()
141 struct TCP_Server_Info *server = chan->server; in cifs_dump_channel()
239 struct TCP_Server_Info *server; in cifs_debug_files_proc_show()
318 struct TCP_Server_Info *server; in cifs_debug_dirs_proc_show()
331 server = list_entry(stmp, struct TCP_Server_Info, in cifs_debug_dirs_proc_show()
410 struct TCP_Server_Info *server; in cifs_debug_data_proc_show()
411 struct TCP_Server_Info *chan_server; in cifs_debug_data_proc_show()
762 struct TCP_Server_Info *server; in cifs_stats_proc_write()
822 struct TCP_Server_Info *server; in cifs_stats_proc_show()
H A Dsmb2ops.c36 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 *serve
[all...]
H A Dcifs_debug.h18 void cifs_dump_detail(void *buf, size_t buf_len, struct TCP_Server_Info *server);
19 void cifs_dump_mids(struct TCP_Server_Info *server);
H A Dfs_context.h397 static inline void cifs_negotiate_rsize(struct TCP_Server_Info *server, in cifs_negotiate_rsize()
409 static inline void cifs_negotiate_wsize(struct TCP_Server_Info *server, in cifs_negotiate_wsize()
421 static inline void cifs_negotiate_iosize(struct TCP_Server_Info *server, in cifs_negotiate_iosize()
H A Dcifs_spnego.h32 struct TCP_Server_Info *server);
H A Dfile.c54 struct TCP_Server_Info *server; in cifs_prepare_write()
160 struct TCP_Server_Info *server; in cifs_prepare_read()
216 struct TCP_Server_Info *server = rdata->server; in cifs_issue_read()
550 struct TCP_Server_Info *server = tcon->ses->server; in cifs_nt_open()
675 struct TCP_Server_Info *server = tcon->ses->server; in cifs_new_fileinfo()
809 struct TCP_Server_Info *server = tcon->ses->server; in serverclose_work()
869 struct TCP_Server_Info *server = tcon->ses->server; in _cifsFileInfo_put()
922 struct TCP_Server_Info *server = tcon->ses->server; in _cifsFileInfo_put()
987 struct TCP_Server_Info *server; in cifs_do_truncate()
1023 struct TCP_Server_Info *server; in cifs_open()
[all …]
H A Ddfs.c312 static int target_share_matches_server(struct TCP_Server_Info *server, char *share, in target_share_matches_server()
343 struct TCP_Server_Info *server = tcon->ses->server; in tree_connect_dfs_target()
389 struct TCP_Server_Info *server = tcon->ses->server; in cifs_tree_connect()
H A Dmisc.c350 struct TCP_Server_Info *server) in checkSMB()
444 is_valid_oplock_break(char *buffer, struct TCP_Server_Info *srv) in is_valid_oplock_break()
448 struct TCP_Server_Info *pserver; in is_valid_oplock_break()
1208 int match_target_ip(struct TCP_Server_Info *server, in match_target_ip()
1265 struct TCP_Server_Info *server = tcon->ses->server; in cifs_inval_name_dfs_link_error()
1329 int cifs_wait_for_server_reconnect(struct TCP_Server_Info *server, bool retry) in cifs_wait_for_server_reconnect()
H A Dinode.c438 struct TCP_Server_Info *server; in cifs_get_unix_fattr()
977 struct TCP_Server_Info *server = tcon->ses->server; in cifs_get_file_info()
1110 struct TCP_Server_Info *server = tcon->ses->server; in cifs_set_fattr_ino()
1167 struct TCP_Server_Info *server = tcon->ses->server; in reparse_info_to_fattr()
1269 struct TCP_Server_Info *server; in cifs_get_fattr()
1456 struct TCP_Server_Info *server; in smb311_posix_get_fattr()
1739 struct TCP_Server_Info *server; in cifs_set_file_info()
1948 struct TCP_Server_Info *server; in __cifs_unlink()
2169 struct TCP_Server_Info *server = tcon->ses->server;
2262 struct TCP_Server_Info *server;
[all …]

12