/linux/fs/smb/client/ |
H 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()
|
H A D | trace.h | 1218 TP_PROTO(char *hostname, 1221 TP_ARGS(hostname, conn_id, dst_addr), 1223 __string(hostname, hostname) 1233 __assign_str(hostname); 1237 __get_str(hostname), 1243 TP_PROTO(char *hostname, \ 1246 TP_ARGS(hostname, conn_id, addr)) 1253 TP_PROTO(char *hostname, __u64 conn_id, 1255 TP_ARGS(hostname, conn_id, dst_addr, rc), 1257 __string(hostname, hostname) [all …]
|
H A D | cifs_debug.h | 87 __FILE__, server->hostname, \ 91 server->hostname, ##__VA_ARGS__); \ 94 server->hostname, ##__VA_ARGS__); \ 147 server->hostname, ##__VA_ARGS__); \
|
H A D | dfs.c | 336 if (dfs_host_len != strlen(server->hostname) || in target_share_matches_server() 337 strncasecmp(dfs_host, server->hostname, dfs_host_len)) { in target_share_matches_server() 339 (int)dfs_host_len, dfs_host, server->hostname); in target_share_matches_server() 438 scnprintf(tree, MAX_TREE_SIZE, "\\\\%s\\IPC$", server->hostname); in cifs_tree_connect()
|
H A D | connect.c | 80 if (!server->hostname) in reconn_set_ipaddr_from_hostname() 84 if (server->hostname[0] == '\0') in reconn_set_ipaddr_from_hostname() 87 len = strlen(server->hostname) + 3; in reconn_set_ipaddr_from_hostname() 94 scnprintf(unc, len, "\\\\%s", server->hostname); in reconn_set_ipaddr_from_hostname() 105 __func__, server->hostname, rc); in reconn_set_ipaddr_from_hostname() 368 server->hostname); in cifs_tcp_ses_needs_reconnect() 444 char *hostname; in __reconnect_target_unlocked() local 447 if (server->hostname != target) { in __reconnect_target_unlocked() 448 hostname = extract_hostname(target); in __reconnect_target_unlocked() 449 if (!IS_ERR(hostname)) { in __reconnect_target_unlocked() [all …]
|
/linux/fs/nfs/ |
H A D | dns_resolve.c | 62 char *hostname; member 93 kfree(new->hostname); in nfs_dns_ent_init() 94 new->hostname = kmemdup_nul(key->hostname, key->namelen, GFP_KERNEL); in nfs_dns_ent_init() 95 if (new->hostname) { in nfs_dns_ent_init() 109 kfree(item->hostname); in nfs_dns_ent_free_rcu() 126 item->hostname = NULL; in nfs_dns_ent_alloc() 136 return hash_str(key->hostname, NFS_DNS_HASHBITS); in nfs_dns_hash() 145 qword_add(bpp, blen, key->hostname); in nfs_dns_request() 156 if (!nfs_cache_upcall(cd, key->hostname)) in nfs_dns_upcall() 173 return memcmp(a->hostname, b->hostname, a->namelen) == 0; in nfs_dns_match() [all …]
|
H A D | nfs4super.c | 144 const char *hostname, in do_nfs4_mount() argument 200 len = strlen(hostname) + 5; in do_nfs4_mount() 208 if (strchr(hostname, ':')) in do_nfs4_mount() 209 param.size = snprintf(param.string, len, "[%s]:/", hostname); in do_nfs4_mount() 211 param.size = snprintf(param.string, len, "%s:/", hostname); in do_nfs4_mount() 251 fc, ctx->nfs_server.hostname, in nfs4_try_get_tree() 274 fc, ctx->nfs_server.hostname, in nfs4_get_referral_tree()
|
H 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()
|
H A D | fs_context.c | 850 kfree(ctx->mount_server.hostname); in nfs_fs_context_parse_param() 851 ctx->mount_server.hostname = param->string; in nfs_fs_context_parse_param() 998 kfree(ctx->nfs_server.hostname); in nfs_parse_source() 1001 ctx->nfs_server.hostname = kmemdup_nul(dev_name, len, GFP_KERNEL); in nfs_parse_source() 1002 if (!ctx->nfs_server.hostname) in nfs_parse_source() 1138 ctx->nfs_server.hostname = kstrdup(data->hostname, GFP_KERNEL); in nfs23_parse_monolithic() 1139 if (!ctx->nfs_server.hostname) in nfs23_parse_monolithic() 1246 struct compat_nfs_string hostname; member 1265 compat_nfs_string(&data->hostname, &compat->hostname); in nfs4_compat_mount_data_conv() 1330 c = strndup_user(data->hostname.data, NFS4_MAXNAMLEN); in nfs4_parse_monolithic() [all …]
|
H A D | mount_clnt.c | 159 .servername = info->hostname, in nfs_mount() 169 (info->hostname ? info->hostname : "server"), in nfs_mount() 246 .servername = info->hostname, in nfs_umount() 270 (info->hostname ? info->hostname : "server"), info->dirpath); in nfs_umount()
|
H A D | nfs4client.c | 896 const char *hostname, in nfs4_set_client() argument 907 .hostname = hostname, in nfs4_set_client() 1000 cl_init.hostname = buf; in nfs4_set_ds_client() 1172 ctx->nfs_server.hostname, in nfs4_init_server() 1263 ctx->nfs_server.hostname, in nfs4_create_referral_server() 1283 ctx->nfs_server.hostname, in nfs4_create_referral_server() 1333 int nfs4_update_server(struct nfs_server *server, const char *hostname, in nfs4_update_server() argument 1343 .servername = hostname, in nfs4_update_server() 1364 error = nfs4_set_client(server, hostname, sap, salen, buf, in nfs4_update_server() 1377 server->nfs_client->cl_hostname = kstrdup(hostname, GFP_KERNEL); in nfs4_update_server()
|
H A D | internal.h | 73 const char *hostname; /* Hostname of the server */ member 125 char *hostname; member 137 char *hostname; member 198 char *hostname; member 238 extern int nfs4_update_server(struct nfs_server *server, const char *hostname,
|
H A D | super.c | 869 if (ctx->mount_server.hostname) in nfs_request_mount() 870 request.hostname = ctx->mount_server.hostname; in nfs_request_mount() 872 request.hostname = ctx->nfs_server.hostname; in nfs_request_mount() 900 request.hostname, status); in nfs_request_mount()
|
/linux/fs/lockd/ |
H 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 279 if (!hostname) in nsm_create_handle() 296 memcpy(new->sm_name, hostname, hostname_len); in nsm_create_handle() 319 const size_t salen, const char *hostname, in nsm_get_handle() argument 325 if (hostname && memchr(hostname, '/', hostname_len) != NULL) { in nsm_get_handle() 329 (int)hostname_len, hostname); in nsm_get_handle() 337 if (nsm_use_hostnames && hostname != NULL) in nsm_get_handle() 339 hostname, hostname_len); in nsm_get_handle() [all …]
|
H A D | host.c | 59 const char *hostname; /* remote's hostname */ member 121 ni->hostname, ni->hostname_len); in nlm_alloc_host() 219 const char *hostname, in nlmclnt_lookup_host() argument 230 .hostname = hostname, in nlmclnt_lookup_host() 231 .hostname_len = strlen(hostname), in nlmclnt_lookup_host() 242 (hostname ? hostname : "<none>"), version, in nlmclnt_lookup_host() 328 const char *hostname, in nlmsvc_lookup_host() argument 343 .hostname = hostname, in nlmsvc_lookup_host() 350 (int)hostname_len, hostname, rqstp->rq_vers, in nlmsvc_lookup_host()
|
/linux/scripts/package/ |
H A D | mkspec | 45 buildhost=${KBUILD_BUILD_HOST:-$(hostname -f 2>/dev/null || hostname)}
|
H A D | mkdebian | 140 buildhost=${KBUILD_BUILD_HOST:-$(hostname -f 2>/dev/null || hostname)}
|
/linux/Documentation/admin-guide/nfs/ |
H 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/tools/usb/usbip/src/ |
H 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/include/linux/lockd/ |
H A D | lockd.h | 50 char *h_name; /* remote hostname */ 235 const char *hostname, 241 const char *hostname, 261 const char *hostname,
|
H A D | bind.h | 43 const char *hostname; member
|
/linux/include/uapi/linux/ |
H A D | nfs4_mount.h | 46 struct nfs_string hostname; /* 1 */ member
|
H A D | nfs_mount.h | 41 char hostname[NFS_MAXNAMLEN + 1]; /* 1 */ member
|
/linux/net/dns_resolver/ |
H A D | Kconfig | 14 being resolving a UNC hostname element to an IP address for CIFS or
|
/linux/tools/perf/ |
H A D | perf-archive.sh | 108 HOSTNAME=$(hostname)
|