/linux-6.1.9/fs/cifs/ |
D | cifsproto.h | 31 extern int smb_send(struct TCP_Server_Info *, struct smb_hdr *, 84 extern int cifs_handle_standard(struct TCP_Server_Info *server, 89 extern int cifs_discard_remaining_data(struct TCP_Server_Info *server); 90 extern int cifs_call_async(struct TCP_Server_Info *server, 95 extern struct TCP_Server_Info *cifs_pick_channel(struct cifs_ses *ses); 97 struct TCP_Server_Info *server, 101 struct TCP_Server_Info *server, 112 struct TCP_Server_Info *, 114 extern struct mid_q_entry *cifs_setup_async_request(struct TCP_Server_Info *, 117 struct TCP_Server_Info *server, bool log_error); [all …]
|
D | smb2proto.h | 25 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, 53 struct TCP_Server_Info *srv); [all …]
|
D | cifsglob.h | 226 struct TCP_Server_Info; 243 int (*send_cancel)(struct TCP_Server_Info *, struct smb_rqst *, 248 struct TCP_Server_Info *, 251 struct mid_q_entry *(*setup_async_request)(struct TCP_Server_Info *, 254 int (*check_receive)(struct mid_q_entry *, struct TCP_Server_Info *, 256 void (*add_credits)(struct TCP_Server_Info *server, 259 void (*set_credits)(struct TCP_Server_Info *, const int); 260 int * (*get_credits_field)(struct TCP_Server_Info *, const int); 262 __u64 (*get_next_mid)(struct TCP_Server_Info *); 263 void (*revert_current_mid)(struct TCP_Server_Info *server, [all …]
|
D | smbdirect.h | 267 struct TCP_Server_Info *server, struct sockaddr *dstaddr); 270 int smbd_reconnect(struct TCP_Server_Info *server); 272 void smbd_destroy(struct TCP_Server_Info *server); 276 int smbd_send(struct TCP_Server_Info *server, 313 struct TCP_Server_Info *server, struct sockaddr *dstaddr) {return NULL;} in smbd_get_connection() 314 static inline int smbd_reconnect(struct TCP_Server_Info *server) {return -1; } in smbd_reconnect() 315 static inline void smbd_destroy(struct TCP_Server_Info *server) {} in smbd_destroy() 317 static inline int smbd_send(struct TCP_Server_Info *server, int num_rqst, struct smb_rqst *rqst) {r… in smbd_send()
|
D | cifs_swn.h | 27 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()
|
D | smb2transport.c | 30 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 smb2_get_sign_key(__u64 ses_id, struct TCP_Server_Info *server, u8 *key) in smb2_get_sign_key() 80 struct TCP_Server_Info *pserver; in smb2_get_sign_key() 138 smb2_find_smb_ses_unlocked(struct TCP_Server_Info *server, __u64 ses_id) in smb2_find_smb_ses_unlocked() 140 struct TCP_Server_Info *pserver; in smb2_find_smb_ses_unlocked() 157 smb2_find_smb_ses(struct TCP_Server_Info *server, __u64 ses_id) in smb2_find_smb_ses() 189 smb2_find_smb_tcon(struct TCP_Server_Info *server, __u64 ses_id, __u32 tid) in smb2_find_smb_tcon() 214 smb2_calc_signature(struct smb_rqst *rqst, struct TCP_Server_Info *server, in smb2_calc_signature() 304 struct TCP_Server_Info *server = ses->server; in generate_key() [all …]
|
D | transport.c | 42 alloc_mid(const struct smb_hdr *smb_buffer, struct TCP_Server_Info *server) in alloc_mid() 87 struct TCP_Server_Info *server = midEntry->server; in __release_mid() 158 struct TCP_Server_Info *server = mid->server; in release_mid() 188 smb_send_kvec(struct TCP_Server_Info *server, struct msghdr *smb_msg, in smb_send_kvec() 253 smb_rqst_len(struct TCP_Server_Info *server, struct smb_rqst *rqst) in smb_rqst_len() 297 __smb_send_rqst(struct TCP_Server_Info *server, int num_rqst, in __smb_send_rqst() 442 smb_send_rqst(struct TCP_Server_Info *server, int num_rqst, in smb_send_rqst() 486 smb_send(struct TCP_Server_Info *server, struct smb_hdr *smb_buffer, in smb_send() 502 wait_for_free_credits(struct TCP_Server_Info *server, const int num_credits, in wait_for_free_credits() 656 wait_for_free_request(struct TCP_Server_Info *server, const int flags, in wait_for_free_request() [all …]
|
D | connect.c | 68 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() 240 cifs_mark_tcp_ses_conns_for_reconnect(struct TCP_Server_Info *server, in cifs_mark_tcp_ses_conns_for_reconnect() 243 struct TCP_Server_Info *pserver; in cifs_mark_tcp_ses_conns_for_reconnect() [all …]
|
D | sess.c | 31 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 …]
|
D | ntlmssp.h | 148 struct TCP_Server_Info *server, 152 struct TCP_Server_Info *server, 156 struct TCP_Server_Info *server,
|
D | asn1.c | 13 struct TCP_Server_Info *server) in decode_negTokenInit() 43 struct TCP_Server_Info *server = context; in cifs_neg_token_init_mech_type()
|
D | smb2pdu.c | 89 struct TCP_Server_Info *server) in smb2_hdr_assemble() 144 struct TCP_Server_Info *server) in smb2_reconnect() 354 struct TCP_Server_Info *server, in fill_small_buf() 380 struct TCP_Server_Info *server, in __smb2_plain_req_init() 407 struct TCP_Server_Info *server, in smb2_plain_req_init() 421 struct TCP_Server_Info *server, in smb2_ioctl_req_init() 542 struct TCP_Server_Info *server, unsigned int *total_len) in assemble_neg_contexts() 545 struct TCP_Server_Info *pserver; 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() [all …]
|
D | smb2misc.c | 136 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() 615 smb2_is_valid_lease_break(char *buffer, struct TCP_Server_Info *server) in smb2_is_valid_lease_break() 618 struct TCP_Server_Info *pserver; in smb2_is_valid_lease_break() 676 smb2_is_valid_oplock_break(char *buffer, struct TCP_Server_Info *server) in smb2_is_valid_oplock_break() 679 struct TCP_Server_Info *pserver; in smb2_is_valid_oplock_break() 814 struct TCP_Server_Info *server = NULL; in smb2_handle_cancelled_close() 839 smb2_handle_cancelled_mid(struct mid_q_entry *mid, struct TCP_Server_Info *server) in smb2_handle_cancelled_mid() 878 smb311_update_preauth_hash(struct cifs_ses *ses, struct TCP_Server_Info *server, in smb311_update_preauth_hash()
|
D | smb1ops.c | 29 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 …]
|
D | cifsencrypt.c | 28 struct TCP_Server_Info *server, char *signature, in __cifs_calc_signature() 99 struct TCP_Server_Info *server, char *signature) in cifs_calc_signature() 127 int cifs_sign_rqst(struct smb_rqst *rqst, struct TCP_Server_Info *server, in cifs_sign_rqst() 170 int cifs_sign_smbv(struct kvec *iov, int n_vec, struct TCP_Server_Info *server, in cifs_sign_smbv() 180 int cifs_sign_smb(struct smb_hdr *cifs_pdu, struct TCP_Server_Info *server, in cifs_sign_smb() 195 struct TCP_Server_Info *server, in cifs_verify_signature() 716 cifs_crypto_secmech_release(struct TCP_Server_Info *server) in cifs_crypto_secmech_release()
|
D | cifs_debug.h | 18 void cifs_dump_detail(void *buf, struct TCP_Server_Info *ptcp_info); 19 void cifs_dump_mids(struct TCP_Server_Info *);
|
D | smb2ops.c | 34 change_conf(struct TCP_Server_Info *server) in change_conf() 65 smb2_add_credits(struct TCP_Server_Info *server, in smb2_add_credits() 162 smb2_set_credits(struct TCP_Server_Info *server, const int val) in smb2_set_credits() 184 smb2_get_credits_field(struct TCP_Server_Info *server, const int optype) in smb2_get_credits_field() 203 smb2_wait_mtu_credits(struct TCP_Server_Info *server, unsigned int size, in smb2_wait_mtu_credits() 267 smb2_adjust_credits(struct TCP_Server_Info *server, in smb2_adjust_credits() 319 smb2_get_next_mid(struct TCP_Server_Info *server) in smb2_get_next_mid() 330 smb2_revert_current_mid(struct TCP_Server_Info *server, const unsigned int val) in smb2_revert_current_mid() 339 __smb2_find_mid(struct TCP_Server_Info *server, char *buf, bool dequeue) in __smb2_find_mid() 369 smb2_find_mid(struct TCP_Server_Info *server, char *buf) in smb2_find_mid() [all …]
|
D | cifs_spnego.h | 33 struct TCP_Server_Info *server);
|
D | file.c | 220 struct TCP_Server_Info *server = tcon->ses->server; in cifs_nt_open() 329 struct TCP_Server_Info *server = tcon->ses->server; in cifs_new_fileinfo() 488 struct TCP_Server_Info *server = tcon->ses->server; in _cifsFileInfo_put() 538 struct TCP_Server_Info *server = tcon->ses->server; in _cifsFileInfo_put() 567 struct TCP_Server_Info *server; in cifs_open() 767 struct TCP_Server_Info *server; in cifs_reopen_file() 1030 struct TCP_Server_Info *server; in cifs_closedir() 1115 struct TCP_Server_Info *server = tlink_tcon(cfile->tlink)->ses->server; in cifs_find_fid_lock_conflict() 1177 struct TCP_Server_Info *server = tlink_tcon(cfile->tlink)->ses->server; in cifs_lock_test() 1532 bool *wait_flag, struct TCP_Server_Info *server) in cifs_read_flock() [all …]
|
D | cifs_debug.c | 36 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() 171 struct TCP_Server_Info *server; in cifs_debug_files_proc_show() 217 struct TCP_Server_Info *server; in cifs_debug_data_proc_show() 495 struct TCP_Server_Info *server; in cifs_stats_proc_write() 552 struct TCP_Server_Info *server; in cifs_stats_proc_show()
|
D | misc.c | 315 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() 403 struct TCP_Server_Info *pserver; in is_valid_oplock_break() 1200 struct TCP_Server_Info *server = sd->data; in tcp_super_cb() 1245 struct super_block *cifs_get_tcp_super(struct TCP_Server_Info *server) in cifs_get_tcp_super() 1256 int match_target_ip(struct TCP_Server_Info *server, in match_target_ip()
|
D | inode.c | 396 struct TCP_Server_Info *server; 788 struct TCP_Server_Info *server = tcon->ses->server; 910 struct TCP_Server_Info *server = tcon->ses->server; 965 struct TCP_Server_Info *server; 1435 struct TCP_Server_Info *server; 1642 struct TCP_Server_Info *server; 1823 struct TCP_Server_Info *server = tcon->ses->server; 1916 struct TCP_Server_Info *server; 1994 struct TCP_Server_Info *server; 2073 struct TCP_Server_Info *server; [all …]
|
D | dir.c | 181 struct TCP_Server_Info *server = tcon->ses->server; 415 struct TCP_Server_Info *server; 538 struct TCP_Server_Info *server;
|
D | cifs_spnego.c | 88 struct TCP_Server_Info *server) in cifs_get_spnego_key()
|
D | dfs_cache.c | 1316 static bool target_share_equal(struct TCP_Server_Info *server, const char *s1, const char *s2) in target_share_equal() 1440 struct TCP_Server_Info *server = tcon->ses->server; in refresh_tcon() 1467 struct TCP_Server_Info *server; in dfs_cache_remount_fs() 1524 struct TCP_Server_Info *server; in refresh_mounts() 1554 struct TCP_Server_Info *server = tcon->ses->server; in refresh_mounts()
|