Home
last modified time | relevance | path

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

12

/linux-5.19.10/fs/cifs/
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 …]
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 …]
Dcifsglob.h221 struct TCP_Server_Info;
238 int (*send_cancel)(struct TCP_Server_Info *, struct smb_rqst *,
243 struct TCP_Server_Info *,
246 struct mid_q_entry *(*setup_async_request)(struct TCP_Server_Info *,
249 int (*check_receive)(struct mid_q_entry *, struct TCP_Server_Info *,
251 void (*add_credits)(struct TCP_Server_Info *server,
254 void (*set_credits)(struct TCP_Server_Info *, const int);
255 int * (*get_credits_field)(struct TCP_Server_Info *, const int);
257 __u64 (*get_next_mid)(struct TCP_Server_Info *);
258 void (*revert_current_mid)(struct TCP_Server_Info *server,
[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.c30 smb3_crypto_shash_allocate(struct TCP_Server_Info *server) in smb3_crypto_shash_allocate()
52 smb311_crypto_shash_allocate(struct TCP_Server_Info *server) in smb311_crypto_shash_allocate()
81 int smb2_get_sign_key(__u64 ses_id, struct TCP_Server_Info *server, u8 *key) in smb2_get_sign_key()
85 struct TCP_Server_Info *it = NULL; in smb2_get_sign_key()
141 smb2_find_smb_ses_unlocked(struct TCP_Server_Info *server, __u64 ses_id) in smb2_find_smb_ses_unlocked()
156 smb2_find_smb_ses(struct TCP_Server_Info *server, __u64 ses_id) in smb2_find_smb_ses()
188 smb2_find_smb_tcon(struct TCP_Server_Info *server, __u64 ses_id, __u32 tid) in smb2_find_smb_tcon()
213 smb2_calc_signature(struct smb_rqst *rqst, struct TCP_Server_Info *server, in smb2_calc_signature()
307 struct TCP_Server_Info *server = ses->server; in generate_key()
398 struct TCP_Server_Info *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()
448 smb_send_rqst(struct TCP_Server_Info *server, int num_rqst, in smb_send_rqst()
492 smb_send(struct TCP_Server_Info *server, struct smb_hdr *smb_buffer, in smb_send()
508 wait_for_free_credits(struct TCP_Server_Info *server, const int num_credits, in wait_for_free_credits()
662 wait_for_free_request(struct TCP_Server_Info *server, const int flags, in wait_for_free_request()
670 wait_for_compound_request(struct TCP_Server_Info *server, int num, in wait_for_compound_request()
[all …]
Dconnect.c68 struct TCP_Server_Info *server;
78 static int ip_connect(struct TCP_Server_Info *server);
79 static int generic_ip_connect(struct TCP_Server_Info *server);
89 static int reconn_set_ipaddr_from_hostname(struct TCP_Server_Info *server) in reconn_set_ipaddr_from_hostname()
171 struct TCP_Server_Info *server = container_of(work, in cifs_resolve_server()
172 struct TCP_Server_Info, resolve.work); in cifs_resolve_server()
198 cifs_signal_cifsd_for_reconnect(struct TCP_Server_Info *server, in cifs_signal_cifsd_for_reconnect()
201 struct TCP_Server_Info *pserver; in cifs_signal_cifsd_for_reconnect()
235 cifs_mark_tcp_ses_conns_for_reconnect(struct TCP_Server_Info *server, in cifs_mark_tcp_ses_conns_for_reconnect()
238 struct TCP_Server_Info *pserver; in cifs_mark_tcp_ses_conns_for_reconnect()
[all …]
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()
93 struct TCP_Server_Info *server) in cifs_chan_set_in_reconnect()
102 struct TCP_Server_Info *server) in cifs_chan_clear_in_reconnect()
111 struct TCP_Server_Info *server) in cifs_chan_in_reconnect()
120 struct TCP_Server_Info *server) in cifs_chan_set_need_reconnect()
131 struct TCP_Server_Info *server) in cifs_chan_clear_need_reconnect()
142 struct TCP_Server_Info *server) in cifs_chan_needs_reconnect()
151 struct TCP_Server_Info *server) in cifs_chan_is_iface_active()
263 cifs_chan_update_iface(struct cifs_ses *ses, struct TCP_Server_Info *server) in cifs_chan_update_iface()
[all …]
Dntlmssp.h148 struct TCP_Server_Info *server,
152 struct TCP_Server_Info *server,
156 struct TCP_Server_Info *server,
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.c88 struct TCP_Server_Info *server) in smb2_hdr_assemble()
143 struct TCP_Server_Info *server) in smb2_reconnect()
353 struct TCP_Server_Info *server, in fill_small_buf()
379 struct TCP_Server_Info *server, in __smb2_plain_req_init()
406 struct TCP_Server_Info *server, in smb2_plain_req_init()
420 struct TCP_Server_Info *server, in smb2_ioctl_req_init()
543 struct TCP_Server_Info *server, unsigned int *total_len) in assemble_neg_contexts()
636 static void decode_compress_ctx(struct TCP_Server_Info *server, in decode_compress_ctx()
657 static int decode_encrypt_ctx(struct TCP_Server_Info *server, in decode_encrypt_ctx()
704 static void decode_signing_ctx(struct TCP_Server_Info *server, in decode_signing_ctx()
[all …]
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 …]
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()
173 int cifs_sign_smbv(struct kvec *iov, int n_vec, struct TCP_Server_Info *server, in cifs_sign_smbv()
183 int cifs_sign_smb(struct smb_hdr *cifs_pdu, struct TCP_Server_Info *server, in cifs_sign_smb()
198 struct TCP_Server_Info *server, in cifs_verify_signature()
720 cifs_crypto_secmech_release(struct TCP_Server_Info *server) in cifs_crypto_secmech_release()
Dsmb2misc.c135 smb2_check_message(char *buf, unsigned int len, struct TCP_Server_Info *srvr) in smb2_check_message()
403 smb2_calc_size(void *buf, struct TCP_Server_Info *srvr) in smb2_calc_size()
604 struct TCP_Server_Info *server; in smb2_is_valid_lease_break()
669 smb2_is_valid_oplock_break(char *buffer, struct TCP_Server_Info *server) in smb2_is_valid_oplock_break()
803 struct TCP_Server_Info *server = NULL; in smb2_handle_cancelled_close()
828 smb2_handle_cancelled_mid(struct mid_q_entry *mid, struct TCP_Server_Info *server) in smb2_handle_cancelled_mid()
867 smb311_update_preauth_hash(struct cifs_ses *ses, struct TCP_Server_Info *server, in smb311_update_preauth_hash()
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()
129 struct TCP_Server_Info *server = chan->server; in cifs_dump_channel()
172 struct TCP_Server_Info *server; in cifs_debug_files_proc_show()
223 struct TCP_Server_Info *server; in cifs_debug_data_proc_show()
508 struct TCP_Server_Info *server; in cifs_stats_proc_write()
529 server = list_entry(tmp1, struct TCP_Server_Info, in cifs_stats_proc_write()
573 struct TCP_Server_Info *server; in cifs_stats_proc_show()
Dcifs_spnego.h33 struct TCP_Server_Info *server);
Dsmb2ops.c33 change_conf(struct TCP_Server_Info *server) in change_conf()
64 smb2_add_credits(struct TCP_Server_Info *server, in smb2_add_credits()
161 smb2_set_credits(struct TCP_Server_Info *server, const int val) in smb2_set_credits()
183 smb2_get_credits_field(struct TCP_Server_Info *server, const int optype) in smb2_get_credits_field()
202 smb2_wait_mtu_credits(struct TCP_Server_Info *server, unsigned int size, in smb2_wait_mtu_credits()
266 smb2_adjust_credits(struct TCP_Server_Info *server, in smb2_adjust_credits()
318 smb2_get_next_mid(struct TCP_Server_Info *server) in smb2_get_next_mid()
329 smb2_revert_current_mid(struct TCP_Server_Info *server, const unsigned int val) in smb2_revert_current_mid()
338 __smb2_find_mid(struct TCP_Server_Info *server, char *buf, bool dequeue) in __smb2_find_mid()
368 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()
440 struct TCP_Server_Info *server = tcon->ses->server; in _cifsFileInfo_put()
490 struct TCP_Server_Info *server = tcon->ses->server; in _cifsFileInfo_put()
519 struct TCP_Server_Info *server; in cifs_open()
707 struct TCP_Server_Info *server; in cifs_reopen_file()
970 struct TCP_Server_Info *server; in cifs_closedir()
1055 struct TCP_Server_Info *server = tlink_tcon(cfile->tlink)->ses->server; in cifs_find_fid_lock_conflict()
1117 struct TCP_Server_Info *server = tlink_tcon(cfile->tlink)->ses->server; in cifs_lock_test()
1464 bool *wait_flag, struct TCP_Server_Info *server) in cifs_read_flock()
[all …]
Dmisc.c315 checkSMB(char *buf, unsigned int total_read, struct TCP_Server_Info *server) in checkSMB()
399 is_valid_oplock_break(char *buffer, struct TCP_Server_Info *srv) in is_valid_oplock_break()
1207 struct TCP_Server_Info *server = sd->data; in tcp_super_cb()
1252 struct super_block *cifs_get_tcp_super(struct TCP_Server_Info *server) in cifs_get_tcp_super()
1263 int match_target_ip(struct TCP_Server_Info *server, in match_target_ip()
Dinode.c742 struct TCP_Server_Info *server = tcon->ses->server;
861 struct TCP_Server_Info *server = tcon->ses->server;
923 struct TCP_Server_Info *server;
1393 struct TCP_Server_Info *server;
1598 struct TCP_Server_Info *server;
1771 struct TCP_Server_Info *server = tcon->ses->server;
1862 struct TCP_Server_Info *server;
1938 struct TCP_Server_Info *server;
2017 struct TCP_Server_Info *server;
2504 struct TCP_Server_Info *server = tcon->ses->server;
[all …]
Ddir.c183 struct TCP_Server_Info *server = tcon->ses->server; in cifs_do_create()
417 struct TCP_Server_Info *server; in cifs_atomic_open()
539 struct TCP_Server_Info *server; in cifs_create()
Dcifs_spnego.c88 struct TCP_Server_Info *server) in cifs_get_spnego_key()
Ddfs_cache.c1312 static bool target_share_equal(struct TCP_Server_Info *server, const char *s1, const char *s2) in target_share_equal()
1436 struct TCP_Server_Info *server = tcon->ses->server; in refresh_tcon()
1463 struct TCP_Server_Info *server; in dfs_cache_remount_fs()
1520 struct TCP_Server_Info *server; in refresh_mounts()
1544 struct TCP_Server_Info *server = tcon->ses->server; in refresh_mounts()

12