Home
last modified time | relevance | path

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

12

/linux/fs/smb/client/
H A Dcifsproto.h32 extern int smb_send(struct TCP_Server_Info *, struct smb_hdr *,
34 extern int smb_send_kvec(struct TCP_Server_Info *server,
89 extern int cifs_handle_standard(struct TCP_Server_Info *server,
97 extern int cifs_discard_remaining_data(struct TCP_Server_Info *server);
98 extern int cifs_call_async(struct TCP_Server_Info *server,
103 extern struct TCP_Server_Info *cifs_pick_channel(struct cifs_ses *ses);
105 struct TCP_Server_Info *server,
109 struct TCP_Server_Info *server,
119 int cifs_sync_mid_result(struct mid_q_entry *mid, struct TCP_Server_Info *server);
121 struct TCP_Server_Info *,
[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 *serve
[all...]
H A Dcifsglob.h299 struct TCP_Server_Info;
315 int (*send_cancel)(struct TCP_Server_Info *, struct smb_rqst *,
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 *serve
711 struct TCP_Server_Info { global() struct
712 tcp_ses_listTCP_Server_Info global() argument
713 smb_ses_listTCP_Server_Info global() argument
714 rlistTCP_Server_Info global() argument
715 srv_lockTCP_Server_Info global() argument
716 conn_idTCP_Server_Info global() argument
717 srv_countTCP_Server_Info global() argument
718 rfc1001_sessinitTCP_Server_Info global() argument
719 with_rfc1001TCP_Server_Info global() argument
721 server_RFC1001_nameTCP_Server_Info global() argument
722 opsTCP_Server_Info global() argument
723 valsTCP_Server_Info global() argument
725 tcpStatusTCP_Server_Info global() argument
726 hostnameTCP_Server_Info global() argument
727 ssocketTCP_Server_Info global() argument
728 dstaddrTCP_Server_Info global() argument
729 srcaddrTCP_Server_Info global() argument
731 netTCP_Server_Info global() argument
733 response_qTCP_Server_Info global() argument
734 request_qTCP_Server_Info global() argument
735 mid_queue_lockTCP_Server_Info global() argument
736 mid_counter_lockTCP_Server_Info global() argument
737 pending_mid_qTCP_Server_Info global() argument
738 noblocksndTCP_Server_Info global() argument
739 noautotuneTCP_Server_Info global() argument
740 nosharesockTCP_Server_Info global() argument
741 tcp_nodelayTCP_Server_Info global() argument
742 terminateTCP_Server_Info global() argument
743 creditsTCP_Server_Info global() argument
744 max_creditsTCP_Server_Info global() argument
745 in_flightTCP_Server_Info global() argument
746 max_in_flightTCP_Server_Info global() argument
747 req_lockTCP_Server_Info global() argument
748 _srv_mutexTCP_Server_Info global() argument
749 nofs_flagTCP_Server_Info global() argument
750 tskTCP_Server_Info global() argument
751 server_GUIDTCP_Server_Info global() argument
752 sec_modeTCP_Server_Info global() argument
753 signTCP_Server_Info global() argument
754 ignore_signatureTCP_Server_Info global() argument
755 session_estabTCP_Server_Info global() argument
756 echo_creditsTCP_Server_Info global() argument
757 oplock_creditsTCP_Server_Info global() argument
758 echoesTCP_Server_Info global() argument
759 client_guidTCP_Server_Info global() argument
760 dialectTCP_Server_Info global() argument
761 oplocksTCP_Server_Info global() argument
762 maxReqTCP_Server_Info global() argument
765 maxBufTCP_Server_Info global() argument
769 max_rwTCP_Server_Info global() argument
772 capabilitiesTCP_Server_Info global() argument
773 timeAdjTCP_Server_Info global() argument
774 current_midTCP_Server_Info global() argument
775 cryptkeyTCP_Server_Info global() argument
777 workstation_RFC1001_nameTCP_Server_Info global() argument
778 sequence_numberTCP_Server_Info global() argument
779 reconnect_instanceTCP_Server_Info global() argument
780 session_key_idTCP_Server_Info global() argument
781 session_keyTCP_Server_Info global() argument
782 lstrpTCP_Server_Info global() argument
783 neg_startTCP_Server_Info global() argument
784 secmechTCP_Server_Info global() argument
787 negflavorTCP_Server_Info global() argument
789 sec_ntlmsspTCP_Server_Info global() argument
790 sec_kerberosu2uTCP_Server_Info global() argument
791 sec_kerberosTCP_Server_Info global() argument
792 sec_mskerberosTCP_Server_Info global() argument
793 sec_iakerbTCP_Server_Info global() argument
794 large_bufTCP_Server_Info global() argument
796 rdmaTCP_Server_Info global() argument
798 smbd_connTCP_Server_Info global() argument
799 echoTCP_Server_Info global() argument
800 smallbufTCP_Server_Info global() argument
801 bigbufTCP_Server_Info global() argument
803 pdu_sizeTCP_Server_Info global() argument
804 total_readTCP_Server_Info global() argument
805 in_sendTCP_Server_Info global() argument
806 num_waitersTCP_Server_Info global() argument
808 num_cmdsTCP_Server_Info global() argument
809 smb2slowcmdTCP_Server_Info global() argument
810 time_per_cmdTCP_Server_Info global() argument
811 slowest_cmdTCP_Server_Info global() argument
812 fastest_cmdTCP_Server_Info global() argument
814 max_readTCP_Server_Info global() argument
815 max_writeTCP_Server_Info global() argument
816 min_offloadTCP_Server_Info global() argument
817 retransTCP_Server_Info global() argument
818 __anon43c299c40508TCP_Server_Info global() argument
822 compressionTCP_Server_Info global() argument
823 signing_algorithmTCP_Server_Info global() argument
847 primary_serverTCP_Server_Info global() argument
865 dns_domTCP_Server_Info is_smb1() argument
[all...]
H A Dsmbdirect.h118 struct TCP_Server_Info *server, struct sockaddr *dstaddr);
121 int smbd_reconnect(struct TCP_Server_Info *server);
123 void smbd_destroy(struct TCP_Server_Info *server);
127 int smbd_send(struct TCP_Server_Info *server,
163 struct TCP_Server_Info *server, struct sockaddr *dstaddr) {return NULL;} in smbd_get_connection()
164 static inline int smbd_reconnect(struct TCP_Server_Info *server) {return -1; } in smbd_reconnect()
165 static inline void smbd_destroy(struct TCP_Server_Info *server) {} in smbd_destroy()
167 static inline int smbd_send(struct TCP_Server_Info *server, int num_rqst, struct smb_rqst *rqst) {return -1; } in smbd_send()
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 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 *serve in generate_key()
[all...]
H A Dtransport.c51 struct TCP_Server_Info *server = midEntry->server; in __release_mid()
144 smb_send_kvec(struct TCP_Server_Info *server, struct msghdr *smb_msg, in smb_send_kvec()
209 smb_rqst_len(struct TCP_Server_Info *server, struct smb_rqst *rqst) in smb_rqst_len()
233 int __smb_send_rqst(struct TCP_Server_Info *server, int num_rqst, in __smb_send_rqst()
382 smb_send_rqst(struct TCP_Server_Info *server, int num_rqst, in smb_send_rqst()
420 wait_for_free_credits(struct TCP_Server_Info *server, const int num_credits, in wait_for_free_credits()
573 int wait_for_free_request(struct TCP_Server_Info *server, const int flags, in wait_for_free_request()
581 wait_for_compound_request(struct TCP_Server_Info *server, int num, in wait_for_compound_request()
627 cifs_wait_mtu_credits(struct TCP_Server_Info *server, size_t size, in cifs_wait_mtu_credits()
636 int wait_for_response(struct TCP_Server_Info *serve
[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()
349 static bool cifs_tcp_ses_needs_reconnect(struct TCP_Server_Info *serve
[all...]
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()
276 struct TCP_Server_Info *server; in cifs_disable_secondary_channels()
327 cifs_chan_update_iface(struct cifs_ses *ses, struct TCP_Server_Info *serve
[all...]
H A Dcompress.h30 typedef int (*compress_send_fn)(struct TCP_Server_Info *, int, struct smb_rqst *);
32 int smb_compress(struct TCP_Server_Info *server, struct smb_rqst *rq, compress_send_fn send_fn);
H A Dntlmssp.h148 struct TCP_Server_Info *server,
152 struct TCP_Server_Info *server,
156 struct TCP_Server_Info *server,
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 Dcifstransport.c37 alloc_mid(const struct smb_hdr *smb_buffer, struct TCP_Server_Info *server) in alloc_mid()
73 smb_send(struct TCP_Server_Info *server, struct smb_hdr *smb_buffer, in smb_send()
121 cifs_setup_async_request(struct TCP_Server_Info *server, struct smb_rqst *rqst) in cifs_setup_async_request()
176 cifs_check_receive(struct mid_q_entry *mid, struct TCP_Server_Info *server, in cifs_check_receive()
207 cifs_setup_request(struct cifs_ses *ses, struct TCP_Server_Info *ignored, in cifs_setup_request()
279 struct TCP_Server_Info *server; in SendReceive()
421 struct TCP_Server_Info *server; in SendReceiveBlockingLock()
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()
842 smb2_handle_cancelled_mid(struct mid_q_entry *mid, struct TCP_Server_Info *server) in smb2_handle_cancelled_mid()
881 smb311_update_preauth_hash(struct cifs_ses *ses, struct TCP_Server_Info *server, in smb311_update_preauth_hash()
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()
219 struct TCP_Server_Info *server, bool from_reconnect) in smb2_reconnect()
495 struct TCP_Server_Info *server, in fill_small_buf()
521 struct TCP_Server_Info *server, in __smb2_plain_req_init()
553 struct TCP_Server_Info *server, in smb2_plain_req_init()
567 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 *pserve in assemble_neg_contexts()
[all...]
H A Dsmb1ops.c32 send_nt_cancel(struct TCP_Server_Info *server, struct smb_rqst *rqst, in send_nt_cancel()
93 cifs_find_mid(struct TCP_Server_Info *server, char *buffer) in cifs_find_mid()
113 cifs_add_credits(struct TCP_Server_Info *server, in cifs_add_credits()
124 cifs_set_credits(struct TCP_Server_Info *server, const int val) in cifs_set_credits()
133 cifs_get_credits_field(struct TCP_Server_Info *server, const int optype) in cifs_get_credits_field()
166 cifs_get_next_mid(struct TCP_Server_Info *server) in cifs_get_next_mid()
382 cifs_downgrade_oplock(struct TCP_Server_Info *server, in cifs_downgrade_oplock()
390 cifs_check_trans2(struct mid_q_entry *mid, struct TCP_Server_Info *server, in cifs_check_trans2()
421 cifs_need_neg(struct TCP_Server_Info *server) in cifs_need_neg()
429 struct TCP_Server_Info *serve in cifs_negotiate()
[all...]
H A Dcifsencrypt.c58 struct TCP_Server_Info *server, char *signature, in __cifs_calc_signature()
113 struct TCP_Server_Info *server, char *signature) in cifs_calc_signature()
141 int cifs_sign_rqst(struct smb_rqst *rqst, struct TCP_Server_Info *server, in cifs_sign_rqst()
184 int cifs_sign_smbv(struct kvec *iov, int n_vec, struct TCP_Server_Info *server, in cifs_sign_smbv()
194 int cifs_sign_smb(struct smb_hdr *cifs_pdu, struct TCP_Server_Info *server, in cifs_sign_smb()
209 struct TCP_Server_Info *server, in cifs_verify_signature()
543 struct TCP_Server_Info *server = ses->server; in set_auth_key_response()
743 cifs_crypto_secmech_release(struct TCP_Server_Info *server) in cifs_crypto_secmech_release()
H A Dcifs_debug.c39 void cifs_dump_detail(void *buf, struct TCP_Server_Info *server) in cifs_dump_detail()
54 void cifs_dump_mids(struct TCP_Server_Info *server) in cifs_dump_mids()
140 struct TCP_Server_Info *server = chan->server; in cifs_dump_channel()
238 struct TCP_Server_Info *server; in cifs_debug_files_proc_show()
287 struct TCP_Server_Info *server; in cifs_debug_dirs_proc_show()
300 server = list_entry(stmp, struct TCP_Server_Info, in cifs_debug_dirs_proc_show()
353 struct TCP_Server_Info *server; in cifs_debug_data_proc_show()
354 struct TCP_Server_Info *chan_server; in cifs_debug_data_proc_show()
706 struct TCP_Server_Info *server; in cifs_stats_proc_write()
766 struct TCP_Server_Info *serve in cifs_stats_proc_show()
[all...]
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 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 Dfs_context.h395 static inline void cifs_negotiate_rsize(struct TCP_Server_Info *server, in cifs_negotiate_rsize()
407 static inline void cifs_negotiate_wsize(struct TCP_Server_Info *server, in cifs_negotiate_wsize()
419 static inline void cifs_negotiate_iosize(struct TCP_Server_Info *server, in cifs_negotiate_iosize()
H A Dcifs_spnego.h33 struct TCP_Server_Info *server);
H A Dfile.c53 struct TCP_Server_Info *server; in cifs_prepare_write()
155 struct TCP_Server_Info *server; in cifs_prepare_read()
207 struct TCP_Server_Info *server = rdata->server; in cifs_issue_read()
541 struct TCP_Server_Info *server = tcon->ses->server; in cifs_nt_open()
666 struct TCP_Server_Info *server = tcon->ses->server; in cifs_new_fileinfo()
800 struct TCP_Server_Info *server = tcon->ses->server; in serverclose_work()
860 struct TCP_Server_Info *server = tcon->ses->server; in _cifsFileInfo_put()
913 struct TCP_Server_Info *server = tcon->ses->server; in _cifsFileInfo_put()
954 struct TCP_Server_Info *server; in cifs_open()
1166 struct TCP_Server_Info *serve in cifs_reopen_file()
[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.c349 checkSMB(char *buf, unsigned int total_read, struct TCP_Server_Info *server) in checkSMB()
437 is_valid_oplock_break(char *buffer, struct TCP_Server_Info *srv) in is_valid_oplock_break()
441 struct TCP_Server_Info *pserver; in is_valid_oplock_break()
1190 int match_target_ip(struct TCP_Server_Info *server, in match_target_ip()
1247 struct TCP_Server_Info *server = tcon->ses->server; in cifs_inval_name_dfs_link_error()
1311 int cifs_wait_for_server_reconnect(struct TCP_Server_Info *server, bool retry) in cifs_wait_for_server_reconnect()

12