H A D | connect.c | 59 /* Drop the connection to not overload the server */ 62 static int ip_connect(struct TCP_Server_Info *server); 63 static int generic_ip_connect(struct TCP_Server_Info *server); 71 * This should be called with server->srv_mutex held. 73 static int reconn_set_ipaddr_from_hostname(struct TCP_Server_Info *server) in reconn_set_ipaddr_from_hostname() argument 80 if (!server->hostname) in reconn_set_ipaddr_from_hostname() 83 /* if server hostname isn't populated, there's nothing to do here */ in reconn_set_ipaddr_from_hostname() 84 if (server->hostname[0] == '\0') in reconn_set_ipaddr_from_hostname() 87 len = strlen(server->hostname) + 3; in reconn_set_ipaddr_from_hostname() 94 scnprintf(unc, len, "\\\\%s", server in reconn_set_ipaddr_from_hostname() 123 struct TCP_Server_Info *server = tcon->ses->server; smb2_query_server_interfaces() local 157 cifs_signal_cifsd_for_reconnect(struct TCP_Server_Info * server,bool all_channels) cifs_signal_cifsd_for_reconnect() argument 206 cifs_mark_tcp_ses_conns_for_reconnect(struct TCP_Server_Info * server,bool mark_smb_session) cifs_mark_tcp_ses_conns_for_reconnect() argument 300 cifs_abort_connection(struct TCP_Server_Info * server) cifs_abort_connection() argument 355 cifs_tcp_ses_needs_reconnect(struct TCP_Server_Info * server,int num_targets) cifs_tcp_ses_needs_reconnect() argument 388 __cifs_reconnect(struct TCP_Server_Info * server,bool mark_smb_session) __cifs_reconnect() argument 441 __reconnect_target_unlocked(struct TCP_Server_Info * server,const char * target) __reconnect_target_unlocked() argument 474 reconnect_target_unlocked(struct TCP_Server_Info * server,struct dfs_cache_tgt_list * tl,struct dfs_cache_tgt_iterator ** target_hint) reconnect_target_unlocked() argument 498 reconnect_dfs_server(struct TCP_Server_Info * server) reconnect_dfs_server() argument 576 cifs_reconnect(struct TCP_Server_Info * server,bool mark_smb_session) cifs_reconnect() argument 588 cifs_reconnect(struct TCP_Server_Info * server,bool mark_smb_session) cifs_reconnect() argument 598 struct TCP_Server_Info *server = container_of(work, cifs_echo_request() local 624 allocate_buffers(struct TCP_Server_Info * server) allocate_buffers() argument 657 server_unresponsive(struct TCP_Server_Info * server) server_unresponsive() argument 699 zero_credits(struct TCP_Server_Info * server) zero_credits() argument 714 cifs_readv_from_socket(struct TCP_Server_Info * server,struct msghdr * smb_msg) cifs_readv_from_socket() argument 771 cifs_read_from_socket(struct TCP_Server_Info * server,char * buf,unsigned int to_read) cifs_read_from_socket() argument 783 cifs_discard_from_socket(struct TCP_Server_Info * server,size_t to_read) cifs_discard_from_socket() argument 798 cifs_read_page_from_socket(struct TCP_Server_Info * server,struct page * page,unsigned int page_offset,unsigned int to_read) cifs_read_page_from_socket() argument 810 cifs_read_iter_from_socket(struct TCP_Server_Info * server,struct iov_iter * iter,unsigned int to_read) cifs_read_iter_from_socket() argument 824 is_smb_response(struct TCP_Server_Info * server,unsigned char type) is_smb_response() argument 892 smb2_get_credits_from_hdr(char * buffer,struct TCP_Server_Info * server) smb2_get_credits_from_hdr() argument 906 handle_mid(struct mid_q_entry * mid,struct TCP_Server_Info * server,char * buf,int malformed) handle_mid() argument 927 cifs_enable_signing(struct TCP_Server_Info * server,bool mnt_sign_required) cifs_enable_signing() argument 973 clean_demultiplex_info(struct TCP_Server_Info * server) clean_demultiplex_info() argument 1067 standard_receive3(struct TCP_Server_Info * server,struct mid_q_entry * mid) standard_receive3() argument 1102 cifs_handle_standard(struct TCP_Server_Info * server,struct mid_q_entry * mid) cifs_handle_standard() argument 1138 smb2_add_credits_from_hdr(char * buffer,struct TCP_Server_Info * server) smb2_add_credits_from_hdr() argument 1171 struct TCP_Server_Info *server = p; cifs_demultiplex_thread() local 1455 match_port(struct TCP_Server_Info * server,struct sockaddr * addr) match_port() argument 1488 match_server_address(struct TCP_Server_Info * server,struct sockaddr * addr) match_server_address() argument 1497 match_security(struct TCP_Server_Info * server,struct smb3_fs_context * ctx) match_security() argument 1520 match_server(struct TCP_Server_Info * server,struct smb3_fs_context * ctx,bool match_super) match_server() argument 1614 struct TCP_Server_Info *server; cifs_find_tcp_session() local 1640 cifs_put_tcp_session(struct TCP_Server_Info * server,int from_reconnect) cifs_put_tcp_session() argument 1964 struct TCP_Server_Info *server = ses->server; cifs_setup_ipc() local 2013 cifs_find_smb_ses(struct TCP_Server_Info * server,struct smb3_fs_context * ctx) cifs_find_smb_ses() argument 2042 struct TCP_Server_Info *server = ses->server; __cifs_put_smb_ses() local 2130 struct TCP_Server_Info *server = ses->server; cifs_set_cifscreds() local 2280 cifs_get_smb_ses(struct TCP_Server_Info * server,struct smb3_fs_context * ctx) cifs_get_smb_ses() argument 2449 struct TCP_Server_Info *server = tcon->ses->server; match_tcon() local 3007 bind_socket(struct TCP_Server_Info * server) bind_socket() argument 3036 ip_rfc1001_connect(struct TCP_Server_Info * server) ip_rfc1001_connect() argument 3091 generic_ip_connect(struct TCP_Server_Info * server) generic_ip_connect() argument 3200 ip_connect(struct TCP_Server_Info * server) ip_connect() argument 3409 struct TCP_Server_Info *server = NULL; cifs_mount_get_session() local 3456 struct TCP_Server_Info *server; cifs_mount_get_tcon() local 3580 cifs_are_all_path_components_accessible(struct TCP_Server_Info * server,unsigned int xid,struct cifs_tcon * tcon,struct cifs_sb_info * cifs_sb,char * full_path,int added_treename) cifs_are_all_path_components_accessible() argument 3635 struct TCP_Server_Info *server = mnt_ctx->server; cifs_is_path_remote() local 3938 cifs_negotiate_protocol(const unsigned int xid,struct cifs_ses * ses,struct TCP_Server_Info * server) cifs_negotiate_protocol() argument 3983 cifs_setup_session(const unsigned int xid,struct cifs_ses * ses,struct TCP_Server_Info * server,struct nls_table * nls_info) cifs_setup_session() argument [all...] |