/Linux-v5.4/fs/cifs/ |
D | dns_resolve.c | 49 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(current->nsproxy->net_ns, NULL, hostname, len, in dns_resolve_server_name_to_ip() 84 __func__, len, len, hostname); in dns_resolve_server_name_to_ip() 87 __func__, len, len, hostname, *ip_addr); in dns_resolve_server_name_to_ip() 94 memcpy(name, hostname, len); in dns_resolve_server_name_to_ip()
|
D | cifs_spnego.c | 107 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()
|
D | trace.h | 824 char *hostname), 825 TP_ARGS(currmid, hostname), 828 __field(char *, hostname) 832 __entry->hostname = hostname; 835 __entry->hostname, 842 char *hostname), \ 843 TP_ARGS(currmid, hostname)) 850 char *hostname, 852 TP_ARGS(currmid, hostname, credits), 855 __field(char *, hostname) [all …]
|
D | cifs_debug.h | 86 if (server && server->hostname) \ 87 sn = server->hostname; \ 152 server->hostname, ##__VA_ARGS__); \
|
/Linux-v5.4/fs/nfs/ |
D | dns_resolve.c | 64 char *hostname; member 95 kfree(new->hostname); in nfs_dns_ent_init() 96 new->hostname = kstrndup(key->hostname, key->namelen, GFP_KERNEL); in nfs_dns_ent_init() 97 if (new->hostname) { in nfs_dns_ent_init() 111 kfree(item->hostname); in nfs_dns_ent_free_rcu() 128 item->hostname = NULL; in nfs_dns_ent_alloc() 138 return hash_str(key->hostname, NFS_DNS_HASHBITS); in nfs_dns_hash() 147 qword_add(bpp, blen, key->hostname); in nfs_dns_request() 157 ret = nfs_cache_upcall(cd, key->hostname); in nfs_dns_upcall() 174 return memcmp(a->hostname, b->hostname, a->namelen) == 0; in nfs_dns_match() [all …]
|
D | nfs4super.c | 131 int flags, void *data, const char *hostname) in nfs_do_root_mount() argument 137 len = strlen(hostname) + 5; in nfs_do_root_mount() 142 if (strchr(hostname, ':')) in nfs_do_root_mount() 143 snprintf(root_devname, len, "[%s]:/", hostname); in nfs_do_root_mount() 145 snprintf(root_devname, len, "%s:/", hostname); in nfs_do_root_mount() 252 data->nfs_server.hostname); in nfs4_try_mount() 311 flags, data, data->hostname); in nfs4_referral_mount()
|
D | nfs4namespace.c | 276 mountdata->hostname = page2; in try_location() 279 mountdata->hostname, in try_location() 441 char *hostname; in nfs4_try_replacing_one_location() local 456 hostname = kstrndup(buf->data, buf->len, GFP_KERNEL); in nfs4_try_replacing_one_location() 457 if (hostname == NULL) in nfs4_try_replacing_one_location() 460 error = nfs4_update_server(server, hostname, sap, salen, net); in nfs4_try_replacing_one_location() 461 kfree(hostname); in nfs4_try_replacing_one_location()
|
D | mount_clnt.c | 162 .servername = info->hostname, in nfs_mount() 172 (info->hostname ? info->hostname : "server"), in nfs_mount() 248 .servername = info->hostname, in nfs_umount() 272 (info->hostname ? info->hostname : "server"), info->dirpath); in nfs_umount()
|
D | nfs4client.c | 860 const char *hostname, in nfs4_set_client() argument 869 .hostname = hostname, in nfs4_set_client() 948 cl_init.hostname = buf; in nfs4_set_ds_client() 1079 data->nfs_server.hostname, in nfs4_init_server() 1169 error = nfs4_set_client(server, data->hostname, in nfs4_create_referral_server() 1183 error = nfs4_set_client(server, data->hostname, in nfs4_create_referral_server() 1254 int nfs4_update_server(struct nfs_server *server, const char *hostname, in nfs4_update_server() argument 1264 .servername = hostname, in nfs4_update_server() 1284 error = nfs4_set_client(server, hostname, sap, salen, buf, in nfs4_update_server() 1296 server->nfs_client->cl_hostname = kstrdup(hostname, GFP_KERNEL); in nfs4_update_server()
|
D | internal.h | 39 char *hostname; member 68 const char *hostname; /* Hostname of the server */ member 105 char *hostname; member 114 char *hostname; member 129 char *hostname; member 180 extern int nfs4_update_server(struct nfs_server *server, const char *hostname,
|
D | super.c | 962 kfree(data->mount_server.hostname); in nfs_free_parsed_mount_data() 964 kfree(data->nfs_server.hostname); in nfs_free_parsed_mount_data() 1552 &mnt->mount_server.hostname)) in nfs_parse_mount_options() 1792 if (args->mount_server.hostname) in nfs_request_mount() 1793 request.hostname = args->mount_server.hostname; in nfs_request_mount() 1795 request.hostname = args->nfs_server.hostname; in nfs_request_mount() 1815 request.hostname, status); in nfs_request_mount() 1923 char **hostname, size_t maxnamlen, in nfs_parse_devname() argument 1960 *hostname = kstrndup(dev_name, len, GFP_KERNEL); in nfs_parse_devname() 1961 if (*hostname == NULL) in nfs_parse_devname() [all …]
|
D | nfs3client.c | 103 cl_init.hostname = buf; in nfs3_set_ds_client()
|
/Linux-v5.4/fs/lockd/ |
D | mon.c | 211 const char *hostname, const size_t len) in nsm_lookup_hostname() argument 217 memcmp(nsm->sm_name, hostname, len) == 0) in nsm_lookup_hostname() 274 const char *hostname, in nsm_create_handle() argument 293 memcpy(new->sm_name, hostname, hostname_len); in nsm_create_handle() 316 const size_t salen, const char *hostname, in nsm_get_handle() argument 322 if (hostname && memchr(hostname, '/', hostname_len) != NULL) { in nsm_get_handle() 326 (int)hostname_len, hostname); in nsm_get_handle() 334 if (nsm_use_hostnames && hostname != NULL) in nsm_get_handle() 336 hostname, hostname_len); in nsm_get_handle() 361 new = nsm_create_handle(sap, salen, hostname, hostname_len); in nsm_get_handle()
|
D | host.c | 59 const char *hostname; /* remote's hostname */ member 122 ni->hostname, ni->hostname_len); in nlm_alloc_host() 220 const char *hostname, in nlmclnt_lookup_host() argument 231 .hostname = hostname, in nlmclnt_lookup_host() 232 .hostname_len = strlen(hostname), in nlmclnt_lookup_host() 243 (hostname ? hostname : "<none>"), version, in nlmclnt_lookup_host() 329 const char *hostname, in nlmsvc_lookup_host() argument 344 .hostname = hostname, in nlmsvc_lookup_host() 351 (int)hostname_len, hostname, rqstp->rq_vers, in nlmsvc_lookup_host()
|
/Linux-v5.4/fs/ |
D | compat.c | 47 struct compat_nfs_string hostname; member 69 compat_nfs_string(&real->hostname, &raw->hostname); in do_nfs4_super_data_conv()
|
/Linux-v5.4/tools/usb/usbip/src/ |
D | usbip_network.c | 253 int usbip_net_tcp_connect(char *hostname, char *service) in usbip_net_tcp_connect() argument 264 ret = getaddrinfo(hostname, service, &hints, &res); in usbip_net_tcp_connect() 266 dbg("getaddrinfo: %s service %s: %s", hostname, service, in usbip_net_tcp_connect()
|
/Linux-v5.4/Documentation/filesystems/nfs/ |
D | nfs.txt | 68 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
|
/Linux-v5.4/include/linux/lockd/ |
D | lockd.h | 231 const char *hostname, 237 const char *hostname, 257 const char *hostname,
|
D | bind.h | 41 const char *hostname; member
|
/Linux-v5.4/include/uapi/linux/ |
D | nfs4_mount.h | 46 struct nfs_string hostname; /* 1 */ member
|
D | nfs_mount.h | 41 char hostname[NFS_MAXNAMLEN + 1]; /* 1 */ member
|
/Linux-v5.4/scripts/package/ |
D | mkdebian | 117 buildhost=${KBUILD_BUILD_HOST-$(hostname -f 2>/dev/null || hostname)}
|
/Linux-v5.4/scripts/ |
D | mkcompile_h | 48 LINUX_COMPILE_HOST=`hostname`
|
/Linux-v5.4/net/dns_resolver/ |
D | Kconfig | 14 being resolving a UNC hostname element to an IP address for CIFS or
|
/Linux-v5.4/tools/perf/util/ |
D | env.h | 41 char *hostname; member
|