/Linux-v4.19/fs/cifs/ |
D | cifsglob.h | 204 struct TCP_Server_Info; 220 int (*send_cancel)(struct TCP_Server_Info *, struct smb_rqst *, 227 struct mid_q_entry *(*setup_async_request)(struct TCP_Server_Info *, 230 int (*check_receive)(struct mid_q_entry *, struct TCP_Server_Info *, 232 void (*add_credits)(struct TCP_Server_Info *, const unsigned int, 234 void (*set_credits)(struct TCP_Server_Info *, const int); 235 int * (*get_credits_field)(struct TCP_Server_Info *, const int); 237 __u64 (*get_next_mid)(struct TCP_Server_Info *); 251 struct mid_q_entry * (*find_mid)(struct TCP_Server_Info *, char *); 252 void (*dump_detail)(void *buf, struct TCP_Server_Info *ptcp_info); [all …]
|
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); 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 …]
|
D | cifsproto.h | 41 extern int smb_send(struct TCP_Server_Info *, struct smb_hdr *, 82 struct TCP_Server_Info *server); 87 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, 109 extern struct mid_q_entry *cifs_setup_async_request(struct TCP_Server_Info *, 112 struct TCP_Server_Info *server, bool log_error); 113 extern int cifs_wait_mtu_credits(struct TCP_Server_Info *server, 125 extern int cifs_reconnect(struct TCP_Server_Info *server); 126 extern int checkSMB(char *buf, unsigned int len, struct TCP_Server_Info *srvr); [all …]
|
D | smb2transport.c | 44 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() 426 smb3_calc_signature(struct smb_rqst *rqst, struct TCP_Server_Info *server) in smb3_calc_signature() 493 smb2_sign_rqst(struct smb_rqst *rqst, struct TCP_Server_Info *server) in smb2_sign_rqst() 514 smb2_verify_signature(struct smb_rqst *rqst, struct TCP_Server_Info *server) in smb2_verify_signature() [all …]
|
D | smbdirect.h | 286 struct TCP_Server_Info *server, struct sockaddr *dstaddr); 289 int smbd_reconnect(struct TCP_Server_Info *server); 295 int smbd_send(struct TCP_Server_Info *server, struct smb_rqst *rqst); 331 struct TCP_Server_Info *server, struct sockaddr *dstaddr) {return NULL;} in smbd_get_connection() 332 static inline int smbd_reconnect(struct TCP_Server_Info *server) {return -1; } in smbd_reconnect() 335 static inline int smbd_send(struct TCP_Server_Info *server, struct smb_rqst *rqst) {return -1; } in smbd_send()
|
D | fscache.h | 56 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()
|
D | cifs_debug.h | 26 void cifs_dump_detail(void *buf, struct TCP_Server_Info *ptcp_info); 27 void cifs_dump_mids(struct TCP_Server_Info *);
|
D | transport.c | 53 AllocMidQEntry(const struct smb_hdr *smb_buffer, struct TCP_Server_Info *server) in AllocMidQEntry() 162 smb_send_kvec(struct TCP_Server_Info *server, struct msghdr *smb_msg, in smb_send_kvec() 231 smb_rqst_len(struct TCP_Server_Info *server, struct smb_rqst *rqst) in smb_rqst_len() 275 __smb_send_rqst(struct TCP_Server_Info *server, int num_rqst, in __smb_send_rqst() 388 smb_send_rqst(struct TCP_Server_Info *server, int num_rqst, in smb_send_rqst() 428 smb_send(struct TCP_Server_Info *server, struct smb_hdr *smb_buffer, in smb_send() 444 wait_for_free_credits(struct TCP_Server_Info *server, const int timeout, in wait_for_free_credits() 492 wait_for_free_request(struct TCP_Server_Info *server, const int timeout, in wait_for_free_request() 505 cifs_wait_mtu_credits(struct TCP_Server_Info *server, unsigned int size, in cifs_wait_mtu_credits() 549 wait_for_response(struct TCP_Server_Info *server, struct mid_q_entry *midQ) in wait_for_response() [all …]
|
D | connect.c | 313 static int ip_connect(struct TCP_Server_Info *server); 314 static int generic_ip_connect(struct TCP_Server_Info *server); 329 cifs_reconnect(struct TCP_Server_Info *server) in cifs_reconnect() 442 struct TCP_Server_Info *server = container_of(work, in cifs_echo_request() 443 struct TCP_Server_Info, echo.work); in cifs_echo_request() 477 allocate_buffers(struct TCP_Server_Info *server) in allocate_buffers() 510 server_unresponsive(struct TCP_Server_Info *server) in server_unresponsive() 537 cifs_readv_from_socket(struct TCP_Server_Info *server, struct msghdr *smb_msg) in cifs_readv_from_socket() 586 cifs_read_from_socket(struct TCP_Server_Info *server, char *buf, in cifs_read_from_socket() 597 cifs_read_page_from_socket(struct TCP_Server_Info *server, struct page *page, in cifs_read_page_from_socket() [all …]
|
D | smb1ops.c | 39 send_nt_cancel(struct TCP_Server_Info *server, struct smb_rqst *rqst, in send_nt_cancel() 100 cifs_find_mid(struct TCP_Server_Info *server, char *buffer) in cifs_find_mid() 120 cifs_add_credits(struct TCP_Server_Info *server, const unsigned int add, in cifs_add_credits() 131 cifs_set_credits(struct TCP_Server_Info *server, const int val) in cifs_set_credits() 140 cifs_get_credits_field(struct TCP_Server_Info *server, const int optype) in cifs_get_credits_field() 173 cifs_get_next_mid(struct TCP_Server_Info *server) in cifs_get_next_mid() 380 cifs_downgrade_oplock(struct TCP_Server_Info *server, in cifs_downgrade_oplock() 390 cifs_check_trans2(struct mid_q_entry *mid, struct TCP_Server_Info *server, in cifs_check_trans2() 421 cifs_need_neg(struct TCP_Server_Info *server) in cifs_need_neg() 445 struct TCP_Server_Info *server = tcon->ses->server; in cifs_negotiate_wsize() [all …]
|
D | smb2misc.c | 131 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() 520 struct TCP_Server_Info *server = tcon->ses->server; in smb2_tcon_has_lease() 581 struct TCP_Server_Info *server; in smb2_is_valid_lease_break() 598 server = list_entry(tmp, struct TCP_Server_Info, tcp_ses_list); in smb2_is_valid_lease_break() 637 smb2_is_valid_oplock_break(char *buffer, struct TCP_Server_Info *server) in smb2_is_valid_oplock_break() 737 smb2_handle_cancelled_mid(char *buffer, struct TCP_Server_Info *server) in smb2_handle_cancelled_mid()
|
D | cifs_debug.c | 45 void cifs_dump_detail(void *buf, struct TCP_Server_Info *server) in cifs_dump_detail() 58 void cifs_dump_mids(struct TCP_Server_Info *server) in cifs_dump_mids() 152 struct TCP_Server_Info *server; in cifs_debug_data_proc_show() 206 server = list_entry(tmp1, struct TCP_Server_Info, in cifs_debug_data_proc_show() 374 struct TCP_Server_Info *server; in cifs_stats_proc_write() 392 server = list_entry(tmp1, struct TCP_Server_Info, in cifs_stats_proc_write() 430 struct TCP_Server_Info *server; in cifs_stats_proc_show() 461 server = list_entry(tmp1, struct TCP_Server_Info, in cifs_stats_proc_show()
|
D | cifsencrypt.c | 40 struct TCP_Server_Info *server, char *signature, in __cifs_calc_signature() 112 struct TCP_Server_Info *server, char *signature) in cifs_calc_signature() 142 int cifs_sign_rqst(struct smb_rqst *rqst, struct TCP_Server_Info *server, in cifs_sign_rqst() 181 int cifs_sign_smbv(struct kvec *iov, int n_vec, struct TCP_Server_Info *server, in cifs_sign_smbv() 191 int cifs_sign_smb(struct smb_hdr *cifs_pdu, struct TCP_Server_Info *server, in cifs_sign_smb() 206 struct TCP_Server_Info *server, in cifs_verify_signature() 830 cifs_crypto_secmech_release(struct TCP_Server_Info *server) in cifs_crypto_secmech_release()
|
D | smb2ops.c | 38 change_conf(struct TCP_Server_Info *server) in change_conf() 71 smb2_add_credits(struct TCP_Server_Info *server, const unsigned int add, in smb2_add_credits() 103 smb2_set_credits(struct TCP_Server_Info *server, const int val) in smb2_set_credits() 111 smb2_get_credits_field(struct TCP_Server_Info *server, const int optype) in smb2_get_credits_field() 132 smb2_wait_mtu_credits(struct TCP_Server_Info *server, unsigned int size, in smb2_wait_mtu_credits() 179 smb2_get_next_mid(struct TCP_Server_Info *server) in smb2_get_next_mid() 190 smb2_find_mid(struct TCP_Server_Info *server, char *buf) in smb2_find_mid() 216 smb2_dump_detail(void *buf, struct TCP_Server_Info *server) in smb2_dump_detail() 230 smb2_need_neg(struct TCP_Server_Info *server) in smb2_need_neg() 250 struct TCP_Server_Info *server = tcon->ses->server; in smb2_negotiate_wsize() [all …]
|
D | file.c | 184 struct TCP_Server_Info *server = tcon->ses->server; in cifs_nt_open() 287 struct TCP_Server_Info *server = tcon->ses->server; in cifs_new_fileinfo() 370 struct TCP_Server_Info *server = tcon->ses->server; in cifsFileInfo_put() 417 struct TCP_Server_Info *server = tcon->ses->server; in cifsFileInfo_put() 458 struct TCP_Server_Info *server; in cifs_open() 618 struct TCP_Server_Info *server; in cifs_reopen_file() 821 struct TCP_Server_Info *server; in cifs_closedir() 904 struct TCP_Server_Info *server = tlink_tcon(cfile->tlink)->ses->server; in cifs_find_fid_lock_conflict() 961 struct TCP_Server_Info *server = tlink_tcon(cfile->tlink)->ses->server; in cifs_lock_test() 1308 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 | smb2pdu.c | 104 struct TCP_Server_Info *server = tcon->ses->server; in smb2_hdr_assemble() 161 struct TCP_Server_Info *server; in smb2_reconnect() 448 static int decode_encrypt_ctx(struct TCP_Server_Info *server, in decode_encrypt_ctx() 475 struct TCP_Server_Info *server, in smb311_decode_neg_context() 612 struct TCP_Server_Info *server = ses->server; in SMB2_negotiate() 929 smb2_select_sectype(struct TCP_Server_Info *server, enum securityEnum requested) in smb2_select_sectype() 975 struct TCP_Server_Info *server = ses->server; in SMB2_sess_alloc_buffer() 1336 struct TCP_Server_Info *server = ses->server; in SMB2_sess_setup() 1382 struct TCP_Server_Info *server; in SMB2_logoff() 1669 parse_lease_state(struct TCP_Server_Info *server, struct smb2_create_rsp *rsp, in parse_lease_state() [all …]
|
D | inode.c | 671 struct TCP_Server_Info *server = tcon->ses->server; 733 struct TCP_Server_Info *server; 1115 struct TCP_Server_Info *server; 1319 struct TCP_Server_Info *server; 1470 struct TCP_Server_Info *server = tcon->ses->server; 1560 struct TCP_Server_Info *server; 1631 struct TCP_Server_Info *server; 1698 struct TCP_Server_Info *server; 2140 struct TCP_Server_Info *server;
|
D | cifs_spnego.c | 101 struct TCP_Server_Info *server = sesInfo->server; in cifs_get_spnego_key()
|
D | dir.c | 240 struct TCP_Server_Info *server = tcon->ses->server; in cifs_do_create() 474 struct TCP_Server_Info *server; in cifs_atomic_open() 590 struct TCP_Server_Info *server; in cifs_create()
|
D | link.c | 528 struct TCP_Server_Info *server; in cifs_hardlink() 618 struct TCP_Server_Info *server; in cifs_get_link()
|
D | asn1.c | 495 struct TCP_Server_Info *server) in decode_negTokenInit()
|
D | misc.c | 304 checkSMB(char *buf, unsigned int total_read, struct TCP_Server_Info *server) in checkSMB() 388 is_valid_oplock_break(char *buffer, struct TCP_Server_Info *srv) in is_valid_oplock_break()
|
D | readdir.c | 276 struct TCP_Server_Info *server; in initiate_cifs_search() 582 struct TCP_Server_Info *server = tcon->ses->server; in find_cifs_entry()
|
D | cifsfs.c | 209 struct TCP_Server_Info *server = tcon->ses->server; in cifs_statfs() 239 struct TCP_Server_Info *server = tcon->ses->server; in cifs_fallocate() 328 cifs_show_address(struct seq_file *s, struct TCP_Server_Info *server) in cifs_show_address()
|