/Linux-v5.10/fs/cifs/ |
D | smb2proto.h | 38 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); 49 struct TCP_Server_Info *, 52 struct TCP_Server_Info *server, struct smb_rqst *rqst); 53 extern struct cifs_ses *smb2_find_smb_ses(struct TCP_Server_Info *server, 55 extern struct cifs_tcon *smb2_find_smb_tcon(struct TCP_Server_Info *server, 58 struct TCP_Server_Info *server, 61 struct TCP_Server_Info *server, [all …]
|
D | cifsglob.h | 199 struct TCP_Server_Info; 216 int (*send_cancel)(struct TCP_Server_Info *, struct smb_rqst *, 221 struct TCP_Server_Info *, 224 struct mid_q_entry *(*setup_async_request)(struct TCP_Server_Info *, 227 int (*check_receive)(struct mid_q_entry *, struct TCP_Server_Info *, 229 void (*add_credits)(struct TCP_Server_Info *server, 232 void (*set_credits)(struct TCP_Server_Info *, const int); 233 int * (*get_credits_field)(struct TCP_Server_Info *, const int); 235 __u64 (*get_next_mid)(struct TCP_Server_Info *); 236 void (*revert_current_mid)(struct TCP_Server_Info *server, [all …]
|
D | cifsproto.h | 44 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, 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 …]
|
D | smbdirect.h | 263 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()
|
D | smb2transport.c | 44 smb3_crypto_shash_allocate(struct TCP_Server_Info *server) in smb3_crypto_shash_allocate() 66 smb311_crypto_shash_allocate(struct TCP_Server_Info *server) in smb311_crypto_shash_allocate() 95 int smb2_get_sign_key(__u64 ses_id, struct TCP_Server_Info *server, u8 *key) in smb2_get_sign_key() 99 struct TCP_Server_Info *it = NULL; in smb2_get_sign_key() 150 smb2_find_smb_ses_unlocked(struct TCP_Server_Info *server, __u64 ses_id) in smb2_find_smb_ses_unlocked() 164 smb2_find_smb_ses(struct TCP_Server_Info *server, __u64 ses_id) in smb2_find_smb_ses() 196 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() 305 struct TCP_Server_Info *server = ses->server; in generate_key() 514 smb3_calc_signature(struct smb_rqst *rqst, struct TCP_Server_Info *server, in smb3_calc_signature() [all …]
|
D | transport.c | 54 AllocMidQEntry(const struct smb_hdr *smb_buffer, struct TCP_Server_Info *server) in AllocMidQEntry() 99 struct TCP_Server_Info *server = midEntry->server; in _cifs_mid_q_entry_release() 203 smb_send_kvec(struct TCP_Server_Info *server, struct msghdr *smb_msg, in smb_send_kvec() 272 smb_rqst_len(struct TCP_Server_Info *server, struct smb_rqst *rqst) in smb_rqst_len() 316 __smb_send_rqst(struct TCP_Server_Info *server, int num_rqst, in __smb_send_rqst() 461 smb_send_rqst(struct TCP_Server_Info *server, int num_rqst, in smb_send_rqst() 506 smb_send(struct TCP_Server_Info *server, struct smb_hdr *smb_buffer, in smb_send() 522 wait_for_free_credits(struct TCP_Server_Info *server, const int num_credits, in wait_for_free_credits() 640 wait_for_free_request(struct TCP_Server_Info *server, const int flags, in wait_for_free_request() 648 wait_for_compound_request(struct TCP_Server_Info *server, int num, in wait_for_compound_request() [all …]
|
D | fscache.h | 65 extern void cifs_fscache_get_client_cookie(struct TCP_Server_Info *); 66 extern void cifs_fscache_release_client_cookie(struct TCP_Server_Info *); 131 cifs_fscache_get_client_cookie(struct TCP_Server_Info *server) {} in cifs_fscache_get_client_cookie() 133 cifs_fscache_release_client_cookie(struct TCP_Server_Info *server) {} in cifs_fscache_release_client_cookie()
|
D | connect.c | 283 static int ip_connect(struct TCP_Server_Info *server); 284 static int generic_ip_connect(struct TCP_Server_Info *server); 296 static int reconn_set_ipaddr(struct TCP_Server_Info *server) in reconn_set_ipaddr() 332 static inline int reconn_set_ipaddr(struct TCP_Server_Info *server) in reconn_set_ipaddr() 340 static void reconn_set_next_dfs_target(struct TCP_Server_Info *server, in reconn_set_next_dfs_target() 390 cifs_reconnect(struct TCP_Server_Info *server) in cifs_reconnect() 583 struct TCP_Server_Info *server = container_of(work, in cifs_echo_request() 584 struct TCP_Server_Info, echo.work); in cifs_echo_request() 618 allocate_buffers(struct TCP_Server_Info *server) in allocate_buffers() 651 server_unresponsive(struct TCP_Server_Info *server) in server_unresponsive() [all …]
|
D | cifs_debug.c | 35 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() 127 struct TCP_Server_Info *server = chan->server; in cifs_dump_channel() 167 struct TCP_Server_Info *server; in cifs_debug_files_proc_show() 182 server = list_entry(stmp, struct TCP_Server_Info, in cifs_debug_files_proc_show() 220 struct TCP_Server_Info *server; in cifs_debug_data_proc_show() 273 server = list_entry(tmp1, struct TCP_Server_Info, in cifs_debug_data_proc_show() 475 struct TCP_Server_Info *server; in cifs_stats_proc_write() 496 server = list_entry(tmp1, struct TCP_Server_Info, in cifs_stats_proc_write() 540 struct TCP_Server_Info *server; in cifs_stats_proc_show() [all …]
|
D | smb2misc.c | 132 smb2_check_message(char *buf, unsigned int len, struct TCP_Server_Info *srvr) in smb2_check_message() 401 smb2_calc_size(void *buf, struct TCP_Server_Info *srvr) in smb2_calc_size() 605 struct TCP_Server_Info *server; in smb2_is_valid_lease_break() 615 server = list_entry(tmp, struct TCP_Server_Info, tcp_ses_list); 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() 805 struct TCP_Server_Info *server = NULL; in smb2_handle_cancelled_close() 830 smb2_handle_cancelled_mid(char *buffer, struct TCP_Server_Info *server) in smb2_handle_cancelled_mid() 869 struct TCP_Server_Info *server = cifs_ses_server(ses); in smb311_update_preauth_hash()
|
D | smb2pdu.c | 102 struct TCP_Server_Info *server) in smb2_hdr_assemble() 157 struct TCP_Server_Info *server) in smb2_reconnect() 343 struct TCP_Server_Info *server, in fill_small_buf() 369 struct TCP_Server_Info *server, in __smb2_plain_req_init() 396 struct TCP_Server_Info *server, in smb2_plain_req_init() 410 struct TCP_Server_Info *server, in smb2_ioctl_req_init() 510 struct TCP_Server_Info *server, unsigned int *total_len) in assemble_neg_contexts() 576 static void decode_compress_ctx(struct TCP_Server_Info *server, in decode_compress_ctx() 597 static int decode_encrypt_ctx(struct TCP_Server_Info *server, in decode_encrypt_ctx() 645 struct TCP_Server_Info *server, in smb311_decode_neg_context() [all …]
|
D | smb1ops.c | 27 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() 379 cifs_check_trans2(struct mid_q_entry *mid, struct TCP_Server_Info *server, in cifs_check_trans2() 410 cifs_need_neg(struct TCP_Server_Info *server) in cifs_need_neg() 434 struct TCP_Server_Info *server = tcon->ses->server; in cifs_negotiate_wsize() [all …]
|
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 | cifsencrypt.c | 41 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()
|
D | smb2ops.c | 30 change_conf(struct TCP_Server_Info *server) in change_conf() 61 smb2_add_credits(struct TCP_Server_Info *server, in smb2_add_credits() 131 smb2_set_credits(struct TCP_Server_Info *server, const int val) in smb2_set_credits() 144 smb2_get_credits_field(struct TCP_Server_Info *server, const int optype) in smb2_get_credits_field() 163 smb2_wait_mtu_credits(struct TCP_Server_Info *server, unsigned int size, in smb2_wait_mtu_credits() 215 smb2_adjust_credits(struct TCP_Server_Info *server, in smb2_adjust_credits() 247 smb2_get_next_mid(struct TCP_Server_Info *server) in smb2_get_next_mid() 258 smb2_revert_current_mid(struct TCP_Server_Info *server, const unsigned int val) in smb2_revert_current_mid() 267 __smb2_find_mid(struct TCP_Server_Info *server, char *buf, bool dequeue) in __smb2_find_mid() 297 smb2_find_mid(struct TCP_Server_Info *server, char *buf) in smb2_find_mid() [all …]
|
D | file.c | 185 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() 443 struct TCP_Server_Info *server = tcon->ses->server; in _cifsFileInfo_put() 493 struct TCP_Server_Info *server = tcon->ses->server; in _cifsFileInfo_put() 522 struct TCP_Server_Info *server; in cifs_open() 682 struct TCP_Server_Info *server; in cifs_reopen_file() 892 struct TCP_Server_Info *server; in cifs_closedir() 977 struct TCP_Server_Info *server = tlink_tcon(cfile->tlink)->ses->server; in cifs_find_fid_lock_conflict() 1039 struct TCP_Server_Info *server = tlink_tcon(cfile->tlink)->ses->server; in cifs_lock_test() 1386 bool *wait_flag, struct TCP_Server_Info *server) in cifs_read_flock() [all …]
|
D | fscache.c | 43 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()
|
D | dfs_cache.h | 50 struct TCP_Server_Info *server);
|
D | misc.c | 319 checkSMB(char *buf, unsigned int total_read, struct TCP_Server_Info *server) in checkSMB() 403 is_valid_oplock_break(char *buffer, struct TCP_Server_Info *srv) in is_valid_oplock_break() 1036 struct TCP_Server_Info *server = sd->data; in tcp_super_cb() 1076 struct super_block *cifs_get_tcp_super(struct TCP_Server_Info *server) in cifs_get_tcp_super() 1087 int match_target_ip(struct TCP_Server_Info *server, in match_target_ip()
|
D | dfs_cache.c | 1273 int dfs_cache_update_vol(const char *fullpath, struct TCP_Server_Info *server) in dfs_cache_update_vol() 1390 static void get_tcons(struct TCP_Server_Info *server, struct list_head *head) in get_tcons() 1443 static inline void put_tcp_server(struct TCP_Server_Info *server) in put_tcp_server() 1448 static struct TCP_Server_Info *get_tcp_server(struct smb_vol *vol) in get_tcp_server() 1450 struct TCP_Server_Info *server; in get_tcp_server() 1477 struct TCP_Server_Info *server; in find_root_ses() 1610 struct TCP_Server_Info *server; in refresh_cache_worker()
|
D | inode.c | 748 struct TCP_Server_Info *server = tcon->ses->server; 861 struct TCP_Server_Info *server = tcon->ses->server; 923 struct TCP_Server_Info *server; 1409 struct TCP_Server_Info *server; 1613 struct TCP_Server_Info *server; 1771 struct TCP_Server_Info *server = tcon->ses->server; 1861 struct TCP_Server_Info *server; 1933 struct TCP_Server_Info *server; 2006 struct TCP_Server_Info *server; 2442 struct TCP_Server_Info *server = tcon->ses->server; [all …]
|
D | dir.c | 239 struct TCP_Server_Info *server = tcon->ses->server; in cifs_do_create() 469 struct TCP_Server_Info *server; in cifs_atomic_open() 584 struct TCP_Server_Info *server; in cifs_create()
|
D | cifs_spnego.c | 101 struct TCP_Server_Info *server = cifs_ses_server(sesInfo); in cifs_get_spnego_key()
|
D | link.c | 518 struct TCP_Server_Info *server; in cifs_hardlink() 608 struct TCP_Server_Info *server; in cifs_get_link()
|
D | asn1.c | 484 struct TCP_Server_Info *server) in decode_negTokenInit()
|