/fs/nfs/ |
D | nfs4namespace.c | 168 size_t salen, struct net *net, int port) in nfs_parse_server_name() argument 172 ret = rpc_pton(net, string, len, sa, salen); in nfs_parse_server_name() 174 ret = rpc_uaddr2sockaddr(net, string, len, sa, salen); in nfs_parse_server_name() 176 ret = nfs_dns_resolve_name(net, string, len, sa, salen); in nfs_parse_server_name() 485 size_t salen; in nfs4_try_replacing_one_location() local 503 salen = nfs_parse_server_name(buf->data, buf->len, in nfs4_try_replacing_one_location() 505 if (salen == 0) in nfs4_try_replacing_one_location() 514 error = nfs4_update_server(server, hostname, sap, salen, net); in nfs4_try_replacing_one_location()
|
D | dns_resolve.c | 19 struct sockaddr *sa, size_t salen) in nfs_dns_resolve_name() argument 28 ret = rpc_pton(net, ip_addr, ip_len, sa, salen); in nfs_dns_resolve_name() 344 size_t namelen, struct sockaddr *sa, size_t salen) in nfs_dns_resolve_name() argument 356 if (salen >= item->addrlen) { in nfs_dns_resolve_name()
|
D | dns_resolve.h | 35 size_t namelen, struct sockaddr *sa, size_t salen);
|
D | mount_clnt.c | 160 .addrsize = info->salen, in nfs_mount() 245 .addrsize = info->salen, in nfs_umount()
|
D | nfs4client.c | 1294 struct sockaddr *sap, size_t salen, struct net *net) in nfs4_update_server() argument 1302 .addrlen = salen, in nfs4_update_server() 1323 error = nfs4_set_client(server, hostname, sap, salen, buf, in nfs4_update_server()
|
D | internal.h | 187 size_t salen; member 228 struct sockaddr *sap, size_t salen,
|
D | nfs4_fs.h | 286 size_t salen, struct net *net, int port);
|
D | super.c | 844 request.salen = ctx->mount_server.addrlen; in nfs_request_mount()
|
/fs/lockd/ |
D | host.c | 56 const size_t salen; /* it's length */ member 121 nsm = nsm_get_handle(ni->net, ni->sap, ni->salen, in nlm_alloc_host() 137 memcpy(nlm_addr(host), ni->sap, ni->salen); in nlm_alloc_host() 138 host->h_addrlen = ni->salen; in nlm_alloc_host() 217 const size_t salen, in nlmclnt_lookup_host() argument 228 .salen = salen, in nlmclnt_lookup_host() 341 .salen = rqstp->rq_addrlen, in nlmsvc_lookup_host()
|
D | mon.c | 273 const size_t salen, in nsm_create_handle() argument 288 memcpy(nsm_addr(new), sap, salen); in nsm_create_handle() 289 new->sm_addrlen = salen; in nsm_create_handle() 319 const size_t salen, const char *hostname, in nsm_get_handle() argument 364 new = nsm_create_handle(sap, salen, hostname, hostname_len); in nsm_get_handle()
|
/fs/nfsd/ |
D | nfsctl.c | 259 size_t salen = sizeof(address); in write_unlock_ip() local 274 if (rpc_pton(net, fo_path, size, sap, salen) == 0) in write_unlock_ip()
|