| /fs/nfs/ |
| 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() 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() 252 key.hostname = buf1; in nfs_dns_parse() [all …]
|
| 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()
|
| 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 | 933 kfree(ctx->mount_server.hostname); in nfs_fs_context_parse_param() 1100 kfree(ctx->nfs_server.hostname); in nfs_parse_source() 1104 if (!ctx->nfs_server.hostname) in nfs_parse_source() 1240 ctx->nfs_server.hostname = kstrdup(data->hostname, GFP_KERNEL); in nfs23_parse_monolithic() 1241 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() 1435 ctx->nfs_server.hostname = c; in nfs4_parse_monolithic() 1648 ctx->mount_server.hostname = NULL; in nfs_fs_context_dup() 1650 ctx->nfs_server.hostname = NULL; in nfs_fs_context_dup() [all …]
|
| A D | nfs4client.c | 991 cl_init.hostname = buf; in nfs4_set_ds_client() 1131 .hostname = ctx->nfs_server.hostname, in nfs4_init_server() 1225 .hostname = ctx->nfs_server.hostname, in nfs4_create_referral_server() 1302 int nfs4_update_server(struct nfs_server *server, const char *hostname, in nfs4_update_server() argument 1312 .servername = hostname, in nfs4_update_server() 1319 .hostname = hostname, in nfs4_update_server() 1355 server->nfs_client->cl_hostname = kstrdup(hostname, GFP_KERNEL); in nfs4_update_server()
|
| A D | mount_clnt.c | 159 .servername = info->hostname, in nfs_mount() 169 (info->hostname ? info->hostname : "server"), in nfs_mount()
|
| 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 237 extern int nfs4_update_server(struct nfs_server *server, const char *hostname,
|
| A D | super.c | 873 if (ctx->mount_server.hostname) in nfs_request_mount() 874 request.hostname = ctx->mount_server.hostname; in nfs_request_mount() 876 request.hostname = ctx->nfs_server.hostname; in nfs_request_mount() 904 request.hostname, status); in nfs_request_mount()
|
| A D | client.c | 169 if (cl_init->hostname) { in nfs_alloc_client() 171 clp->cl_hostname = kstrdup(cl_init->hostname, GFP_KERNEL); in nfs_alloc_client() 418 if (cl_init->hostname == NULL) { in nfs_get_client() 586 .hostname = clp->cl_hostname, in nfs_start_lockd() 732 .hostname = ctx->nfs_server.hostname, in nfs_init_server()
|
| A D | nfs3client.c | 111 cl_init.hostname = buf; in nfs3_set_ds_client()
|
| A D | nfs4trace.h | 392 __string(hostname, clp->cl_hostname) 397 __assign_str(hostname); 401 "hostname=%s clp state=%s", __get_str(hostname), 418 __string(hostname, clp->cl_hostname) 425 __assign_str(hostname); 431 __get_str(hostname),
|
| /fs/smb/client/ |
| A D | trace.h | 1224 __string(hostname, hostname) 1238 __get_str(hostname), 1258 __string(hostname, hostname) 1275 __get_str(hostname), 1294 __string(hostname, hostname) 1314 __get_str(hostname), 1332 char *hostname), 1337 __string(hostname, hostname) 1464 char *hostname, 1472 __string(hostname, hostname) [all …]
|
| A D | cifs_debug.h | 87 __FILE__, server->hostname, \ 91 server->hostname, ##__VA_ARGS__); \ 94 server->hostname, ##__VA_ARGS__); \ 147 server->hostname, ##__VA_ARGS__); \
|
| A D | cifs_spnego.c | 98 const char *hostname = server->hostname; in cifs_get_spnego_key() local 104 HOST_KEY_LEN + strlen(hostname) + in cifs_get_spnego_key() 128 hostname); in cifs_get_spnego_key()
|
| A D | dfs.c | 324 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()
|
| A D | connect.c | 78 if (!server->hostname) in reconn_set_ipaddr_from_hostname() 82 if (server->hostname[0] == '\0') in reconn_set_ipaddr_from_hostname() 362 server->hostname); in cifs_tcp_ses_needs_reconnect() 450 char *hostname; in __reconnect_target_locked() local 455 if (!IS_ERR(hostname)) { in __reconnect_target_locked() 457 kfree(server->hostname); in __reconnect_target_locked() 458 server->hostname = hostname; in __reconnect_target_locked() 464 server->hostname); in __reconnect_target_locked() 1146 kfree(server->hostname); in clean_demultiplex_info() 1768 if (!tcp_ses->hostname) { in cifs_get_tcp_session() [all …]
|
| A D | transport.c | 361 server->conn_id, server->hostname); in __smb_send_rqst() 457 server->conn_id, server->hostname, scredits, -1, in_flight); in wait_for_free_credits() 490 server->conn_id, server->hostname, scredits, in wait_for_free_credits() 533 server->conn_id, server->hostname, in wait_for_free_credits() 563 server->conn_id, server->hostname, scredits, in wait_for_free_credits() 613 server->conn_id, server->hostname, scredits, in wait_for_compound_request()
|
| A D | fs_context.c | 1129 char *hostname; in smb3_fs_context_parse_param() local 1451 hostname = extract_hostname(ctx->UNC); in smb3_fs_context_parse_param() 1452 if (IS_ERR(hostname)) { in smb3_fs_context_parse_param() 1458 for (i = 0; i < RFC1001_NAME_LEN && hostname[i] != 0; i++) in smb3_fs_context_parse_param() 1459 ctx->target_rfc1001_name[i] = toupper(hostname[i]); in smb3_fs_context_parse_param() 1460 kfree(hostname); in smb3_fs_context_parse_param()
|
| A D | cifsencrypt.c | 549 spnlen = strlen(server->hostname); in set_auth_key_response() 558 (int)spnlen, server->hostname); in set_auth_key_response()
|
| A D | cifs_debug.c | 428 if (server->hostname) in cifs_debug_data_proc_show() 429 seq_printf(m, "Hostname: %s ", server->hostname); in cifs_debug_data_proc_show() 814 server->hostname, j); in cifs_stats_proc_show()
|
| A D | smb2ops.c | 95 server->conn_id, server->hostname, *val, in smb2_add_credits() 140 server->conn_id, server->hostname, scredits, add, in_flight); in smb2_add_credits() 148 server->conn_id, server->hostname, scredits, add, in_flight); in smb2_add_credits() 180 server->conn_id, server->hostname, scredits, add, in_flight); in smb2_add_credits() 207 server->conn_id, server->hostname, scredits, val, in_flight); in smb2_set_credits() 292 server->conn_id, server->hostname, scredits, -(credits->value), in_flight); in smb2_wait_mtu_credits() 320 server->conn_id, server->hostname, 0, credits->value - new_val, 0); in smb2_adjust_credits() 342 server->conn_id, server->hostname, scredits, in smb2_adjust_credits() 362 server->conn_id, server->hostname, scredits, in smb2_adjust_credits() 667 ses->server->hostname); in parse_server_interfaces() [all …]
|
| A D | smb2pdu.c | 179 ses->server->hostname); in cifs_chan_skip_or_disable() 657 build_netname_ctxt(struct smb2_netname_neg_context *pneg_ctxt, char *hostname) in build_netname_ctxt() argument 664 pneg_ctxt->DataLength = cpu_to_le16(2 * cifs_strtoUTF16(pneg_ctxt->NetName, hostname, 100, cp)); in build_netname_ctxt() 700 char *hostname; in assemble_neg_contexts() local 733 hostname = pserver->hostname; in assemble_neg_contexts() 734 if (hostname && (hostname[0] != 0)) { in assemble_neg_contexts() 736 hostname); in assemble_neg_contexts() 1573 trace_smb3_key_expired(sess_data->server->hostname, in SMB2_sess_sendreceive()
|
| /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 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 …]
|
| 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()
|
| A D | clntlock.c | 57 nlm_init->hostname, nlm_init->noresvport, in nlmclnt_init()
|