Home
last modified time | relevance | path

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

12

/Linux-v5.15/fs/cifs/
Dcifsglob.h191 struct TCP_Server_Info;
208 int (*send_cancel)(struct TCP_Server_Info *, struct smb_rqst *,
213 struct TCP_Server_Info *,
216 struct mid_q_entry *(*setup_async_request)(struct TCP_Server_Info *,
219 int (*check_receive)(struct mid_q_entry *, struct TCP_Server_Info *,
221 void (*add_credits)(struct TCP_Server_Info *server,
224 void (*set_credits)(struct TCP_Server_Info *, const int);
225 int * (*get_credits_field)(struct TCP_Server_Info *, const int);
227 __u64 (*get_next_mid)(struct TCP_Server_Info *);
228 void (*revert_current_mid)(struct TCP_Server_Info *server,
[all …]
Dsmb2proto.h25 struct TCP_Server_Info *server);
26 extern unsigned int smb2_calc_size(void *buf, 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,
[all …]
Dcifsproto.h31 extern int smb_send(struct TCP_Server_Info *, struct smb_hdr *,
83 struct TCP_Server_Info *server);
88 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 …]
Dsmbdirect.h263 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) {r… in smbd_send()
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()
Dsmb2transport.c31 smb3_crypto_shash_allocate(struct TCP_Server_Info *server) in smb3_crypto_shash_allocate()
53 smb311_crypto_shash_allocate(struct TCP_Server_Info *server) in smb311_crypto_shash_allocate()
82 int smb2_get_sign_key(__u64 ses_id, struct TCP_Server_Info *server, u8 *key) in smb2_get_sign_key()
86 struct TCP_Server_Info *it = NULL; in smb2_get_sign_key()
137 smb2_find_smb_ses_unlocked(struct TCP_Server_Info *server, __u64 ses_id) in smb2_find_smb_ses_unlocked()
152 smb2_find_smb_ses(struct TCP_Server_Info *server, __u64 ses_id) in smb2_find_smb_ses()
184 smb2_find_smb_tcon(struct TCP_Server_Info *server, __u64 ses_id, __u32 tid) in smb2_find_smb_tcon()
209 smb2_calc_signature(struct smb_rqst *rqst, struct TCP_Server_Info *server, in smb2_calc_signature()
303 struct TCP_Server_Info *server = ses->server; in generate_key()
398 struct TCP_Server_Info *server = ses->server; in generate_smb3signingkey()
[all …]
Dtransport.c41 AllocMidQEntry(const struct smb_hdr *smb_buffer, struct TCP_Server_Info *server) in AllocMidQEntry()
86 struct TCP_Server_Info *server = midEntry->server; in _cifs_mid_q_entry_release()
190 smb_send_kvec(struct TCP_Server_Info *server, struct msghdr *smb_msg, in smb_send_kvec()
259 smb_rqst_len(struct TCP_Server_Info *server, struct smb_rqst *rqst) in smb_rqst_len()
303 __smb_send_rqst(struct TCP_Server_Info *server, int num_rqst, in __smb_send_rqst()
450 smb_send_rqst(struct TCP_Server_Info *server, int num_rqst, in smb_send_rqst()
495 smb_send(struct TCP_Server_Info *server, struct smb_hdr *smb_buffer, in smb_send()
511 wait_for_free_credits(struct TCP_Server_Info *server, const int num_credits, in wait_for_free_credits()
660 wait_for_free_request(struct TCP_Server_Info *server, const int flags, in wait_for_free_request()
668 wait_for_compound_request(struct TCP_Server_Info *server, int num, in wait_for_compound_request()
[all …]
Dconnect.c64 static int ip_connect(struct TCP_Server_Info *server);
65 static int generic_ip_connect(struct TCP_Server_Info *server);
75 static int reconn_set_ipaddr_from_hostname(struct TCP_Server_Info *server) in reconn_set_ipaddr_from_hostname()
134 struct TCP_Server_Info *server = container_of(work, in cifs_resolve_server()
135 struct TCP_Server_Info, resolve.work); in cifs_resolve_server()
153 static void reconn_set_next_dfs_target(struct TCP_Server_Info *server, in reconn_set_next_dfs_target()
211 cifs_reconnect(struct TCP_Server_Info *server) in cifs_reconnect()
414 struct TCP_Server_Info *server = container_of(work, in cifs_echo_request()
415 struct TCP_Server_Info, echo.work); in cifs_echo_request()
442 allocate_buffers(struct TCP_Server_Info *server) in allocate_buffers()
[all …]
Dfscache.h52 extern void cifs_fscache_get_client_cookie(struct TCP_Server_Info *);
53 extern void cifs_fscache_release_client_cookie(struct TCP_Server_Info *);
135 cifs_fscache_get_client_cookie(struct TCP_Server_Info *server) {} in cifs_fscache_get_client_cookie()
137 cifs_fscache_release_client_cookie(struct TCP_Server_Info *server) {} in cifs_fscache_release_client_cookie()
Dasn1.c13 struct TCP_Server_Info *server) in decode_negTokenInit()
43 struct TCP_Server_Info *server = context; in cifs_neg_token_init_mech_type()
Dsmb2pdu.c89 struct TCP_Server_Info *server) in smb2_hdr_assemble()
144 struct TCP_Server_Info *server) in smb2_reconnect()
330 struct TCP_Server_Info *server, in fill_small_buf()
356 struct TCP_Server_Info *server, in __smb2_plain_req_init()
383 struct TCP_Server_Info *server, in smb2_plain_req_init()
397 struct TCP_Server_Info *server, in smb2_ioctl_req_init()
520 struct TCP_Server_Info *server, unsigned int *total_len) in assemble_neg_contexts()
603 static void decode_compress_ctx(struct TCP_Server_Info *server, in decode_compress_ctx()
624 static int decode_encrypt_ctx(struct TCP_Server_Info *server, in decode_encrypt_ctx()
671 static void decode_signing_ctx(struct TCP_Server_Info *server, in decode_signing_ctx()
[all …]
Dsmb1ops.c28 send_nt_cancel(struct TCP_Server_Info *server, struct smb_rqst *rqst, in send_nt_cancel()
89 cifs_find_mid(struct TCP_Server_Info *server, char *buffer) in cifs_find_mid()
109 cifs_add_credits(struct TCP_Server_Info *server, in cifs_add_credits()
120 cifs_set_credits(struct TCP_Server_Info *server, const int val) in cifs_set_credits()
129 cifs_get_credits_field(struct TCP_Server_Info *server, const int optype) in cifs_get_credits_field()
162 cifs_get_next_mid(struct TCP_Server_Info *server) in cifs_get_next_mid()
372 cifs_downgrade_oplock(struct TCP_Server_Info *server, in cifs_downgrade_oplock()
380 cifs_check_trans2(struct mid_q_entry *mid, struct TCP_Server_Info *server, in cifs_check_trans2()
411 cifs_need_neg(struct TCP_Server_Info *server) in cifs_need_neg()
435 struct TCP_Server_Info *server = tcon->ses->server; in cifs_negotiate_wsize()
[all …]
Dsmb2misc.c136 smb2_check_message(char *buf, unsigned int len, struct TCP_Server_Info *srvr) in smb2_check_message()
402 smb2_calc_size(void *buf, struct TCP_Server_Info *srvr) in smb2_calc_size()
603 struct TCP_Server_Info *server; in smb2_is_valid_lease_break()
662 smb2_is_valid_oplock_break(char *buffer, struct TCP_Server_Info *server) in smb2_is_valid_oplock_break()
792 struct TCP_Server_Info *server = NULL; in smb2_handle_cancelled_close()
817 smb2_handle_cancelled_mid(struct mid_q_entry *mid, struct TCP_Server_Info *server) in smb2_handle_cancelled_mid()
860 struct TCP_Server_Info *server = cifs_ses_server(ses); in smb311_update_preauth_hash()
Dcifsencrypt.c28 struct TCP_Server_Info *server, char *signature, in __cifs_calc_signature()
100 struct TCP_Server_Info *server, char *signature) in cifs_calc_signature()
130 int cifs_sign_rqst(struct smb_rqst *rqst, struct TCP_Server_Info *server, in cifs_sign_rqst()
169 int cifs_sign_smbv(struct kvec *iov, int n_vec, struct TCP_Server_Info *server, in cifs_sign_smbv()
179 int cifs_sign_smb(struct smb_hdr *cifs_pdu, struct TCP_Server_Info *server, in cifs_sign_smb()
194 struct TCP_Server_Info *server, in cifs_verify_signature()
716 cifs_crypto_secmech_release(struct TCP_Server_Info *server) in cifs_crypto_secmech_release()
Dcifs_debug.h18 void cifs_dump_detail(void *buf, struct TCP_Server_Info *ptcp_info);
19 void cifs_dump_mids(struct TCP_Server_Info *);
Dcifs_debug.c36 void cifs_dump_detail(void *buf, struct TCP_Server_Info *server) in cifs_dump_detail()
49 void cifs_dump_mids(struct TCP_Server_Info *server) in cifs_dump_mids()
128 struct TCP_Server_Info *server = chan->server; in cifs_dump_channel()
169 struct TCP_Server_Info *server; in cifs_debug_files_proc_show()
220 struct TCP_Server_Info *server; in cifs_debug_data_proc_show()
490 struct TCP_Server_Info *server; in cifs_stats_proc_write()
511 server = list_entry(tmp1, struct TCP_Server_Info, in cifs_stats_proc_write()
555 struct TCP_Server_Info *server; in cifs_stats_proc_show()
Dsmb2ops.c31 change_conf(struct TCP_Server_Info *server) in change_conf()
62 smb2_add_credits(struct TCP_Server_Info *server, in smb2_add_credits()
152 smb2_set_credits(struct TCP_Server_Info *server, const int val) in smb2_set_credits()
174 smb2_get_credits_field(struct TCP_Server_Info *server, const int optype) in smb2_get_credits_field()
193 smb2_wait_mtu_credits(struct TCP_Server_Info *server, unsigned int size, in smb2_wait_mtu_credits()
253 smb2_adjust_credits(struct TCP_Server_Info *server, in smb2_adjust_credits()
305 smb2_get_next_mid(struct TCP_Server_Info *server) in smb2_get_next_mid()
316 smb2_revert_current_mid(struct TCP_Server_Info *server, const unsigned int val) in smb2_revert_current_mid()
325 __smb2_find_mid(struct TCP_Server_Info *server, char *buf, bool dequeue) in __smb2_find_mid()
355 smb2_find_mid(struct TCP_Server_Info *server, char *buf) in smb2_find_mid()
[all …]
Dfile.c175 struct TCP_Server_Info *server = tcon->ses->server; in cifs_nt_open()
291 struct TCP_Server_Info *server = tcon->ses->server; in cifs_new_fileinfo()
442 struct TCP_Server_Info *server = tcon->ses->server; in _cifsFileInfo_put()
492 struct TCP_Server_Info *server = tcon->ses->server; in _cifsFileInfo_put()
521 struct TCP_Server_Info *server; in cifs_open()
702 struct TCP_Server_Info *server; in cifs_reopen_file()
964 struct TCP_Server_Info *server; in cifs_closedir()
1049 struct TCP_Server_Info *server = tlink_tcon(cfile->tlink)->ses->server; in cifs_find_fid_lock_conflict()
1111 struct TCP_Server_Info *server = tlink_tcon(cfile->tlink)->ses->server; in cifs_lock_test()
1458 bool *wait_flag, struct TCP_Server_Info *server) in cifs_read_flock()
[all …]
Dfscache.c32 void cifs_fscache_get_client_cookie(struct TCP_Server_Info *server) in cifs_fscache_get_client_cookie()
76 void cifs_fscache_release_client_cookie(struct TCP_Server_Info *server) in cifs_fscache_release_client_cookie()
86 struct TCP_Server_Info *server = tcon->ses->server; in cifs_fscache_get_super_cookie()
Dmisc.c308 checkSMB(char *buf, unsigned int total_read, struct TCP_Server_Info *server) in checkSMB()
392 is_valid_oplock_break(char *buffer, struct TCP_Server_Info *srv) in is_valid_oplock_break()
1194 struct TCP_Server_Info *server = sd->data; in tcp_super_cb()
1234 struct super_block *cifs_get_tcp_super(struct TCP_Server_Info *server) in cifs_get_tcp_super()
1245 int match_target_ip(struct TCP_Server_Info *server, in match_target_ip()
Dinode.c738 struct TCP_Server_Info *server = tcon->ses->server;
857 struct TCP_Server_Info *server = tcon->ses->server;
919 struct TCP_Server_Info *server;
1391 struct TCP_Server_Info *server;
1596 struct TCP_Server_Info *server;
1769 struct TCP_Server_Info *server = tcon->ses->server;
1860 struct TCP_Server_Info *server;
1936 struct TCP_Server_Info *server;
2015 struct TCP_Server_Info *server;
2503 struct TCP_Server_Info *server = tcon->ses->server;
[all …]
Ddir.c182 struct TCP_Server_Info *server = tcon->ses->server; in cifs_do_create()
416 struct TCP_Server_Info *server; in cifs_atomic_open()
534 struct TCP_Server_Info *server; in cifs_create()
Dcifs_spnego.c89 struct TCP_Server_Info *server = cifs_ses_server(sesInfo); in cifs_get_spnego_key()
Dsess.c29 is_server_using_iface(struct TCP_Server_Info *server, in is_server_using_iface()
156 cifs_ses_find_chan(struct cifs_ses *ses, struct TCP_Server_Info *server) in cifs_ses_find_chan()
609 struct TCP_Server_Info *server = cifs_ses_server(ses); in build_ntlmssp_negotiate_blob()
780 cifs_select_sectype(struct TCP_Server_Info *server, enum securityEnum requested) in cifs_select_sectype()
Dlink.c506 struct TCP_Server_Info *server; in cifs_hardlink()
606 struct TCP_Server_Info *server; in cifs_get_link()

12