• Home
  • Raw
  • Download

Lines Matching refs:hostname

97 	if (!server->hostname)  in reconn_set_ipaddr_from_hostname()
101 if (server->hostname[0] == '\0') in reconn_set_ipaddr_from_hostname()
104 len = strlen(server->hostname) + 3; in reconn_set_ipaddr_from_hostname()
111 scnprintf(unc, len, "\\\\%s", server->hostname); in reconn_set_ipaddr_from_hostname()
118 __func__, server->hostname, rc); in reconn_set_ipaddr_from_hostname()
377 server->hostname); in cifs_tcp_ses_needs_reconnect()
453 char *hostname; in __reconnect_target_unlocked() local
456 if (server->hostname != target) { in __reconnect_target_unlocked()
457 hostname = extract_hostname(target); in __reconnect_target_unlocked()
458 if (!IS_ERR(hostname)) { in __reconnect_target_unlocked()
460 kfree(server->hostname); in __reconnect_target_unlocked()
461 server->hostname = hostname; in __reconnect_target_unlocked()
465 __func__, PTR_ERR(hostname)); in __reconnect_target_unlocked()
467 server->hostname); in __reconnect_target_unlocked()
494 return __reconnect_target_unlocked(server, server->hostname); in reconnect_target_unlocked()
1148 server->conn_id, server->hostname, scredits, in smb2_add_credits_from_hdr()
1558 if (strcasecmp(server->hostname, ctx->server_hostname)) in match_server()
1671 kfree(server->hostname); in cifs_put_tcp_session()
1672 server->hostname = NULL; in cifs_put_tcp_session()
1699 tcp_ses->hostname = kstrdup(ctx->server_hostname, GFP_KERNEL); in cifs_get_tcp_session()
1700 if (!tcp_ses->hostname) { in cifs_get_tcp_session()
1853 kfree(tcp_ses->hostname); in cifs_get_tcp_session()
1940 scnprintf(unc, sizeof(unc), "\\\\%s\\IPC$", server->hostname); in cifs_setup_ipc()
3079 trace_smb3_connect_err(server->hostname, server->conn_id, &server->dstaddr, rc); in generic_ip_connect()
3084 trace_smb3_connect_done(server->hostname, server->conn_id, &server->dstaddr); in generic_ip_connect()
4623 extract_unc_hostname(server->hostname, &tcp_host, &tcp_host_len); in __tree_connect_dfs_target()
4657 scnprintf(tree, MAX_TREE_SIZE, "\\\\%s\\IPC$", server->hostname); in __tree_connect_dfs_target()
4758 scnprintf(tree, MAX_TREE_SIZE, "\\\\%s\\IPC$", server->hostname); in cifs_tree_connect()