Home
last modified time | relevance | path

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

/linux-4.4.14/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.c104 const char *hostname = server->hostname; in cifs_get_spnego_key() local
109 HOST_KEY_LEN + strlen(hostname) + in cifs_get_spnego_key()
128 hostname); in cifs_get_spnego_key()
Dconnect.c436 server->hostname); in cifs_echo_request()
492 server->hostname, (2 * SMB_ECHO_INTERVAL) / HZ); in server_unresponsive()
782 kfree(server->hostname); in clean_demultiplex_info()
2170 tcp_ses->hostname = extract_hostname(volume_info->UNC); in cifs_get_tcp_session()
2171 if (IS_ERR(tcp_ses->hostname)) { in cifs_get_tcp_session()
2172 rc = PTR_ERR(tcp_ses->hostname); in cifs_get_tcp_session()
2251 if (!IS_ERR(tcp_ses->hostname)) in cifs_get_tcp_session()
2252 kfree(tcp_ses->hostname); in cifs_get_tcp_session()
Dcifsglob.h554 char *hostname; /* hostname portion of UNC string */ member
/linux-4.4.14/fs/nfs/
Ddns_resolve.c62 char *hostname; member
92 kfree(new->hostname); in nfs_dns_ent_init()
93 new->hostname = kstrndup(key->hostname, key->namelen, GFP_KERNEL); in nfs_dns_ent_init()
94 if (new->hostname) { in nfs_dns_ent_init()
108 kfree(item->hostname); in nfs_dns_ent_put()
117 item->hostname = NULL; in nfs_dns_ent_alloc()
127 return hash_str(key->hostname, NFS_DNS_HASHBITS); in nfs_dns_hash()
136 qword_add(bpp, blen, key->hostname); in nfs_dns_request()
146 ret = nfs_cache_upcall(cd, key->hostname); in nfs_dns_upcall()
163 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.c276 mountdata->hostname = page2; in try_location()
279 mountdata->hostname, in try_location()
446 char *hostname; in nfs4_try_replacing_one_location() local
461 hostname = kstrndup(buf->data, buf->len, GFP_KERNEL); in nfs4_try_replacing_one_location()
462 if (hostname == NULL) in nfs4_try_replacing_one_location()
465 error = nfs4_update_server(server, hostname, sap, salen, net); in nfs4_try_replacing_one_location()
466 kfree(hostname); in nfs4_try_replacing_one_location()
Dmount_clnt.c161 .servername = info->hostname, in nfs_mount()
170 (info->hostname ? info->hostname : "server"), in nfs_mount()
246 .servername = info->hostname, in nfs_umount()
269 (info->hostname ? info->hostname : "server"), info->dirpath); in nfs_umount()
Dnfs4client.c784 const char *hostname, in nfs4_set_client() argument
793 .hostname = hostname, in nfs4_set_client()
864 cl_init.hostname = buf; in nfs4_set_ds_client()
993 data->nfs_server.hostname, in nfs4_init_server()
1090 error = nfs4_set_client(server, data->hostname, in nfs4_create_referral_server()
1160 int nfs4_update_server(struct nfs_server *server, const char *hostname, in nfs4_update_server() argument
1170 .servername = hostname, in nfs4_update_server()
1180 hostname); in nfs4_update_server()
1204 error = nfs4_set_client(server, hostname, sap, salen, buf, in nfs4_update_server()
1217 server->nfs_client->cl_hostname = kstrdup(hostname, GFP_KERNEL); in nfs4_update_server()
Dinternal.h43 char *hostname; member
69 const char *hostname; member
101 char *hostname; member
110 char *hostname; member
124 char *hostname; member
177 extern int nfs4_update_server(struct nfs_server *server, const char *hostname,
Dsuper.c944 kfree(data->mount_server.hostname); in nfs_free_parsed_mount_data()
946 kfree(data->nfs_server.hostname); in nfs_free_parsed_mount_data()
1519 &mnt->mount_server.hostname)) in nfs_parse_mount_options()
1743 if (args->mount_server.hostname) in nfs_request_mount()
1744 request.hostname = args->mount_server.hostname; in nfs_request_mount()
1746 request.hostname = args->nfs_server.hostname; in nfs_request_mount()
1766 request.hostname, status); in nfs_request_mount()
1874 char **hostname, size_t maxnamlen, in nfs_parse_devname() argument
1906 *hostname = kstrndup(dev_name, len, GFP_KERNEL); in nfs_parse_devname()
1907 if (*hostname == NULL) in nfs_parse_devname()
[all …]
Dclient.c172 if (cl_init->hostname) { in nfs_alloc_client()
174 clp->cl_hostname = kstrdup(cl_init->hostname, GFP_KERNEL); in nfs_alloc_client()
360 __func__, clp, cl_init->hostname ?: ""); in nfs_found_client()
378 if (cl_init->hostname == NULL) { in nfs_get_client()
384 cl_init->hostname, rpc_ops->version); in nfs_get_client()
411 cl_init->hostname, PTR_ERR(new)); in nfs_get_client()
530 .hostname = clp->cl_hostname, in nfs_start_lockd()
637 .hostname = data->nfs_server.hostname, in nfs_init_server()
Dnfs3client.c98 cl_init.hostname = buf; in nfs3_set_ds_client()
/linux-4.4.14/fs/lockd/
Dmon.c208 const char *hostname, const size_t len) in nsm_lookup_hostname() argument
214 memcmp(nsm->sm_name, hostname, len) == 0) in nsm_lookup_hostname()
271 const char *hostname, in nsm_create_handle() argument
290 memcpy(new->sm_name, hostname, hostname_len); in nsm_create_handle()
313 const size_t salen, const char *hostname, in nsm_get_handle() argument
319 if (hostname && memchr(hostname, '/', hostname_len) != NULL) { in nsm_get_handle()
323 (int)hostname_len, hostname); in nsm_get_handle()
331 if (nsm_use_hostnames && hostname != NULL) in nsm_get_handle()
333 hostname, hostname_len); in nsm_get_handle()
358 new = nsm_create_handle(sap, salen, hostname, hostname_len); in nsm_get_handle()
Dhost.c58 const char *hostname; /* remote's hostname */ member
120 ni->hostname, ni->hostname_len); in nlm_alloc_host()
214 const char *hostname, in nlmclnt_lookup_host() argument
224 .hostname = hostname, in nlmclnt_lookup_host()
225 .hostname_len = strlen(hostname), in nlmclnt_lookup_host()
235 (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.4.14/tools/usb/usbip/src/
Dusbip_network.c261 int usbip_net_tcp_connect(char *hostname, char *service) in usbip_net_tcp_connect() argument
272 ret = getaddrinfo(hostname, service, &hints, &res); in usbip_net_tcp_connect()
274 dbg("getaddrinfo: %s service %s: %s", hostname, service, in usbip_net_tcp_connect()
Dusbip_network.h183 int usbip_net_tcp_connect(char *hostname, char *port);
/linux-4.4.14/Documentation/filesystems/nfs/
Dnfs.txt68 a path, or a DNS hostname and a path. The latter requires the NFS client to
82 - the hostname to resolve
89 "<ip address> <hostname> <ttl>\n"
93 <hostname> is identical to the second argument of the helper
98 entry is created, which will cause the kernel to treat the hostname
Dnfsroot.txt81 ip=<client-ip>:<server-ip>:<gw-ip>:<netmask>:<hostname>:<device>:<autoconf>:
126 <hostname> Name of the client. May be supplied by autoconfiguration,
128 If specified and DHCP is used, the user provided hostname will
/linux-4.4.14/include/linux/lockd/
Dlockd.h226 const char *hostname,
231 const char *hostname,
251 const char *hostname,
Dbind.h39 const char *hostname; member
/linux-4.4.14/include/uapi/linux/
Dnfs4_mount.h45 struct nfs_string hostname; /* 1 */ member
Dnfs_mount.h40 char hostname[NFS_MAXNAMLEN + 1]; /* 1 */ member
/linux-4.4.14/tools/perf/util/
Denv.h10 char *hostname; member
Denv.c9 zfree(&env->hostname); in perf_env__exit()
Dheader.c874 fprintf(fp, "# hostname : %s\n", ph->env.hostname); in print_hostname()
1392 ph->env.hostname = do_read_string(fd, ph); in process_hostname()
1393 return ph->env.hostname ? 0 : -ENOMEM; in process_hostname()
1935 FEAT_OPP(HEADER_HOSTNAME, hostname),
Ddata-convert-bt.c905 ADD("host", header->env.hostname); in ctf_writer__setup_env()
/linux-4.4.14/arch/s390/boot/
DMakefile5 COMPILE_VERSION := __linux_compile_version_id__`hostname | \
/linux-4.4.14/scripts/
Dmkcompile_h51 LINUX_COMPILE_HOST=`hostname`
Danalyze_suspend.py83 hostname = 'localhost' variable in SystemValues
111 self.hostname = platform.node()
112 if(self.hostname == ''):
113 self.hostname = 'localhost'
134 self.prefix = self.hostname
/linux-4.4.14/net/dns_resolver/
DKconfig13 being resolving a UNC hostname element to an IP address for CIFS or
/linux-4.4.14/drivers/staging/gdm72xx/
Dusb_boot.c48 char hostname[32]; member
61 char hostname[32]; member
/linux-4.4.14/Documentation/networking/timestamping/
Dtxtimestamp.c469 static void resolve_hostname(const char *hostname) in resolve_hostname() argument
474 if (getaddrinfo(hostname, NULL, NULL, &addrs)) in resolve_hostname()
/linux-4.4.14/Documentation/usb/
Dwusb-cbaf73 host_name=$(hostname)
/linux-4.4.14/Documentation/frv/
Dbooting.txt134 the hostname for the device.
144 (eth0) to be 192.168.73.12, and sets the board's hostname to be "frv".
/linux-4.4.14/scripts/package/
Dbuilddeb227 email=$(id -nu)@$(hostname -f 2>/dev/null || hostname)
/linux-4.4.14/Documentation/sysctl/
Dkernel.txt34 - hostname
207 %h hostname
278 domainname & hostname:
281 hostname of your box in exactly the same way as the commands
282 domainname and hostname, i.e.:
283 # echo "darkstar" > /proc/sys/kernel/hostname
286 # hostname "darkstar"
290 hostname "darkstar" and DNS (Internet Domain Name Server)
294 see the hostname(1) man page.
/linux-4.4.14/include/linux/
Dsctp.h288 uint8_t hostname[0]; member
/linux-4.4.14/net/sunrpc/
Drpcb_clnt.c359 const char *hostname, in rpcb_create() argument
368 .servername = hostname, in rpcb_create()
/linux-4.4.14/Documentation/networking/
Ddns_resolver.txt85 looked up. The default query type is a straight hostname to IP address
/linux-4.4.14/fs/
Dcompat.c746 struct compat_nfs_string hostname; member
768 compat_nfs_string(&real->hostname, &raw->hostname); in do_nfs4_super_data_conv()
/linux-4.4.14/drivers/scsi/
Discsi_boot_sysfs.c178 iscsi_boot_rd_attr(eth_hostname, hostname, ISCSI_BOOT_ETH_HOSTNAME);
/linux-4.4.14/Documentation/filesystems/
Dceph.txt81 is sufficient. If /sbin/mount.ceph is installed, a hostname can be
/linux-4.4.14/tools/perf/Documentation/
Dperf-report.txt337 various information like hostname, OS and perf version, cpu/mem
/linux-4.4.14/init/
DKconfig203 string "Default hostname"
206 This option determines the default system hostname before userspace
/linux-4.4.14/Documentation/virtual/uml/
DUserModeLinux-HOWTO.txt2963 Setting hostname uml [ OK ]
3425 Setting hostname uml [ OK ]