/fs/smb/client/ |
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 | 907 TP_PROTO(char *hostname, 910 TP_ARGS(hostname, conn_id, dst_addr), 912 __string(hostname, hostname) 922 __assign_str(hostname, hostname); 926 __get_str(hostname), 932 TP_PROTO(char *hostname, \ 935 TP_ARGS(hostname, conn_id, addr)) 940 TP_PROTO(char *hostname, __u64 conn_id, 942 TP_ARGS(hostname, conn_id, dst_addr, rc), 944 __string(hostname, hostname) [all …]
|
D | cifs_debug.h | 87 __FILE__, server->hostname, \ 91 server->hostname, ##__VA_ARGS__); \ 94 server->hostname, ##__VA_ARGS__); \ 147 server->hostname, ##__VA_ARGS__); \
|
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 | connect.c | 97 if (!server->hostname) in reconn_set_ipaddr_from_hostname() 101 if (server->hostname[0] == '\0') in reconn_set_ipaddr_from_hostname() 104 len = strlen(server->hostname) + 3; in reconn_set_ipaddr_from_hostname() 111 scnprintf(unc, len, "\\\\%s", server->hostname); in reconn_set_ipaddr_from_hostname() 118 __func__, server->hostname, rc); in reconn_set_ipaddr_from_hostname() 377 server->hostname); in cifs_tcp_ses_needs_reconnect() 453 char *hostname; in __reconnect_target_unlocked() local 456 if (server->hostname != target) { in __reconnect_target_unlocked() 457 hostname = extract_hostname(target); in __reconnect_target_unlocked() 458 if (!IS_ERR(hostname)) { in __reconnect_target_unlocked() [all …]
|
D | transport.c | 427 server->conn_id, server->hostname); in __smb_send_rqst() 545 server->conn_id, server->hostname, scredits, -1, in_flight); in wait_for_free_credits() 578 server->conn_id, server->hostname, scredits, in wait_for_free_credits() 621 server->conn_id, server->hostname, in wait_for_free_credits() 651 server->conn_id, server->hostname, scredits, in wait_for_free_credits() 702 server->conn_id, server->hostname, scredits, in wait_for_compound_request()
|
D | cifs_debug.c | 287 if (server->hostname) in cifs_debug_data_proc_show() 288 seq_printf(m, "Hostname: %s ", server->hostname); in cifs_debug_data_proc_show() 642 server->hostname, j); in cifs_stats_proc_show()
|
D | smb2ops.c | 93 server->conn_id, server->hostname, *val, in smb2_add_credits() 119 server->conn_id, server->hostname, scredits, add, in_flight); in smb2_add_credits() 127 server->conn_id, server->hostname, scredits, add, in_flight); in smb2_add_credits() 159 server->conn_id, server->hostname, scredits, add, in_flight); in smb2_add_credits() 186 server->conn_id, server->hostname, scredits, val, in_flight); in smb2_set_credits() 271 server->conn_id, server->hostname, scredits, -(credits->value), in_flight); in smb2_wait_mtu_credits() 291 server->conn_id, server->hostname, 0, credits->value - new_val, 0); in smb2_adjust_credits() 306 server->conn_id, server->hostname, scredits, in smb2_adjust_credits() 320 server->conn_id, server->hostname, scredits, in smb2_adjust_credits() 611 ses->server->hostname); in parse_server_interfaces() [all …]
|
D | smb2pdu.c | 500 build_netname_ctxt(struct smb2_netname_neg_context *pneg_ctxt, char *hostname) in build_netname_ctxt() argument 507 pneg_ctxt->DataLength = cpu_to_le16(2 * cifs_strtoUTF16(pneg_ctxt->NetName, hostname, 100, cp)); in build_netname_ctxt() 543 char *hostname; in assemble_neg_contexts() local 576 hostname = pserver->hostname; in assemble_neg_contexts() 577 if (hostname && (hostname[0] != 0)) { in assemble_neg_contexts() 579 hostname); in assemble_neg_contexts()
|
D | sess.c | 210 ses->server->hostname); in cifs_try_adding_channels() 319 cifs_dbg(VFS, "server %s does not advertise interfaces\n", ses->server->hostname); in cifs_chan_update_iface()
|
D | cifsglob.h | 625 char *hostname; /* hostname portion of UNC string */ member
|
/fs/nfs/ |
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() 138 return hash_str(key->hostname, NFS_DNS_HASHBITS); in nfs_dns_hash() 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() [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 | 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()
|
D | fs_context.c | 780 kfree(ctx->mount_server.hostname); in nfs_fs_context_parse_param() 781 ctx->mount_server.hostname = param->string; in nfs_fs_context_parse_param() 923 kfree(ctx->nfs_server.hostname); in nfs_parse_source() 926 ctx->nfs_server.hostname = kmemdup_nul(dev_name, len, GFP_KERNEL); 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() 1252 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 | 896 const char *hostname, in nfs4_set_client() argument 906 .hostname = hostname, in nfs4_set_client() 990 cl_init.hostname = buf; in nfs4_set_ds_client() 1158 ctx->nfs_server.hostname, in nfs4_init_server() 1248 ctx->nfs_server.hostname, in nfs4_create_referral_server() 1264 ctx->nfs_server.hostname, in nfs4_create_referral_server() 1313 int nfs4_update_server(struct nfs_server *server, const char *hostname, in nfs4_update_server() argument 1323 .servername = hostname, in nfs4_update_server() 1343 error = nfs4_set_client(server, hostname, sap, salen, buf, in nfs4_update_server() 1355 server->nfs_client->cl_hostname = kstrdup(hostname, GFP_KERNEL); in nfs4_update_server()
|
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,
|
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()
|
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()
|
D | nfs3client.c | 103 cl_init.hostname = buf; in nfs3_set_ds_client()
|
D | nfs4trace.h | 333 __string(hostname, clp->cl_hostname) 338 __assign_str(hostname, clp->cl_hostname); 342 "hostname=%s clp state=%s", __get_str(hostname), 359 __string(hostname, clp->cl_hostname) 366 __assign_str(hostname, clp->cl_hostname); 372 __get_str(hostname),
|
/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 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 …]
|
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()
|
D | clntlock.c | 66 nlm_init->hostname, nlm_init->noresvport, in nlmclnt_init()
|