/linux-6.3-rc2/fs/cifs/ |
A D | dns_resolve.c | 34 const char *hostname, *sep; in dns_resolve_server_name_to_ip() local 49 hostname = unc + 2; in dns_resolve_server_name_to_ip() 52 sep = memchr(hostname, '/', len); in dns_resolve_server_name_to_ip() 54 len = sep - hostname; in dns_resolve_server_name_to_ip() 60 rc = cifs_convert_address(ip_addr, hostname, len); in dns_resolve_server_name_to_ip() 63 hostname); 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, in dns_resolve_server_name_to_ip()
|
A D | trace.h | 908 __string(hostname, hostname) 918 __assign_str(hostname, hostname); 940 __string(hostname, hostname) 952 __assign_str(hostname, hostname); 974 char *hostname), 979 __string(hostname, hostname) 984 __assign_str(hostname, hostname); 1005 char *hostname, 1013 __string(hostname, hostname) 1021 __assign_str(hostname, hostname); [all …]
|
A 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()
|
A D | cifs_debug.h | 85 if (server && server->hostname) \ 86 sn = server->hostname; \ 147 server->hostname, ##__VA_ARGS__); \
|
A D | dfs.c | 342 if (dfs_host_len != strlen(server->hostname) || in target_share_matches_server() 343 strncasecmp(dfs_host, server->hostname, dfs_host_len)) { in target_share_matches_server() 345 (int)dfs_host_len, dfs_host, server->hostname); in target_share_matches_server() 400 scnprintf(tree, MAX_TREE_SIZE, "\\\\%s\\IPC$", server->hostname); in __tree_connect_dfs_target() 499 scnprintf(tree, MAX_TREE_SIZE, "\\\\%s\\IPC$", server->hostname); in cifs_tree_connect()
|
A D | connect.c | 83 if (!server->hostname) in reconn_set_ipaddr_from_hostname() 313 server->hostname); in cifs_tcp_ses_needs_reconnect() 389 char *hostname; in __reconnect_target_unlocked() local 394 if (!IS_ERR(hostname)) { in __reconnect_target_unlocked() 395 kfree(server->hostname); in __reconnect_target_unlocked() 396 server->hostname = hostname; in __reconnect_target_unlocked() 401 server->hostname); in __reconnect_target_unlocked() 555 server->hostname); in cifs_echo_request() 1532 kfree(server->hostname); in cifs_put_tcp_session() 1533 server->hostname = NULL; in cifs_put_tcp_session() [all …]
|
/linux-6.3-rc2/fs/nfs/ |
A D | dns_resolve.c | 64 char *hostname; member 95 kfree(new->hostname); in nfs_dns_ent_init() 96 new->hostname = kmemdup_nul(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() 147 qword_add(bpp, blen, key->hostname); in nfs_dns_request() 158 if (!nfs_cache_upcall(cd, key->hostname)) in nfs_dns_upcall() 175 return memcmp(a->hostname, b->hostname, a->namelen) == 0; in nfs_dns_match() 254 key.hostname = buf1; in nfs_dns_parse() [all …]
|
A 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()
|
A D | nfs4namespace.c | 307 kfree(ctx->nfs_server.hostname); in try_location() 308 ctx->nfs_server.hostname = kmalloc(len + 1, GFP_KERNEL); in try_location() 309 if (!ctx->nfs_server.hostname) in try_location() 343 memcpy(ctx->nfs_server.hostname, buf->data, buf->len); in try_location() 344 ctx->nfs_server.hostname[buf->len] = '\0'; in try_location() 500 char *hostname; in nfs4_try_replacing_one_location() local 515 hostname = kmemdup_nul(buf->data, buf->len, GFP_KERNEL); in nfs4_try_replacing_one_location() 516 if (hostname == NULL) in nfs4_try_replacing_one_location() 519 error = nfs4_update_server(server, hostname, sap, salen, net); in nfs4_try_replacing_one_location() 520 kfree(hostname); in nfs4_try_replacing_one_location()
|
A D | fs_context.c | 780 kfree(ctx->mount_server.hostname); in nfs_fs_context_parse_param() 923 kfree(ctx->nfs_server.hostname); in nfs_parse_source() 927 if (!ctx->nfs_server.hostname) in nfs_parse_source() 1060 ctx->nfs_server.hostname = kstrdup(data->hostname, GFP_KERNEL); in nfs23_parse_monolithic() 1061 if (!ctx->nfs_server.hostname) in nfs23_parse_monolithic() 1168 struct compat_nfs_string hostname; member 1187 compat_nfs_string(&data->hostname, &compat->hostname); in nfs4_compat_mount_data_conv() 1255 ctx->nfs_server.hostname = c; in nfs4_parse_monolithic() 1468 ctx->mount_server.hostname = NULL; in nfs_fs_context_dup() 1470 ctx->nfs_server.hostname = NULL; in nfs_fs_context_dup() [all …]
|
A 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()
|
A D | nfs4client.c | 892 const char *hostname, in nfs4_set_client() argument 902 .hostname = hostname, in nfs4_set_client() 986 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() 1306 int nfs4_update_server(struct nfs_server *server, const char *hostname, in nfs4_update_server() argument 1316 .servername = hostname, in nfs4_update_server() 1336 error = nfs4_set_client(server, hostname, sap, salen, buf, in nfs4_update_server() 1348 server->nfs_client->cl_hostname = kstrdup(hostname, GFP_KERNEL); in nfs4_update_server()
|
A D | internal.h | 71 const char *hostname; /* Hostname of the server */ member 118 char *hostname; member 130 char *hostname; member 185 char *hostname; member 225 extern int nfs4_update_server(struct nfs_server *server, const char *hostname,
|
A 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() 405 if (cl_init->hostname == NULL) { in nfs_get_client() 562 .hostname = clp->cl_hostname, in nfs_start_lockd() 668 .hostname = ctx->nfs_server.hostname, in nfs_init_server()
|
A D | super.c | 847 if (ctx->mount_server.hostname) in nfs_request_mount() 848 request.hostname = ctx->mount_server.hostname; in nfs_request_mount() 850 request.hostname = ctx->nfs_server.hostname; in nfs_request_mount() 870 request.hostname, status); in nfs_request_mount()
|
/linux-6.3-rc2/fs/lockd/ |
A 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()
|
A 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-6.3-rc2/tools/usb/usbip/src/ |
A 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-6.3-rc2/Documentation/admin-guide/nfs/ |
A D | nfs-client.rst | 75 a path, or a DNS hostname and a path. The latter requires the NFS client to 89 - the hostname to resolve 96 "<ip address> <hostname> <ttl>\n" 100 <hostname> is identical to the second argument of the helper 106 entry is created, which will cause the kernel to treat the hostname
|
/linux-6.3-rc2/include/linux/lockd/ |
A D | lockd.h | 232 const char *hostname, 238 const char *hostname, 258 const char *hostname,
|
A D | bind.h | 42 const char *hostname; member
|
/linux-6.3-rc2/include/uapi/linux/ |
A D | nfs4_mount.h | 46 struct nfs_string hostname; /* 1 */ member
|
A D | nfs_mount.h | 41 char hostname[NFS_MAXNAMLEN + 1]; /* 1 */ member
|
/linux-6.3-rc2/scripts/package/ |
A D | mkdebian | 117 buildhost=${KBUILD_BUILD_HOST-$(hostname -f 2>/dev/null || hostname)}
|
/linux-6.3-rc2/net/dns_resolver/ |
A D | Kconfig | 14 being resolving a UNC hostname element to an IP address for CIFS or
|