Home
last modified time | relevance | path

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

123

/linux/fs/nfs/
H A Ddns_resolve.c62 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 Dnfs4namespace.c307 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 Dnfs4super.c144 const char *hostname, in do_nfs4_mount() argument
181 if (strchr(hostname, ':')) in do_nfs4_mount()
182 source = kasprintf(GFP_KERNEL, "[%s]:/", hostname); in do_nfs4_mount()
184 source = kasprintf(GFP_KERNEL, "%s:/", hostname); in do_nfs4_mount()
229 fc, ctx->nfs_server.hostname, in nfs4_try_get_tree()
252 fc, ctx->nfs_server.hostname, in nfs4_get_referral_tree()
H A Dfs_context.c934 kfree(ctx->mount_server.hostname); in nfs_fs_context_parse_param()
935 ctx->mount_server.hostname = param->string; in nfs_fs_context_parse_param()
1101 kfree(ctx->nfs_server.hostname); in nfs_parse_source()
1104 ctx->nfs_server.hostname = kmemdup_nul(dev_name, len, GFP_KERNEL); in nfs_parse_source()
1105 if (!ctx->nfs_server.hostname) in nfs_parse_source()
1241 ctx->nfs_server.hostname = kstrdup(data->hostname, GFP_KERNEL); in nfs23_parse_monolithic()
1242 if (!ctx->nfs_server.hostname) in nfs23_parse_monolithic()
1348 struct compat_nfs_string hostname; member
1367 compat_nfs_string(&data->hostname, &compat->hostname); in nfs4_compat_mount_data_conv()
1432 c = strndup_user(data->hostname.data, NFS4_MAXNAMLEN); in nfs4_parse_monolithic()
[all …]
H A Dnfs4client.c819 cl_init.hostname = buf; in nfs4_set_ds_client()
962 .hostname = ctx->nfs_server.hostname, in nfs4_init_server()
1066 .hostname = ctx->nfs_server.hostname, in nfs4_create_referral_server()
1143 int nfs4_update_server(struct nfs_server *server, const char *hostname, in nfs4_update_server() argument
1153 .servername = hostname, in nfs4_update_server()
1160 .hostname = hostname, in nfs4_update_server()
1196 server->nfs_client->cl_hostname = kstrdup(hostname, GFP_KERNEL); in nfs4_update_server()
H A Dmount_clnt.c159 .servername = info->hostname, in nfs_mount()
169 (info->hostname ? info->hostname : "server"), in nfs_mount()
H A Dinternal.h73 const char *hostname; /* Hostname of the server */ member
125 char *hostname; member
137 char *hostname; member
197 char *hostname; member
236 extern int nfs4_update_server(struct nfs_server *server, const char *hostname,
H A Dsuper.c855 if (ctx->mount_server.hostname) in nfs_request_mount()
856 request.hostname = ctx->mount_server.hostname; in nfs_request_mount()
858 request.hostname = ctx->nfs_server.hostname; in nfs_request_mount()
886 request.hostname, status); in nfs_request_mount()
H A Dclient.c169 if (cl_init->hostname) { in nfs_alloc_client()
171 clp->cl_hostname = kstrdup(cl_init->hostname, GFP_KERNEL); in nfs_alloc_client()
426 if (cl_init->hostname == NULL) { in nfs_get_client()
594 .hostname = clp->cl_hostname, in nfs_start_lockd()
740 .hostname = ctx->nfs_server.hostname, in nfs_init_server()
H A Dnfs3client.c116 cl_init.hostname = buf; in nfs3_set_ds_client()
/linux/fs/smb/client/
H A Dtrace.h1542 TP_PROTO(char *hostname,
1545 TP_ARGS(hostname, conn_id, dst_addr),
1547 __string(hostname, hostname)
1557 __assign_str(hostname);
1561 __get_str(hostname),
1567 TP_PROTO(char *hostname, \
1570 TP_ARGS(hostname, conn_id, addr))
1577 TP_PROTO(char *hostname, __u64 conn_id,
1579 TP_ARGS(hostname, conn_id, dst_addr, rc),
1581 __string(hostname, hostname)
[all …]
H A Dcifs_spnego.c92 const char *hostname = server->hostname; in cifs_get_spnego_key() local
97 HOST_KEY_LEN + strlen(hostname) + in cifs_get_spnego_key()
121 hostname); in cifs_get_spnego_key()
H A Ddfs.c324 if (dfs_host_len != strlen(server->hostname) || in target_share_matches_server()
325 strncasecmp(dfs_host, server->hostname, dfs_host_len)) { in target_share_matches_server()
327 (int)dfs_host_len, dfs_host, server->hostname); in target_share_matches_server()
426 scnprintf(tree, MAX_TREE_SIZE, "\\\\%s\\IPC$", server->hostname); in cifs_tree_connect()
H A Dconnect.c80 if (!server->hostname) in reconn_set_ipaddr_from_hostname()
84 if (server->hostname[0] == '\0') in reconn_set_ipaddr_from_hostname()
91 rc = dns_resolve_name(server->dns_dom, server->hostname, in reconn_set_ipaddr_from_hostname()
92 strlen(server->hostname), in reconn_set_ipaddr_from_hostname()
360 server->hostname); in cifs_tcp_ses_needs_reconnect()
448 char *hostname; in __reconnect_target_locked() local
451 if (server->hostname != target) { in __reconnect_target_locked()
452 hostname = extract_hostname(target); in __reconnect_target_locked()
453 if (!IS_ERR(hostname)) { in __reconnect_target_locked()
455 kfree(server->hostname); in __reconnect_target_locked()
[all …]
H A Dtransport.c365 server->conn_id, server->hostname); in __smb_send_rqst()
461 server->conn_id, server->hostname, scredits, -1, in_flight); in wait_for_free_credits()
494 server->conn_id, server->hostname, scredits, in wait_for_free_credits()
537 server->conn_id, server->hostname, in wait_for_free_credits()
567 server->conn_id, server->hostname, scredits, in wait_for_free_credits()
617 server->conn_id, server->hostname, scredits, in wait_for_compound_request()
/linux/scripts/package/
H A Dmkspec87 buildhost=${KBUILD_BUILD_HOST:-$(hostname -f 2>/dev/null || hostname)}
H A Dmkdebian142 buildhost=${KBUILD_BUILD_HOST:-$(hostname -f 2>/dev/null || hostname)}
/linux/Documentation/admin-guide/nfs/
H A Dnfs-client.rst75 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 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()
H A Dusbip_network.h176 int usbip_net_tcp_connect(char *hostname, char *port);
/linux/include/uapi/linux/
H A Dnfs4_mount.h46 struct nfs_string hostname; /* 1 */ member
H A Dnfs_mount.h41 char hostname[NFS_MAXNAMLEN + 1]; /* 1 */ member
/linux/net/dns_resolver/
H A DKconfig14 being resolving a UNC hostname element to an IP address for CIFS or
/linux/tools/perf/
H A Dperf-archive.sh133 HOSTNAME=$(hostname)
/linux/tools/perf/util/
H A Denv.h73 char *hostname; member

123