Home
last modified time | relevance | path

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

12

/openbmc/linux/fs/smb/client/
H A Dcifsproto.h32 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 *server, bool log_error);
[all …]
H A Dsmb2proto.h25 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_tcon *smb2_find_smb_tcon(struct TCP_Server_Info *server,
43 struct TCP_Server_Info *server,
46 struct TCP_Server_Info *server,
51 struct TCP_Server_Info *srv);
52 extern int smb3_handle_read_data(struct TCP_Server_Info *server,
[all …]
H A Dcifsglob.h263 struct TCP_Server_Info;
280 int (*send_cancel)(struct TCP_Server_Info *, struct smb_rqst *,
285 struct TCP_Server_Info *,
288 struct mid_q_entry *(*setup_async_request)(struct TCP_Server_Info *,
291 int (*check_receive)(struct mid_q_entry *, struct TCP_Server_Info *,
293 void (*add_credits)(struct TCP_Server_Info *server,
296 void (*set_credits)(struct TCP_Server_Info *, const int);
297 int * (*get_credits_field)(struct TCP_Server_Info *, const int);
299 __u64 (*get_next_mid)(struct TCP_Server_Info *);
300 void (*revert_current_mid)(struct TCP_Server_Info *server,
[all …]
H A Dsmbdirect.h267 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) {r… in smbd_send()
H A Dsmb2transport.c30 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 smb3_get_sign_key(__u64 ses_id, struct TCP_Server_Info *server, u8 *key) in smb3_get_sign_key()
80 struct TCP_Server_Info *pserver; in smb3_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()
171 static int smb2_get_sign_key(struct TCP_Server_Info *server, in smb2_get_sign_key()
231 smb2_find_smb_tcon(struct TCP_Server_Info *server, __u64 ses_id, __u32 tid) in smb2_find_smb_tcon()
256 smb2_calc_signature(struct smb_rqst *rqst, struct TCP_Server_Info *server, in smb2_calc_signature()
345 struct TCP_Server_Info *server = ses->server; in generate_key()
[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.c44 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 *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()
123 struct TCP_Server_Info *server = tcon->ses->server; in smb2_query_server_interfaces()
157 cifs_signal_cifsd_for_reconnect(struct TCP_Server_Info *server, in cifs_signal_cifsd_for_reconnect()
160 struct TCP_Server_Info *pserver; in cifs_signal_cifsd_for_reconnect()
206 cifs_mark_tcp_ses_conns_for_reconnect(struct TCP_Server_Info *server, in cifs_mark_tcp_ses_conns_for_reconnect()
209 struct TCP_Server_Info *pserver; in cifs_mark_tcp_ses_conns_for_reconnect()
300 cifs_abort_connection(struct TCP_Server_Info *server) in cifs_abort_connection()
355 static bool cifs_tcp_ses_needs_reconnect(struct TCP_Server_Info *server, int num_targets) in cifs_tcp_ses_needs_reconnect()
[all …]
H A Dsess.c31 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()
120 struct TCP_Server_Info *server) in cifs_chan_in_reconnect()
132 struct TCP_Server_Info *server) in cifs_chan_set_need_reconnect()
146 struct TCP_Server_Info *server) in cifs_chan_clear_need_reconnect()
160 struct TCP_Server_Info *server) in cifs_chan_needs_reconnect()
172 struct TCP_Server_Info *server) in cifs_chan_is_iface_active()
186 struct TCP_Server_Info *server = ses->server; in cifs_try_adding_channels()
[all …]
H A Dntlmssp.h148 struct TCP_Server_Info *server,
152 struct TCP_Server_Info *server,
156 struct TCP_Server_Info *server,
H A Dsmb2misc.c136 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()
672 smb2_is_valid_oplock_break(char *buffer, struct TCP_Server_Info *server) in smb2_is_valid_oplock_break()
675 struct TCP_Server_Info *pserver; in smb2_is_valid_oplock_break()
812 struct TCP_Server_Info *server = NULL; in smb2_handle_cancelled_close()
841 smb2_handle_cancelled_mid(struct mid_q_entry *mid, struct TCP_Server_Info *server) in smb2_handle_cancelled_mid()
880 smb311_update_preauth_hash(struct cifs_ses *ses, struct TCP_Server_Info *server, in smb311_update_preauth_hash()
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 Dsmb2pdu.c92 struct TCP_Server_Info *server) in smb2_hdr_assemble()
165 struct TCP_Server_Info *server, in cifs_chan_skip_or_disable()
168 struct TCP_Server_Info *pserver; in cifs_chan_skip_or_disable()
214 struct TCP_Server_Info *server, bool from_reconnect) in smb2_reconnect()
502 struct TCP_Server_Info *server, in fill_small_buf()
528 struct TCP_Server_Info *server, in __smb2_plain_req_init()
560 struct TCP_Server_Info *server, in smb2_plain_req_init()
574 struct TCP_Server_Info *server, in smb2_ioctl_req_init()
695 struct TCP_Server_Info *server, unsigned int *total_len) in assemble_neg_contexts()
698 struct TCP_Server_Info *pserver; in assemble_neg_contexts()
[all …]
H A Dsmb1ops.c29 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 …]
H A Dsmb2ops.c35 change_conf(struct TCP_Server_Info *server) in change_conf()
68 smb2_add_credits(struct TCP_Server_Info *server, in smb2_add_credits()
170 smb2_set_credits(struct TCP_Server_Info *server, const int val) in smb2_set_credits()
201 smb2_get_credits_field(struct TCP_Server_Info *server, const int optype) in smb2_get_credits_field()
220 smb2_wait_mtu_credits(struct TCP_Server_Info *server, unsigned int size, in smb2_wait_mtu_credits()
285 smb2_adjust_credits(struct TCP_Server_Info *server, in smb2_adjust_credits()
337 smb2_get_next_mid(struct TCP_Server_Info *server) in smb2_get_next_mid()
348 smb2_revert_current_mid(struct TCP_Server_Info *server, const unsigned int val) in smb2_revert_current_mid()
357 __smb2_find_mid(struct TCP_Server_Info *server, char *buf, bool dequeue) in __smb2_find_mid()
387 smb2_find_mid(struct TCP_Server_Info *server, char *buf) in smb2_find_mid()
[all …]
H A Dcifsencrypt.c172 struct TCP_Server_Info *server, char *signature, in __cifs_calc_signature()
227 struct TCP_Server_Info *server, char *signature) in cifs_calc_signature()
255 int cifs_sign_rqst(struct smb_rqst *rqst, struct TCP_Server_Info *server, in cifs_sign_rqst()
298 int cifs_sign_smbv(struct kvec *iov, int n_vec, struct TCP_Server_Info *server, in cifs_sign_smbv()
308 int cifs_sign_smb(struct smb_hdr *cifs_pdu, struct TCP_Server_Info *server, in cifs_sign_smb()
323 struct TCP_Server_Info *server, in cifs_verify_signature()
844 cifs_crypto_secmech_release(struct TCP_Server_Info *server) in cifs_crypto_secmech_release()
H A Dcifs_debug.h18 void cifs_dump_detail(void *buf, struct TCP_Server_Info *ptcp_info);
19 void cifs_dump_mids(struct TCP_Server_Info *);
H A Dcifs_spnego.h33 struct TCP_Server_Info *server);
H A Dcifs_debug.c38 void cifs_dump_detail(void *buf, struct TCP_Server_Info *server) in cifs_dump_detail()
53 void cifs_dump_mids(struct TCP_Server_Info *server) in cifs_dump_mids()
139 struct TCP_Server_Info *server = chan->server; in cifs_dump_channel()
237 struct TCP_Server_Info *server; in cifs_debug_files_proc_show()
304 struct TCP_Server_Info *server; in cifs_debug_data_proc_show()
305 struct TCP_Server_Info *chan_server; in cifs_debug_data_proc_show()
649 struct TCP_Server_Info *server; in cifs_stats_proc_write()
709 struct TCP_Server_Info *server; in cifs_stats_proc_show()
H A Ddfs.c327 static int target_share_matches_server(struct TCP_Server_Info *server, char *share, in target_share_matches_server()
358 struct TCP_Server_Info *server = tcon->ses->server; in tree_connect_dfs_target()
404 struct TCP_Server_Info *server = tcon->ses->server; in cifs_tree_connect()
H A Dfile.c349 struct TCP_Server_Info *server = tcon->ses->server; in cifs_nt_open()
474 struct TCP_Server_Info *server = tcon->ses->server; in cifs_new_fileinfo()
608 struct TCP_Server_Info *server = tcon->ses->server; in serverclose_work()
668 struct TCP_Server_Info *server = tcon->ses->server; in _cifsFileInfo_put()
721 struct TCP_Server_Info *server = tcon->ses->server; in _cifsFileInfo_put()
762 struct TCP_Server_Info *server; in cifs_open()
962 struct TCP_Server_Info *server; in cifs_reopen_file()
1255 struct TCP_Server_Info *server; in cifs_closedir()
1340 struct TCP_Server_Info *server = tlink_tcon(cfile->tlink)->ses->server; in cifs_find_fid_lock_conflict()
1402 struct TCP_Server_Info *server = tlink_tcon(cfile->tlink)->ses->server; in cifs_lock_test()
[all …]
H A Dmisc.c329 checkSMB(char *buf, unsigned int total_read, struct TCP_Server_Info *server) in checkSMB()
417 is_valid_oplock_break(char *buffer, struct TCP_Server_Info *srv) in is_valid_oplock_break()
421 struct TCP_Server_Info *pserver; in is_valid_oplock_break()
1226 int match_target_ip(struct TCP_Server_Info *server, in match_target_ip()
1291 struct TCP_Server_Info *server = tcon->ses->server; in cifs_inval_name_dfs_link_error()
1355 int cifs_wait_for_server_reconnect(struct TCP_Server_Info *server, bool retry) in cifs_wait_for_server_reconnect()
H A Dinode.c420 struct TCP_Server_Info *server; in cifs_get_unix_fattr()
893 struct TCP_Server_Info *server = tcon->ses->server; in cifs_get_file_info()
1026 struct TCP_Server_Info *server = tcon->ses->server; in cifs_set_fattr_ino()
1083 struct TCP_Server_Info *server = tcon->ses->server; in reparse_info_to_fattr()
1158 struct TCP_Server_Info *server; in cifs_get_fattr()
1345 struct TCP_Server_Info *server; in smb311_posix_get_fattr()
1628 struct TCP_Server_Info *server; in cifs_set_file_info()
1836 struct TCP_Server_Info *server; in cifs_unlink()
2023 struct TCP_Server_Info *server = tcon->ses->server;
2116 struct TCP_Server_Info *serve
[all...]
H A Ddfs_cache.c1098 static bool target_share_equal(struct TCP_Server_Info *server, const char *s1, const char *s2) in target_share_equal()
1135 static void mark_for_reconnect_if_needed(struct TCP_Server_Info *server, in mark_for_reconnect_if_needed()
1161 struct TCP_Server_Info *server = ses->server; in is_ses_good()
1178 struct TCP_Server_Info *server = ses->server; in __refresh_ses_referral()
H A Ddir.c190 struct TCP_Server_Info *server = tcon->ses->server;
440 struct TCP_Server_Info *server;
563 struct TCP_Server_Info *server;

12