Home
last modified time | relevance | path

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

12

/Linux-v5.4/fs/cifs/
Dcifsglob.h211 struct TCP_Server_Info;
228 int (*send_cancel)(struct TCP_Server_Info *, struct smb_rqst *,
235 struct mid_q_entry *(*setup_async_request)(struct TCP_Server_Info *,
238 int (*check_receive)(struct mid_q_entry *, struct TCP_Server_Info *,
240 void (*add_credits)(struct TCP_Server_Info *server,
243 void (*set_credits)(struct TCP_Server_Info *, const int);
244 int * (*get_credits_field)(struct TCP_Server_Info *, const int);
246 __u64 (*get_next_mid)(struct TCP_Server_Info *);
247 void (*revert_current_mid)(struct TCP_Server_Info *server,
262 struct mid_q_entry * (*find_mid)(struct TCP_Server_Info *, char *);
[all …]
Dsmb2proto.h38 struct TCP_Server_Info *server);
39 extern unsigned int smb2_calc_size(void *buf, struct TCP_Server_Info *server);
45 extern int smb2_verify_signature(struct smb_rqst *, struct TCP_Server_Info *);
47 struct TCP_Server_Info *server, bool log_error);
51 struct TCP_Server_Info *server, struct smb_rqst *rqst);
52 extern struct cifs_ses *smb2_find_smb_ses(struct TCP_Server_Info *server,
54 extern struct cifs_tcon *smb2_find_smb_tcon(struct TCP_Server_Info *server,
57 struct TCP_Server_Info *server);
59 struct TCP_Server_Info *server);
63 struct TCP_Server_Info *srv);
[all …]
Dcifsproto.h44 extern int smb_send(struct TCP_Server_Info *, struct smb_hdr *,
85 struct TCP_Server_Info *server);
90 extern int cifs_handle_standard(struct TCP_Server_Info *server,
92 extern int cifs_discard_remaining_data(struct TCP_Server_Info *server);
93 extern int cifs_call_async(struct TCP_Server_Info *server,
113 extern struct mid_q_entry *cifs_setup_async_request(struct TCP_Server_Info *,
116 struct TCP_Server_Info *server, bool log_error);
117 extern int cifs_wait_mtu_credits(struct TCP_Server_Info *server,
129 extern int cifs_reconnect(struct TCP_Server_Info *server);
130 extern int checkSMB(char *buf, unsigned int len, struct TCP_Server_Info *srvr);
[all …]
Dsmbdirect.h269 struct TCP_Server_Info *server, struct sockaddr *dstaddr);
272 int smbd_reconnect(struct TCP_Server_Info *server);
274 void smbd_destroy(struct TCP_Server_Info *server);
278 int smbd_send(struct TCP_Server_Info *server,
315 struct TCP_Server_Info *server, struct sockaddr *dstaddr) {return NULL;} in smbd_get_connection()
316 static inline int smbd_reconnect(struct TCP_Server_Info *server) {return -1; } in smbd_reconnect()
317 static inline void smbd_destroy(struct TCP_Server_Info *server) {} in smbd_destroy()
319 static inline int smbd_send(struct TCP_Server_Info *server, int num_rqst, struct smb_rqst *rqst) {r… in smbd_send()
Dsmb2transport.c44 smb2_crypto_shash_allocate(struct TCP_Server_Info *server) in smb2_crypto_shash_allocate()
52 smb3_crypto_shash_allocate(struct TCP_Server_Info *server) in smb3_crypto_shash_allocate()
74 smb311_crypto_shash_allocate(struct TCP_Server_Info *server) in smb311_crypto_shash_allocate()
102 smb2_find_smb_ses_unlocked(struct TCP_Server_Info *server, __u64 ses_id) in smb2_find_smb_ses_unlocked()
116 smb2_find_smb_ses(struct TCP_Server_Info *server, __u64 ses_id) in smb2_find_smb_ses()
148 smb2_find_smb_tcon(struct TCP_Server_Info *server, __u64 ses_id, __u32 tid) in smb2_find_smb_tcon()
166 smb2_calc_signature(struct smb_rqst *rqst, struct TCP_Server_Info *server) in smb2_calc_signature()
242 struct TCP_Server_Info *server = ses->server; in generate_key()
427 smb3_calc_signature(struct smb_rqst *rqst, struct TCP_Server_Info *server) in smb3_calc_signature()
494 smb2_sign_rqst(struct smb_rqst *rqst, struct TCP_Server_Info *server) in smb2_sign_rqst()
[all …]
Dfscache.h56 extern void cifs_fscache_get_client_cookie(struct TCP_Server_Info *);
57 extern void cifs_fscache_release_client_cookie(struct TCP_Server_Info *);
122 cifs_fscache_get_client_cookie(struct TCP_Server_Info *server) {} in cifs_fscache_get_client_cookie()
124 cifs_fscache_release_client_cookie(struct TCP_Server_Info *server) {} in cifs_fscache_release_client_cookie()
Dtransport.c54 AllocMidQEntry(const struct smb_hdr *smb_buffer, struct TCP_Server_Info *server) in AllocMidQEntry()
96 struct TCP_Server_Info *server = midEntry->server; in _cifs_mid_q_entry_release()
194 smb_send_kvec(struct TCP_Server_Info *server, struct msghdr *smb_msg, in smb_send_kvec()
263 smb_rqst_len(struct TCP_Server_Info *server, struct smb_rqst *rqst) in smb_rqst_len()
307 __smb_send_rqst(struct TCP_Server_Info *server, int num_rqst, in __smb_send_rqst()
453 smb_send_rqst(struct TCP_Server_Info *server, int num_rqst, in smb_send_rqst()
493 smb_send(struct TCP_Server_Info *server, struct smb_hdr *smb_buffer, in smb_send()
509 wait_for_free_credits(struct TCP_Server_Info *server, const int num_credits, in wait_for_free_credits()
626 wait_for_free_request(struct TCP_Server_Info *server, const int flags, in wait_for_free_request()
634 wait_for_compound_request(struct TCP_Server_Info *server, int num, in wait_for_compound_request()
[all …]
Dconnect.c334 static int ip_connect(struct TCP_Server_Info *server);
335 static int generic_ip_connect(struct TCP_Server_Info *server);
347 static int reconn_set_ipaddr(struct TCP_Server_Info *server) in reconn_set_ipaddr()
381 static inline int reconn_set_ipaddr(struct TCP_Server_Info *server) in reconn_set_ipaddr()
389 struct TCP_Server_Info *server;
411 find_super_by_tcp(struct TCP_Server_Info *server) in find_super_by_tcp()
422 static void reconn_inval_dfs_target(struct TCP_Server_Info *server, in reconn_inval_dfs_target()
474 cifs_reconnect(struct TCP_Server_Info *server) in cifs_reconnect()
653 struct TCP_Server_Info *server = container_of(work, in cifs_echo_request()
654 struct TCP_Server_Info, echo.work); in cifs_echo_request()
[all …]
Dcifs_debug.c35 void cifs_dump_detail(void *buf, struct TCP_Server_Info *server) in cifs_dump_detail()
48 void cifs_dump_mids(struct TCP_Server_Info *server) in cifs_dump_mids()
146 struct TCP_Server_Info *server; in cifs_debug_files_proc_show()
161 server = list_entry(stmp, struct TCP_Server_Info, in cifs_debug_files_proc_show()
199 struct TCP_Server_Info *server; in cifs_debug_data_proc_show()
252 server = list_entry(tmp1, struct TCP_Server_Info, in cifs_debug_data_proc_show()
432 struct TCP_Server_Info *server; in cifs_stats_proc_write()
453 server = list_entry(tmp1, struct TCP_Server_Info, in cifs_stats_proc_write()
497 struct TCP_Server_Info *server; in cifs_stats_proc_show()
528 server = list_entry(tmp1, struct TCP_Server_Info, in cifs_stats_proc_show()
Dsmb1ops.c27 send_nt_cancel(struct TCP_Server_Info *server, struct smb_rqst *rqst, in send_nt_cancel()
88 cifs_find_mid(struct TCP_Server_Info *server, char *buffer) in cifs_find_mid()
108 cifs_add_credits(struct TCP_Server_Info *server, in cifs_add_credits()
119 cifs_set_credits(struct TCP_Server_Info *server, const int val) in cifs_set_credits()
128 cifs_get_credits_field(struct TCP_Server_Info *server, const int optype) in cifs_get_credits_field()
161 cifs_get_next_mid(struct TCP_Server_Info *server) in cifs_get_next_mid()
371 cifs_downgrade_oplock(struct TCP_Server_Info *server, in cifs_downgrade_oplock()
381 cifs_check_trans2(struct mid_q_entry *mid, struct TCP_Server_Info *server, in cifs_check_trans2()
412 cifs_need_neg(struct TCP_Server_Info *server) in cifs_need_neg()
436 struct TCP_Server_Info *server = tcon->ses->server; in cifs_negotiate_wsize()
[all …]
Dcifs_debug.h12 void cifs_dump_detail(void *buf, struct TCP_Server_Info *ptcp_info);
13 void cifs_dump_mids(struct TCP_Server_Info *);
Dsmb2misc.c131 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()
592 struct TCP_Server_Info *server; in smb2_is_valid_lease_break()
609 server = list_entry(tmp, struct TCP_Server_Info, tcp_ses_list); in smb2_is_valid_lease_break()
648 smb2_is_valid_oplock_break(char *buffer, struct TCP_Server_Info *server) in smb2_is_valid_oplock_break()
748 smb2_handle_cancelled_mid(char *buffer, struct TCP_Server_Info *server) in smb2_handle_cancelled_mid()
Dcifsencrypt.c41 struct TCP_Server_Info *server, char *signature, in __cifs_calc_signature()
113 struct TCP_Server_Info *server, char *signature) in cifs_calc_signature()
143 int cifs_sign_rqst(struct smb_rqst *rqst, struct TCP_Server_Info *server, in cifs_sign_rqst()
182 int cifs_sign_smbv(struct kvec *iov, int n_vec, struct TCP_Server_Info *server, in cifs_sign_smbv()
192 int cifs_sign_smb(struct smb_hdr *cifs_pdu, struct TCP_Server_Info *server, in cifs_sign_smb()
207 struct TCP_Server_Info *server, in cifs_verify_signature()
805 cifs_crypto_secmech_release(struct TCP_Server_Info *server) in cifs_crypto_secmech_release()
Dfscache.c43 void cifs_fscache_get_client_cookie(struct TCP_Server_Info *server) in cifs_fscache_get_client_cookie()
87 void cifs_fscache_release_client_cookie(struct TCP_Server_Info *server) in cifs_fscache_release_client_cookie()
97 struct TCP_Server_Info *server = tcon->ses->server; in cifs_fscache_get_super_cookie()
Dfile.c185 struct TCP_Server_Info *server = tcon->ses->server; in cifs_nt_open()
301 struct TCP_Server_Info *server = tcon->ses->server; in cifs_new_fileinfo()
405 struct TCP_Server_Info *server = tcon->ses->server; in _cifsFileInfo_put()
456 struct TCP_Server_Info *server = tcon->ses->server; in _cifsFileInfo_put()
497 struct TCP_Server_Info *server; in cifs_open()
657 struct TCP_Server_Info *server; in cifs_reopen_file()
861 struct TCP_Server_Info *server; in cifs_closedir()
946 struct TCP_Server_Info *server = tlink_tcon(cfile->tlink)->ses->server; in cifs_find_fid_lock_conflict()
1008 struct TCP_Server_Info *server = tlink_tcon(cfile->tlink)->ses->server; in cifs_lock_test()
1361 bool *wait_flag, struct TCP_Server_Info *server) in cifs_read_flock()
[all …]
Dsmb2ops.c27 change_conf(struct TCP_Server_Info *server) in change_conf()
58 smb2_add_credits(struct TCP_Server_Info *server, in smb2_add_credits()
126 smb2_set_credits(struct TCP_Server_Info *server, const int val) in smb2_set_credits()
139 smb2_get_credits_field(struct TCP_Server_Info *server, const int optype) in smb2_get_credits_field()
164 smb2_wait_mtu_credits(struct TCP_Server_Info *server, unsigned int size, in smb2_wait_mtu_credits()
216 smb2_adjust_credits(struct TCP_Server_Info *server, in smb2_adjust_credits()
248 smb2_get_next_mid(struct TCP_Server_Info *server) in smb2_get_next_mid()
259 smb2_revert_current_mid(struct TCP_Server_Info *server, const unsigned int val) in smb2_revert_current_mid()
268 smb2_find_mid(struct TCP_Server_Info *server, char *buf) in smb2_find_mid()
294 smb2_dump_detail(void *buf, struct TCP_Server_Info *server) in smb2_dump_detail()
[all …]
Dsmb2pdu.c107 struct TCP_Server_Info *server = tcon->ses->server; in smb2_hdr_assemble()
244 struct TCP_Server_Info *server; in smb2_reconnect()
538 struct TCP_Server_Info *server, unsigned int *total_len) in assemble_neg_contexts()
604 static void decode_compress_ctx(struct TCP_Server_Info *server, in decode_compress_ctx()
625 static int decode_encrypt_ctx(struct TCP_Server_Info *server, in decode_encrypt_ctx()
652 struct TCP_Server_Info *server, in smb311_decode_neg_context()
794 struct TCP_Server_Info *server = ses->server; in SMB2_negotiate()
1000 struct TCP_Server_Info *server = tcon->ses->server; in smb3_validate_negotiate()
1128 smb2_select_sectype(struct TCP_Server_Info *server, enum securityEnum requested) in smb2_select_sectype()
1174 struct TCP_Server_Info *server = ses->server; in SMB2_sess_alloc_buffer()
[all …]
Ddfs_cache.h49 struct TCP_Server_Info *server);
Dinode.c677 struct TCP_Server_Info *server = tcon->ses->server;
738 struct TCP_Server_Info *server;
1141 struct TCP_Server_Info *server;
1345 struct TCP_Server_Info *server;
1496 struct TCP_Server_Info *server = tcon->ses->server;
1586 struct TCP_Server_Info *server;
1658 struct TCP_Server_Info *server;
1725 struct TCP_Server_Info *server;
2137 struct TCP_Server_Info *server = tcon->ses->server;
2208 struct TCP_Server_Info *server;
Ddir.c239 struct TCP_Server_Info *server = tcon->ses->server; in cifs_do_create()
473 struct TCP_Server_Info *server; in cifs_atomic_open()
589 struct TCP_Server_Info *server; in cifs_create()
Dcifs_spnego.c101 struct TCP_Server_Info *server = sesInfo->server; in cifs_get_spnego_key()
Ddfs_cache.c1209 int dfs_cache_update_vol(const char *fullpath, struct TCP_Server_Info *server) in dfs_cache_update_vol()
1259 static void get_tcons(struct TCP_Server_Info *server, struct list_head *head) in get_tcons()
1321 struct TCP_Server_Info *server; in find_root_ses()
1455 struct TCP_Server_Info *server; in refresh_cache_worker()
Dlink.c528 struct TCP_Server_Info *server; in cifs_hardlink()
618 struct TCP_Server_Info *server; in cifs_get_link()
Dasn1.c484 struct TCP_Server_Info *server) in decode_negTokenInit()
Dreaddir.c276 struct TCP_Server_Info *server; in initiate_cifs_search()
582 struct TCP_Server_Info *server = tcon->ses->server; in find_cifs_entry()

12