Home
last modified time | relevance | path

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

/fs/lockd/
Dhost.c41 const char *hostname; /* remote's hostname */ member
162 ni->hostname, ni->hostname_len); in nlm_lookup_host()
250 const char *hostname, in nlmclnt_lookup_host() argument
262 .hostname = hostname, in nlmclnt_lookup_host()
263 .hostname_len = strlen(hostname), in nlmclnt_lookup_host()
270 (hostname ? hostname : "<none>"), version, in nlmclnt_lookup_host()
295 const char *hostname, in nlmsvc_lookup_host() argument
310 .hostname = hostname, in nlmsvc_lookup_host()
316 (int)hostname_len, hostname, rqstp->rq_vers, in nlmsvc_lookup_host()
Dmon.c223 static struct nsm_handle *nsm_lookup_hostname(const char *hostname, in nsm_lookup_hostname() argument
230 memcmp(nsm->sm_name, hostname, len) == 0) in nsm_lookup_hostname()
285 const char *hostname, in nsm_create_handle() argument
301 memcpy(new->sm_name, hostname, hostname_len); in nsm_create_handle()
322 const size_t salen, const char *hostname, in nsm_get_handle() argument
327 if (hostname && memchr(hostname, '/', hostname_len) != NULL) { in nsm_get_handle()
331 (int)hostname_len, hostname); in nsm_get_handle()
339 if (nsm_use_hostnames && hostname != NULL) in nsm_get_handle()
340 cached = nsm_lookup_hostname(hostname, hostname_len); in nsm_get_handle()
365 new = nsm_create_handle(sap, salen, hostname, hostname_len); in nsm_get_handle()
Dclntlock.c64 nlm_init->hostname, nlm_init->noresvport); in nlmclnt_init()
/fs/cifs/
Dcifs_spnego.c99 const char *hostname = server->hostname; in cifs_get_spnego_key() local
104 HOST_KEY_LEN + strlen(hostname) + in cifs_get_spnego_key()
119 hostname); in cifs_get_spnego_key()
Dcifsglob.h133 char *hostname; /* hostname portion of UNC string */ member
Dconnect.c747 kfree(server->hostname); in cifs_demultiplex_thread()
1476 tcp_ses->hostname = extract_hostname(volume_info->UNC); in cifs_get_tcp_session()
1477 if (IS_ERR(tcp_ses->hostname)) { in cifs_get_tcp_session()
1478 rc = PTR_ERR(tcp_ses->hostname); in cifs_get_tcp_session()
1547 kfree(tcp_ses->hostname); in cifs_get_tcp_session()
/fs/nfs/
Dsuper.c1258 kfree(mnt->mount_server.hostname); in nfs_parse_mount_options()
1259 mnt->mount_server.hostname = string; in nfs_parse_mount_options()
1358 if (args->mount_server.hostname) in nfs_try_mount()
1359 request.hostname = args->mount_server.hostname; in nfs_try_mount()
1361 request.hostname = args->nfs_server.hostname; in nfs_try_mount()
1387 request.hostname, status); in nfs_try_mount()
1392 char **hostname, size_t maxnamlen, in nfs_parse_simple_hostname() argument
1407 *hostname = kstrndup(dev_name, len, GFP_KERNEL); in nfs_parse_simple_hostname()
1408 if (!*hostname) in nfs_parse_simple_hostname()
1412 comma = strchr(*hostname, ','); in nfs_parse_simple_hostname()
[all …]
Dinternal.h23 char *hostname; member
48 char *hostname; member
57 char *hostname; member
70 char *hostname; member
Dmount_clnt.c49 .servername = info->hostname, in nfs_mount()
58 (info->hostname ? info->hostname : "server"), in nfs_mount()
Dclient.c99 const char *hostname; member
134 if (cl_init->hostname) { in nfs_alloc_client()
135 clp->cl_hostname = kstrdup(cl_init->hostname, GFP_KERNEL); in nfs_alloc_client()
451 cl_init->hostname ?: "", cl_init->rpc_ops->version); in nfs_get_client()
612 .hostname = clp->cl_hostname, in nfs_start_lockd()
741 .hostname = data->nfs_server.hostname, in nfs_init_server()
1105 const char *hostname, in nfs4_set_client() argument
1113 .hostname = hostname, in nfs4_set_client()
1166 data->nfs_server.hostname, in nfs4_init_server()
1284 error = nfs4_set_client(server, data->hostname, in nfs4_create_referral_server()
Dnfsroot.c333 snprintf(nfs_data.hostname, sizeof(nfs_data.hostname), in root_nfs_addr()
345 nfs_export_path, nfs_data.hostname); in root_nfs_print()
Dnfs4namespace.c132 mountdata->hostname = page2; in try_location()
135 mountdata->hostname, in try_location()
/fs/
Dcompat.c709 struct compat_nfs_string hostname; member
731 compat_nfs_string(&real->hostname, &raw->hostname); in do_nfs4_super_data_conv()