Home
last modified time | relevance | path

Searched refs:hostname (Results 1 – 25 of 25) sorted by relevance

/linux-4.19.296/fs/cifs/
Ddns_resolve.c49 const char *hostname, *sep; in dns_resolve_server_name_to_ip() local
64 hostname = unc + 2; in dns_resolve_server_name_to_ip()
67 sep = memchr(hostname, '/', len); in dns_resolve_server_name_to_ip()
69 len = sep - hostname; in dns_resolve_server_name_to_ip()
75 rc = cifs_convert_address((struct sockaddr *)&ss, hostname, len); in dns_resolve_server_name_to_ip()
80 rc = dns_query(NULL, hostname, len, NULL, ip_addr, NULL); in dns_resolve_server_name_to_ip()
83 __func__, len, len, hostname); in dns_resolve_server_name_to_ip()
86 __func__, len, len, hostname, *ip_addr); in dns_resolve_server_name_to_ip()
93 memcpy(name, hostname, len); in dns_resolve_server_name_to_ip()
Dcifs_spnego.c107 const char *hostname = server->hostname; in cifs_get_spnego_key() local
113 HOST_KEY_LEN + strlen(hostname) + in cifs_get_spnego_key()
132 hostname); in cifs_get_spnego_key()
Dtrace.h465 char *hostname),
466 TP_ARGS(currmid, hostname),
469 __field(char *, hostname)
473 __entry->hostname = hostname;
476 __entry->hostname,
483 char *hostname), \
484 TP_ARGS(currmid, hostname))
Dconnect.c335 if (!server->hostname) in reconn_set_ipaddr()
338 len = strlen(server->hostname) + 3; in reconn_set_ipaddr()
345 snprintf(unc, len, "\\\\%s", server->hostname); in reconn_set_ipaddr()
352 __func__, server->hostname, rc); in reconn_set_ipaddr()
402 trace_smb3_reconnect(server->CurrentMid, server->hostname); in cifs_reconnect()
527 server->hostname); in cifs_echo_request()
584 server->hostname, (3 * server->echo_interval) / HZ); in server_unresponsive()
853 kfree(server->hostname); in clean_demultiplex_info()
2486 tcp_ses->hostname = extract_hostname(volume_info->UNC); in cifs_get_tcp_session()
2487 if (IS_ERR(tcp_ses->hostname)) { in cifs_get_tcp_session()
[all …]
Dcifs_debug.c476 server->hostname, j); in cifs_stats_proc_show()
Dtransport.c378 server->hostname); in __smb_send_rqst()
Dcifsglob.h615 char *hostname; /* hostname portion of UNC string */ member
/linux-4.19.296/fs/nfs/
Ddns_resolve.c63 char *hostname; member
93 kfree(new->hostname); in nfs_dns_ent_init()
94 new->hostname = kstrndup(key->hostname, key->namelen, GFP_KERNEL); in nfs_dns_ent_init()
95 if (new->hostname) { in nfs_dns_ent_init()
109 kfree(item->hostname); in nfs_dns_ent_put()
118 item->hostname = NULL; in nfs_dns_ent_alloc()
128 return hash_str(key->hostname, NFS_DNS_HASHBITS); in nfs_dns_hash()
137 qword_add(bpp, blen, key->hostname); in nfs_dns_request()
147 ret = nfs_cache_upcall(cd, key->hostname); in nfs_dns_upcall()
164 return memcmp(a->hostname, b->hostname, a->namelen) == 0; in nfs_dns_match()
[all …]
Dnfs4super.c130 int flags, void *data, const char *hostname) in nfs_do_root_mount() argument
136 len = strlen(hostname) + 5; in nfs_do_root_mount()
141 if (strchr(hostname, ':')) in nfs_do_root_mount()
142 snprintf(root_devname, len, "[%s]:/", hostname); in nfs_do_root_mount()
144 snprintf(root_devname, len, "%s:/", hostname); in nfs_do_root_mount()
251 data->nfs_server.hostname); in nfs4_try_mount()
310 flags, data, data->hostname); in nfs4_referral_mount()
Dnfs4namespace.c275 mountdata->hostname = page2; in try_location()
278 mountdata->hostname, in try_location()
440 char *hostname; in nfs4_try_replacing_one_location() local
455 hostname = kstrndup(buf->data, buf->len, GFP_KERNEL); in nfs4_try_replacing_one_location()
456 if (hostname == NULL) in nfs4_try_replacing_one_location()
459 error = nfs4_update_server(server, hostname, sap, salen, net); in nfs4_try_replacing_one_location()
460 kfree(hostname); in nfs4_try_replacing_one_location()
Dmount_clnt.c162 .servername = info->hostname, in nfs_mount()
171 (info->hostname ? info->hostname : "server"), in nfs_mount()
247 .servername = info->hostname, in nfs_umount()
270 (info->hostname ? info->hostname : "server"), info->dirpath); in nfs_umount()
Dnfs4client.c858 const char *hostname, in nfs4_set_client() argument
866 .hostname = hostname, in nfs4_set_client()
941 cl_init.hostname = buf; in nfs4_set_ds_client()
1069 data->nfs_server.hostname, in nfs4_init_server()
1154 error = nfs4_set_client(server, data->hostname, in nfs4_create_referral_server()
1167 error = nfs4_set_client(server, data->hostname, in nfs4_create_referral_server()
1237 int nfs4_update_server(struct nfs_server *server, const char *hostname, in nfs4_update_server() argument
1247 .servername = hostname, in nfs4_update_server()
1267 error = nfs4_set_client(server, hostname, sap, salen, buf, in nfs4_update_server()
1278 server->nfs_client->cl_hostname = kstrdup(hostname, GFP_KERNEL); in nfs4_update_server()
Dinternal.h47 char *hostname; member
76 const char *hostname; /* Hostname of the server */ member
111 char *hostname; member
120 char *hostname; member
134 char *hostname; member
185 extern int nfs4_update_server(struct nfs_server *server, const char *hostname,
Dsuper.c941 kfree(data->mount_server.hostname); in nfs_free_parsed_mount_data()
943 kfree(data->nfs_server.hostname); in nfs_free_parsed_mount_data()
1536 &mnt->mount_server.hostname)) in nfs_parse_mount_options()
1772 if (args->mount_server.hostname) in nfs_request_mount()
1773 request.hostname = args->mount_server.hostname; in nfs_request_mount()
1775 request.hostname = args->nfs_server.hostname; in nfs_request_mount()
1795 request.hostname, status); in nfs_request_mount()
1903 char **hostname, size_t maxnamlen, in nfs_parse_devname() argument
1940 *hostname = kstrndup(dev_name, len, GFP_KERNEL); in nfs_parse_devname()
1941 if (*hostname == NULL) in nfs_parse_devname()
[all …]
Dnfs3client.c101 cl_init.hostname = buf; in nfs3_set_ds_client()
Dclient.c173 if (cl_init->hostname) { in nfs_alloc_client()
175 clp->cl_hostname = kstrdup(cl_init->hostname, GFP_KERNEL); in nfs_alloc_client()
409 if (cl_init->hostname == NULL) { in nfs_get_client()
558 .hostname = clp->cl_hostname, in nfs_start_lockd()
659 .hostname = data->nfs_server.hostname, in nfs_init_server()
/linux-4.19.296/fs/lockd/
Dmon.c210 const char *hostname, const size_t len) in nsm_lookup_hostname() argument
216 memcmp(nsm->sm_name, hostname, len) == 0) in nsm_lookup_hostname()
273 const char *hostname, in nsm_create_handle() argument
278 if (!hostname) in nsm_create_handle()
295 memcpy(new->sm_name, hostname, hostname_len); in nsm_create_handle()
318 const size_t salen, const char *hostname, in nsm_get_handle() argument
324 if (hostname && memchr(hostname, '/', hostname_len) != NULL) { in nsm_get_handle()
328 (int)hostname_len, hostname); in nsm_get_handle()
336 if (nsm_use_hostnames && hostname != NULL) in nsm_get_handle()
338 hostname, hostname_len); in nsm_get_handle()
[all …]
Dhost.c59 const char *hostname; /* remote's hostname */ member
121 ni->hostname, ni->hostname_len); in nlm_alloc_host()
215 const char *hostname, in nlmclnt_lookup_host() argument
225 .hostname = hostname, in nlmclnt_lookup_host()
226 .hostname_len = strlen(hostname), in nlmclnt_lookup_host()
236 (hostname ? hostname : "<none>"), version, in nlmclnt_lookup_host()
322 const char *hostname, in nlmsvc_lookup_host() argument
337 .hostname = hostname, in nlmsvc_lookup_host()
344 (int)hostname_len, hostname, rqstp->rq_vers, in nlmsvc_lookup_host()
Dclntlock.c65 nlm_init->hostname, nlm_init->noresvport, in nlmclnt_init()
/linux-4.19.296/fs/
Dcompat.c50 struct compat_nfs_string hostname; member
72 compat_nfs_string(&real->hostname, &raw->hostname); in do_nfs4_super_data_conv()
/linux-4.19.296/include/linux/lockd/
Dlockd.h230 const char *hostname,
235 const char *hostname,
255 const char *hostname,
Dbind.h41 const char *hostname; member
/linux-4.19.296/include/uapi/linux/
Dnfs4_mount.h46 struct nfs_string hostname; /* 1 */ member
Dnfs_mount.h41 char hostname[NFS_MAXNAMLEN + 1]; /* 1 */ member
/linux-4.19.296/include/linux/
Dsctp.h317 uint8_t hostname[0]; member