/Linux-v5.15/fs/cifs/ |
D | dns_resolve.c | 37 const char *hostname, *sep; in dns_resolve_server_name_to_ip() local 52 hostname = unc + 2; in dns_resolve_server_name_to_ip() 55 sep = memchr(hostname, '/', len); in dns_resolve_server_name_to_ip() 57 len = sep - hostname; in dns_resolve_server_name_to_ip() 63 rc = cifs_convert_address((struct sockaddr *)&ss, hostname, len); in dns_resolve_server_name_to_ip() 68 rc = dns_query(current->nsproxy->net_ns, NULL, hostname, len, in dns_resolve_server_name_to_ip() 72 __func__, len, len, hostname); in dns_resolve_server_name_to_ip() 75 __func__, len, len, hostname, *ip_addr, in dns_resolve_server_name_to_ip() 83 memcpy(name, hostname, len); in dns_resolve_server_name_to_ip()
|
D | trace.h | 860 char *hostname), 861 TP_ARGS(currmid, conn_id, hostname), 865 __string(hostname, hostname) 870 __assign_str(hostname, hostname); 874 __get_str(hostname), 882 char *hostname), \ 883 TP_ARGS(currmid, conn_id, hostname)) 891 char *hostname, 895 TP_ARGS(currmid, conn_id, hostname, credits, credits_to_add, in_flight), 899 __string(hostname, hostname) [all …]
|
D | cifs_spnego.c | 95 const char *hostname = server->hostname; in cifs_get_spnego_key() local 101 HOST_KEY_LEN + strlen(hostname) + in cifs_get_spnego_key() 120 hostname); in cifs_get_spnego_key()
|
D | cifs_debug.h | 85 if (server && server->hostname) \ 86 sn = server->hostname; \ 147 server->hostname, ##__VA_ARGS__); \
|
D | connect.c | 83 if (!server->hostname) in reconn_set_ipaddr_from_hostname() 86 len = strlen(server->hostname) + 3; in reconn_set_ipaddr_from_hostname() 93 scnprintf(unc, len, "\\\\%s", server->hostname); in reconn_set_ipaddr_from_hostname() 100 __func__, server->hostname, rc); in reconn_set_ipaddr_from_hostname() 176 kfree(server->hostname); in reconn_set_next_dfs_target() 178 server->hostname = extract_hostname(name); in reconn_set_next_dfs_target() 179 if (IS_ERR(server->hostname)) { in reconn_set_next_dfs_target() 182 __func__, PTR_ERR(server->hostname)); in reconn_set_next_dfs_target() 270 trace_smb3_reconnect(server->CurrentMid, server->conn_id, server->hostname); in cifs_reconnect() 432 server->hostname); in cifs_echo_request() [all …]
|
/Linux-v5.15/fs/nfs/ |
D | dns_resolve.c | 63 char *hostname; member 94 kfree(new->hostname); in nfs_dns_ent_init() 95 new->hostname = kmemdup_nul(key->hostname, key->namelen, GFP_KERNEL); in nfs_dns_ent_init() 96 if (new->hostname) { in nfs_dns_ent_init() 110 kfree(item->hostname); in nfs_dns_ent_free_rcu() 127 item->hostname = NULL; in nfs_dns_ent_alloc() 137 return hash_str(key->hostname, NFS_DNS_HASHBITS); in nfs_dns_hash() 146 qword_add(bpp, blen, key->hostname); in nfs_dns_request() 157 if (!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 | 144 const char *hostname, in do_nfs4_mount() argument 176 len = strlen(hostname) + 5; in do_nfs4_mount() 184 if (strchr(hostname, ':')) in do_nfs4_mount() 185 param.size = snprintf(param.string, len, "[%s]:/", hostname); in do_nfs4_mount() 187 param.size = snprintf(param.string, len, "%s:/", hostname); in do_nfs4_mount() 227 fc, ctx->nfs_server.hostname, in nfs4_try_get_tree() 250 fc, ctx->nfs_server.hostname, in nfs4_get_referral_tree()
|
D | nfs4namespace.c | 301 kfree(ctx->nfs_server.hostname); in try_location() 302 ctx->nfs_server.hostname = kmalloc(len + 1, GFP_KERNEL); in try_location() 303 if (!ctx->nfs_server.hostname) in try_location() 337 memcpy(ctx->nfs_server.hostname, buf->data, buf->len); in try_location() 338 ctx->nfs_server.hostname[buf->len] = '\0'; in try_location() 490 char *hostname; in nfs4_try_replacing_one_location() local 505 hostname = kmemdup_nul(buf->data, buf->len, GFP_KERNEL); in nfs4_try_replacing_one_location() 506 if (hostname == NULL) in nfs4_try_replacing_one_location() 509 error = nfs4_update_server(server, hostname, sap, salen, net); in nfs4_try_replacing_one_location() 510 kfree(hostname); in nfs4_try_replacing_one_location()
|
D | fs_context.c | 758 kfree(ctx->mount_server.hostname); in nfs_fs_context_parse_param() 759 ctx->mount_server.hostname = param->string; in nfs_fs_context_parse_param() 903 kfree(ctx->nfs_server.hostname); in nfs_parse_source() 906 ctx->nfs_server.hostname = kmemdup_nul(dev_name, len, GFP_KERNEL); in nfs_parse_source() 907 if (!ctx->nfs_server.hostname) in nfs_parse_source() 1040 ctx->nfs_server.hostname = kstrdup(data->hostname, GFP_KERNEL); in nfs23_parse_monolithic() 1041 if (!ctx->nfs_server.hostname) in nfs23_parse_monolithic() 1149 struct compat_nfs_string hostname; member 1168 compat_nfs_string(&data->hostname, &compat->hostname); in nfs4_compat_mount_data_conv() 1233 c = strndup_user(data->hostname.data, NFS4_MAXNAMLEN); in nfs4_parse_monolithic() [all …]
|
D | mount_clnt.c | 164 .servername = info->hostname, in nfs_mount() 174 (info->hostname ? info->hostname : "server"), in nfs_mount() 251 .servername = info->hostname, in nfs_umount() 275 (info->hostname ? info->hostname : "server"), info->dirpath); in nfs_umount()
|
D | nfs4client.c | 891 const char *hostname, in nfs4_set_client() argument 901 .hostname = hostname, in nfs4_set_client() 985 cl_init.hostname = buf; in nfs4_set_ds_client() 1151 ctx->nfs_server.hostname, in nfs4_init_server() 1241 ctx->nfs_server.hostname, in nfs4_create_referral_server() 1257 ctx->nfs_server.hostname, in nfs4_create_referral_server() 1330 int nfs4_update_server(struct nfs_server *server, const char *hostname, in nfs4_update_server() argument 1340 .servername = hostname, in nfs4_update_server() 1360 error = nfs4_set_client(server, hostname, sap, salen, buf, in nfs4_update_server() 1372 server->nfs_client->cl_hostname = kstrdup(hostname, GFP_KERNEL); in nfs4_update_server()
|
D | internal.h | 61 const char *hostname; /* Hostname of the server */ member 108 char *hostname; member 120 char *hostname; member 175 char *hostname; member 214 extern int nfs4_update_server(struct nfs_server *server, const char *hostname,
|
D | super.c | 848 if (ctx->mount_server.hostname) in nfs_request_mount() 849 request.hostname = ctx->mount_server.hostname; in nfs_request_mount() 851 request.hostname = ctx->nfs_server.hostname; in nfs_request_mount() 871 request.hostname, status); in nfs_request_mount()
|
D | client.c | 170 if (cl_init->hostname) { in nfs_alloc_client() 172 clp->cl_hostname = kstrdup(cl_init->hostname, GFP_KERNEL); in nfs_alloc_client() 408 if (cl_init->hostname == NULL) { in nfs_get_client() 566 .hostname = clp->cl_hostname, in nfs_start_lockd() 672 .hostname = ctx->nfs_server.hostname, in nfs_init_server()
|
D | nfs3client.c | 103 cl_init.hostname = buf; in nfs3_set_ds_client()
|
/Linux-v5.15/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.15/Documentation/admin-guide/nfs/ |
D | nfs-client.rst | 72 a path, or a DNS hostname and a path. The latter requires the NFS client to 86 - the hostname to resolve 93 "<ip address> <hostname> <ttl>\n" 97 <hostname> is identical to the second argument of the helper 103 entry is created, which will cause the kernel to treat the hostname
|
/Linux-v5.15/tools/usb/usbip/src/ |
D | usbip_network.c | 261 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()
|
/Linux-v5.15/include/linux/lockd/ |
D | lockd.h | 232 const char *hostname, 238 const char *hostname, 258 const char *hostname,
|
D | bind.h | 42 const char *hostname; member
|
/Linux-v5.15/scripts/package/ |
D | mkdebian | 117 buildhost=${KBUILD_BUILD_HOST-$(hostname -f 2>/dev/null || hostname)}
|
/Linux-v5.15/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.15/net/dns_resolver/ |
D | Kconfig | 14 being resolving a UNC hostname element to an IP address for CIFS or
|