Lines Matching refs:TCP_Server_Info
62 static int ip_connect(struct TCP_Server_Info *server);
63 static int generic_ip_connect(struct TCP_Server_Info *server);
73 static int reconn_set_ipaddr_from_hostname(struct TCP_Server_Info *server) in reconn_set_ipaddr_from_hostname()
107 struct TCP_Server_Info *server = tcon->ses->server; in smb2_query_server_interfaces()
145 cifs_signal_cifsd_for_reconnect(struct TCP_Server_Info *server, in cifs_signal_cifsd_for_reconnect()
148 struct TCP_Server_Info *nserver; in cifs_signal_cifsd_for_reconnect()
200 cifs_mark_tcp_ses_conns_for_reconnect(struct TCP_Server_Info *server, in cifs_mark_tcp_ses_conns_for_reconnect()
203 struct TCP_Server_Info *pserver; in cifs_mark_tcp_ses_conns_for_reconnect()
294 cifs_abort_connection(struct TCP_Server_Info *server) in cifs_abort_connection()
349 static bool cifs_tcp_ses_needs_reconnect(struct TCP_Server_Info *server, int num_targets) in cifs_tcp_ses_needs_reconnect()
382 static int __cifs_reconnect(struct TCP_Server_Info *server, in __cifs_reconnect()
446 static int __reconnect_target_locked(struct TCP_Server_Info *server, in __reconnect_target_locked()
480 static int reconnect_target_locked(struct TCP_Server_Info *server, in reconnect_target_locked()
513 static int reconnect_dfs_server(struct TCP_Server_Info *server) in reconnect_dfs_server()
588 _cifs_reconnect(struct TCP_Server_Info *server, bool mark_smb_session, bool once) in _cifs_reconnect()
596 _cifs_reconnect(struct TCP_Server_Info *server, bool mark_smb_session, bool once) in _cifs_reconnect()
603 cifs_reconnect(struct TCP_Server_Info *server, bool mark_smb_session) in cifs_reconnect()
609 cifs_reconnect_once(struct TCP_Server_Info *server) in cifs_reconnect_once()
618 struct TCP_Server_Info *server = container_of(work, in cifs_echo_request()
619 struct TCP_Server_Info, echo.work); in cifs_echo_request()
644 allocate_buffers(struct TCP_Server_Info *server) in allocate_buffers()
677 server_unresponsive(struct TCP_Server_Info *server) in server_unresponsive()
719 zero_credits(struct TCP_Server_Info *server) in zero_credits()
734 cifs_readv_from_socket(struct TCP_Server_Info *server, struct msghdr *smb_msg) in cifs_readv_from_socket()
791 cifs_read_from_socket(struct TCP_Server_Info *server, char *buf, in cifs_read_from_socket()
803 cifs_discard_from_socket(struct TCP_Server_Info *server, size_t to_read) in cifs_discard_from_socket()
818 cifs_read_iter_from_socket(struct TCP_Server_Info *server, struct iov_iter *iter, in cifs_read_iter_from_socket()
828 is_smb_response(struct TCP_Server_Info *server, unsigned char type) in is_smb_response()
980 smb2_get_credits_from_hdr(char *buffer, struct TCP_Server_Info *server) in smb2_get_credits_from_hdr()
994 handle_mid(struct mid_q_entry *mid, struct TCP_Server_Info *server, in handle_mid()
1015 cifs_enable_signing(struct TCP_Server_Info *server, bool mnt_sign_required) in cifs_enable_signing()
1061 clean_demultiplex_info(struct TCP_Server_Info *server) in clean_demultiplex_info()
1155 standard_receive3(struct TCP_Server_Info *server, struct mid_q_entry *mid) in standard_receive3()
1190 cifs_handle_standard(struct TCP_Server_Info *server, struct mid_q_entry *mid) in cifs_handle_standard()
1226 smb2_add_credits_from_hdr(char *buffer, struct TCP_Server_Info *server) in smb2_add_credits_from_hdr()
1259 struct TCP_Server_Info *server = p; in cifs_demultiplex_thread()
1543 match_port(struct TCP_Server_Info *server, struct sockaddr *addr) in match_port()
1576 static bool match_server_address(struct TCP_Server_Info *server, struct sockaddr *addr) in match_server_address()
1585 match_security(struct TCP_Server_Info *server, struct smb3_fs_context *ctx) in match_security()
1608 static int match_server(struct TCP_Server_Info *server, in match_server()
1670 struct TCP_Server_Info *
1673 struct TCP_Server_Info *server; in cifs_find_tcp_session()
1699 cifs_put_tcp_session(struct TCP_Server_Info *server, int from_reconnect) in cifs_put_tcp_session()
1747 struct TCP_Server_Info *
1749 struct TCP_Server_Info *primary_server) in cifs_get_tcp_session()
1751 struct TCP_Server_Info *tcp_ses = NULL; in cifs_get_tcp_session()
1761 tcp_ses = kzalloc(sizeof(struct TCP_Server_Info), GFP_KERNEL); in cifs_get_tcp_session()
1937 struct TCP_Server_Info *server = ses->server; in match_session()
2031 struct TCP_Server_Info *server = ses->server; in cifs_setup_ipc()
2080 cifs_find_smb_ses(struct TCP_Server_Info *server, struct smb3_fs_context *ctx) in cifs_find_smb_ses()
2109 struct TCP_Server_Info *server = ses->server; in __cifs_put_smb_ses()
2196 struct TCP_Server_Info *server = ses->server; in cifs_set_cifscreds()
2346 cifs_get_smb_ses(struct TCP_Server_Info *server, struct smb3_fs_context *ctx) in cifs_get_smb_ses()
2543 struct TCP_Server_Info *server = tcon->ses->server; in match_tcon()
3004 struct TCP_Server_Info *tcp_srv; in cifs_match_super()
3106 bind_socket(struct TCP_Server_Info *server) in bind_socket()
3135 smb_recv_kvec(struct TCP_Server_Info *server, struct msghdr *msg, size_t *recv) in smb_recv_kvec()
3173 ip_rfc1001_connect(struct TCP_Server_Info *server) in ip_rfc1001_connect()
3332 generic_ip_connect(struct TCP_Server_Info *server) in generic_ip_connect()
3447 ip_connect(struct TCP_Server_Info *server) in ip_connect()
3657 struct TCP_Server_Info *server = NULL; in cifs_mount_get_session()
3704 struct TCP_Server_Info *server; in cifs_mount_get_tcon()
3817 cifs_are_all_path_components_accessible(struct TCP_Server_Info *server, in cifs_are_all_path_components_accessible()
3872 struct TCP_Server_Info *server = mnt_ctx->server; in cifs_is_path_remote()
4184 struct TCP_Server_Info *server) in cifs_negotiate_protocol()
4240 struct TCP_Server_Info *server, in cifs_setup_session()
4244 struct TCP_Server_Info *pserver = SERVER_IS_CHAN(server) ? server->primary_server : server; in cifs_setup_session()