Lines Matching refs:TCP_Server_Info

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()
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()
435 static int __reconnect_target_unlocked(struct TCP_Server_Info *server, const char *target) in __reconnect_target_unlocked()
466 static int reconnect_target_unlocked(struct TCP_Server_Info *server, struct dfs_cache_tgt_list *tl, in reconnect_target_unlocked()
490 static int reconnect_dfs_server(struct TCP_Server_Info *server) in reconnect_dfs_server()
566 int cifs_reconnect(struct TCP_Server_Info *server, bool mark_smb_session) in cifs_reconnect()
586 int cifs_reconnect(struct TCP_Server_Info *server, bool mark_smb_session) in cifs_reconnect()
596 struct TCP_Server_Info *server = container_of(work, in cifs_echo_request()
597 struct TCP_Server_Info, echo.work); in cifs_echo_request()
624 allocate_buffers(struct TCP_Server_Info *server) in allocate_buffers()
657 server_unresponsive(struct TCP_Server_Info *server) in server_unresponsive()
687 zero_credits(struct TCP_Server_Info *server) in zero_credits()
702 cifs_readv_from_socket(struct TCP_Server_Info *server, struct msghdr *smb_msg) in cifs_readv_from_socket()
759 cifs_read_from_socket(struct TCP_Server_Info *server, char *buf, in cifs_read_from_socket()
770 cifs_discard_from_socket(struct TCP_Server_Info *server, size_t to_read) in cifs_discard_from_socket()
785 cifs_read_page_from_socket(struct TCP_Server_Info *server, struct page *page, in cifs_read_page_from_socket()
796 is_smb_response(struct TCP_Server_Info *server, unsigned char type) in is_smb_response()
864 smb2_get_credits_from_hdr(char *buffer, struct TCP_Server_Info *server) in smb2_get_credits_from_hdr()
878 handle_mid(struct mid_q_entry *mid, struct TCP_Server_Info *server, in handle_mid()
899 cifs_enable_signing(struct TCP_Server_Info *server, bool mnt_sign_required) in cifs_enable_signing()
945 static void clean_demultiplex_info(struct TCP_Server_Info *server) in clean_demultiplex_info()
1042 standard_receive3(struct TCP_Server_Info *server, struct mid_q_entry *mid) in standard_receive3()
1077 cifs_handle_standard(struct TCP_Server_Info *server, struct mid_q_entry *mid) in cifs_handle_standard()
1113 smb2_add_credits_from_hdr(char *buffer, struct TCP_Server_Info *server) in smb2_add_credits_from_hdr()
1146 struct TCP_Server_Info *server = p; in cifs_demultiplex_thread()
1356 match_port(struct TCP_Server_Info *server, struct sockaddr *addr) in match_port()
1390 match_address(struct TCP_Server_Info *server, struct sockaddr *addr, in match_address()
1427 match_security(struct TCP_Server_Info *server, struct smb3_fs_context *ctx) in match_security()
1450 static int match_server(struct TCP_Server_Info *server, struct smb3_fs_context *ctx) in match_server()
1503 struct TCP_Server_Info *
1506 struct TCP_Server_Info *server; in cifs_find_tcp_session()
1543 cifs_put_tcp_session(struct TCP_Server_Info *server, int from_reconnect) in cifs_put_tcp_session()
1596 struct TCP_Server_Info *
1598 struct TCP_Server_Info *primary_server) in cifs_get_tcp_session()
1600 struct TCP_Server_Info *tcp_ses = NULL; in cifs_get_tcp_session()
1610 tcp_ses = kzalloc(sizeof(struct TCP_Server_Info), GFP_KERNEL); in cifs_get_tcp_session()
1839 struct TCP_Server_Info *server = ses->server; in cifs_setup_ipc()
1910 cifs_find_smb_ses(struct TCP_Server_Info *server, struct smb3_fs_context *ctx) in cifs_find_smb_ses()
1939 struct TCP_Server_Info *server = ses->server; in cifs_put_smb_ses()
2015 struct TCP_Server_Info *server = ses->server; in cifs_set_cifscreds()
2163 cifs_get_smb_ses(struct TCP_Server_Info *server, struct smb3_fs_context *ctx) in cifs_get_smb_ses()
2722 struct TCP_Server_Info *tcp_srv; in cifs_match_super()
2812 bind_socket(struct TCP_Server_Info *server) in bind_socket()
2838 ip_rfc1001_connect(struct TCP_Server_Info *server) in ip_rfc1001_connect()
2917 generic_ip_connect(struct TCP_Server_Info *server) in generic_ip_connect()
3015 ip_connect(struct TCP_Server_Info *server) in ip_connect()
3222 struct TCP_Server_Info *server = NULL; in mount_get_conns()
3497 cifs_are_all_path_components_accessible(struct TCP_Server_Info *server, in cifs_are_all_path_components_accessible()
3552 struct TCP_Server_Info *server = mnt_ctx->server; in is_path_remote()
3799 struct TCP_Server_Info *server = mnt_ctx->server; in setup_server_referral_paths()
4066 struct TCP_Server_Info *server) in cifs_negotiate_protocol()
4103 struct TCP_Server_Info *server, in cifs_setup_session()
4449 static int update_server_fullpath(struct TCP_Server_Info *server, struct cifs_sb_info *cifs_sb, in update_server_fullpath()
4490 static int target_share_matches_server(struct TCP_Server_Info *server, const char *tcp_host, in target_share_matches_server()
4516 struct TCP_Server_Info *server = tcon->ses->server; in __tree_connect_dfs_target()
4611 struct TCP_Server_Info *server = tcon->ses->server; in tree_connect_dfs_target()
4634 struct TCP_Server_Info *server = tcon->ses->server; in cifs_tree_connect()