Home
last modified time | relevance | path

Searched refs:salen (Results 1 – 11 of 11) sorted by relevance

/fs/nfs/
Dnfs4namespace.c168 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()
Ddns_resolve.c19 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()
Ddns_resolve.h35 size_t namelen, struct sockaddr *sa, size_t salen);
Dmount_clnt.c160 .addrsize = info->salen, in nfs_mount()
245 .addrsize = info->salen, in nfs_umount()
Dnfs4client.c1294 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()
Dinternal.h187 size_t salen; member
228 struct sockaddr *sap, size_t salen,
Dnfs4_fs.h286 size_t salen, struct net *net, int port);
Dsuper.c844 request.salen = ctx->mount_server.addrlen; in nfs_request_mount()
/fs/lockd/
Dhost.c56 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()
Dmon.c273 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/
Dnfsctl.c259 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()