Home
last modified time | relevance | path

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

12

/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.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 *server,
[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 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 *server) in cifs_chan_update_iface()
[all …]
H A Dntlmssp.h148 struct TCP_Server_Info *server,
152 struct TCP_Server_Info *server,
156 struct TCP_Server_Info *server,
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 Dsmb2pdu.c95 struct TCP_Server_Info *server) in smb2_hdr_assemble()
168 struct TCP_Server_Info *server, in cifs_chan_skip_or_disable()
171 struct TCP_Server_Info *pserver; in cifs_chan_skip_or_disable()
217 struct TCP_Server_Info *server, bool from_reconnect) in smb2_reconnect()
499 struct TCP_Server_Info *server, in fill_small_buf()
525 struct TCP_Server_Info *server, in __smb2_plain_req_init()
557 struct TCP_Server_Info *server, in smb2_plain_req_init()
571 struct TCP_Server_Info *server, in smb2_ioctl_req_init()
692 struct TCP_Server_Info *server, unsigned int *total_len) in assemble_neg_contexts()
695 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 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 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()
700 cifs_crypto_secmech_release(struct TCP_Server_Info *server) in cifs_crypto_secmech_release()
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 *server, char *buf) in smb2_find_mid()
[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 Dfile.c53 struct TCP_Server_Info *server; in cifs_prepare_write()
150 struct TCP_Server_Info *server; in cifs_prepare_read()
203 struct TCP_Server_Info *server = rdata->server; in cifs_issue_read()
536 struct TCP_Server_Info *server = tcon->ses->server; in cifs_nt_open()
661 struct TCP_Server_Info *server = tcon->ses->server; in cifs_new_fileinfo()
795 struct TCP_Server_Info *server = tcon->ses->server; in serverclose_work()
855 struct TCP_Server_Info *server = tcon->ses->server; in _cifsFileInfo_put()
908 struct TCP_Server_Info *server = tcon->ses->server; in _cifsFileInfo_put()
949 struct TCP_Server_Info *server; in cifs_open()
1153 struct TCP_Server_Info *server; in cifs_reopen_file()
[all …]
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()
654 struct TCP_Server_Info *server; in cifs_stats_proc_write()
714 struct TCP_Server_Info *server; in cifs_stats_proc_show()
H A Dcifs_spnego.h33 struct TCP_Server_Info *server);
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.c333 checkSMB(char *buf, unsigned int total_read, struct TCP_Server_Info *server) in checkSMB()
421 is_valid_oplock_break(char *buffer, struct TCP_Server_Info *srv) in is_valid_oplock_break()
425 struct TCP_Server_Info *pserver; in is_valid_oplock_break()
1174 int match_target_ip(struct TCP_Server_Info *server, in match_target_ip()
1231 struct TCP_Server_Info *server = tcon->ses->server; in cifs_inval_name_dfs_link_error()
1295 int cifs_wait_for_server_reconnect(struct TCP_Server_Info *server, bool retry) in cifs_wait_for_server_reconnect()
H A Dinode.c437 struct TCP_Server_Info *server; in cifs_get_unix_fattr()
976 struct TCP_Server_Info *server = tcon->ses->server; in cifs_get_file_info()
1109 struct TCP_Server_Info *server = tcon->ses->server; in cifs_set_fattr_ino()
1166 struct TCP_Server_Info *server = tcon->ses->server; in reparse_info_to_fattr()
1259 struct TCP_Server_Info *server; in cifs_get_fattr()
1446 struct TCP_Server_Info *server; in smb311_posix_get_fattr()
1729 struct TCP_Server_Info *server; in cifs_set_file_info()
1937 struct TCP_Server_Info *server; in cifs_unlink()
2125 struct TCP_Server_Info *server = tcon->ses->server;
2218 struct TCP_Server_Info *server;
[all …]
H A Ddir.c190 struct TCP_Server_Info *server = tcon->ses->server;
440 struct TCP_Server_Info *server;
563 struct TCP_Server_Info *server;
H A Dfscache.c38 struct TCP_Server_Info *server = tcon->ses->server; in cifs_fscache_get_super_cookie()
H A Dcompress.c318 int smb_compress(struct TCP_Server_Info *server, struct smb_rqst *rq, compress_send_fn send_fn) in smb_compress()
H A Dsmbdirect.c1289 void smbd_destroy(struct TCP_Server_Info *server) in smbd_destroy()
1382 int smbd_reconnect(struct TCP_Server_Info *server) in smbd_reconnect()
1490 struct TCP_Server_Info *server, struct sockaddr *dstaddr, int port) in _smbd_get_connection()
1705 struct TCP_Server_Info *server, struct sockaddr *dstaddr) in smbd_get_connection()
1953 int smbd_send(struct TCP_Server_Info *server, in smbd_send()
H A Ddfs_cache.c1098 struct TCP_Server_Info *server = tcon->ses->server; in target_share_equal()
1125 struct TCP_Server_Info *server = ses->server; in is_ses_good()
H A Dreaddir.c354 struct TCP_Server_Info *server; in _initiate_cifs_search()
694 struct TCP_Server_Info *server = tcon->ses->server; in find_cifs_entry()

12