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()
292 cifs_abort_connection(struct TCP_Server_Info *server) in cifs_abort_connection()
347 static bool cifs_tcp_ses_needs_reconnect(struct TCP_Server_Info *server, int num_targets) in cifs_tcp_ses_needs_reconnect()
380 static int __cifs_reconnect(struct TCP_Server_Info *server, in __cifs_reconnect()
433 static int __reconnect_target_unlocked(struct TCP_Server_Info *server, const char *target) in __reconnect_target_unlocked()
464 static int reconnect_target_unlocked(struct TCP_Server_Info *server, struct dfs_cache_tgt_list *tl, in reconnect_target_unlocked()
488 static int reconnect_dfs_server(struct TCP_Server_Info *server) in reconnect_dfs_server()
564 int cifs_reconnect(struct TCP_Server_Info *server, bool mark_smb_session) in cifs_reconnect()
584 int cifs_reconnect(struct TCP_Server_Info *server, bool mark_smb_session) in cifs_reconnect()
594 struct TCP_Server_Info *server = container_of(work, in cifs_echo_request()
595 struct TCP_Server_Info, echo.work); in cifs_echo_request()
622 allocate_buffers(struct TCP_Server_Info *server) in allocate_buffers()
655 server_unresponsive(struct TCP_Server_Info *server) in server_unresponsive()
685 zero_credits(struct TCP_Server_Info *server) in zero_credits()
700 cifs_readv_from_socket(struct TCP_Server_Info *server, struct msghdr *smb_msg) in cifs_readv_from_socket()
757 cifs_read_from_socket(struct TCP_Server_Info *server, char *buf, in cifs_read_from_socket()
768 cifs_discard_from_socket(struct TCP_Server_Info *server, size_t to_read) in cifs_discard_from_socket()
783 cifs_read_page_from_socket(struct TCP_Server_Info *server, struct page *page, in cifs_read_page_from_socket()
794 is_smb_response(struct TCP_Server_Info *server, unsigned char type) in is_smb_response()
862 smb2_get_credits_from_hdr(char *buffer, struct TCP_Server_Info *server) in smb2_get_credits_from_hdr()
876 handle_mid(struct mid_q_entry *mid, struct TCP_Server_Info *server, in handle_mid()
897 cifs_enable_signing(struct TCP_Server_Info *server, bool mnt_sign_required) in cifs_enable_signing()
943 static void clean_demultiplex_info(struct TCP_Server_Info *server) in clean_demultiplex_info()
1040 standard_receive3(struct TCP_Server_Info *server, struct mid_q_entry *mid) in standard_receive3()
1075 cifs_handle_standard(struct TCP_Server_Info *server, struct mid_q_entry *mid) in cifs_handle_standard()
1111 smb2_add_credits_from_hdr(char *buffer, struct TCP_Server_Info *server) in smb2_add_credits_from_hdr()
1144 struct TCP_Server_Info *server = p; in cifs_demultiplex_thread()
1354 match_port(struct TCP_Server_Info *server, struct sockaddr *addr) in match_port()
1388 match_address(struct TCP_Server_Info *server, struct sockaddr *addr, in match_address()
1425 match_security(struct TCP_Server_Info *server, struct smb3_fs_context *ctx) in match_security()
1448 static int match_server(struct TCP_Server_Info *server, struct smb3_fs_context *ctx) in match_server()
1501 struct TCP_Server_Info *
1504 struct TCP_Server_Info *server; in cifs_find_tcp_session()
1541 cifs_put_tcp_session(struct TCP_Server_Info *server, int from_reconnect) in cifs_put_tcp_session()
1594 struct TCP_Server_Info *
1596 struct TCP_Server_Info *primary_server) in cifs_get_tcp_session()
1598 struct TCP_Server_Info *tcp_ses = NULL; in cifs_get_tcp_session()
1608 tcp_ses = kzalloc(sizeof(struct TCP_Server_Info), GFP_KERNEL); in cifs_get_tcp_session()
1837 struct TCP_Server_Info *server = ses->server; in cifs_setup_ipc()
1905 cifs_find_smb_ses(struct TCP_Server_Info *server, struct smb3_fs_context *ctx) in cifs_find_smb_ses()
1934 struct TCP_Server_Info *server = ses->server; in cifs_put_smb_ses()
2010 struct TCP_Server_Info *server = ses->server; in cifs_set_cifscreds()
2158 cifs_get_smb_ses(struct TCP_Server_Info *server, struct smb3_fs_context *ctx) in cifs_get_smb_ses()
2711 struct TCP_Server_Info *tcp_srv; in cifs_match_super()
2801 bind_socket(struct TCP_Server_Info *server) in bind_socket()
2827 ip_rfc1001_connect(struct TCP_Server_Info *server) in ip_rfc1001_connect()
2906 generic_ip_connect(struct TCP_Server_Info *server) in generic_ip_connect()
3004 ip_connect(struct TCP_Server_Info *server) in ip_connect()
3211 struct TCP_Server_Info *server = NULL; in mount_get_conns()
3486 cifs_are_all_path_components_accessible(struct TCP_Server_Info *server, in cifs_are_all_path_components_accessible()
3541 struct TCP_Server_Info *server = mnt_ctx->server; in is_path_remote()
3804 struct TCP_Server_Info *server = mnt_ctx->server; in setup_server_referral_paths()
4071 struct TCP_Server_Info *server) in cifs_negotiate_protocol()
4108 struct TCP_Server_Info *server, in cifs_setup_session()
4454 static int update_server_fullpath(struct TCP_Server_Info *server, struct cifs_sb_info *cifs_sb, in update_server_fullpath()
4495 static int target_share_matches_server(struct TCP_Server_Info *server, const char *tcp_host, in target_share_matches_server()
4521 struct TCP_Server_Info *server = tcon->ses->server; in __tree_connect_dfs_target()
4616 struct TCP_Server_Info *server = tcon->ses->server; in tree_connect_dfs_target()
4639 struct TCP_Server_Info *server = tcon->ses->server; in cifs_tree_connect()