Home
last modified time | relevance | path

Searched refs:addr_len (Results 1 – 9 of 9) sorted by relevance

/fs/nfsd/
Dflexfilelayoutxdr.c85 int addr_len; in nfsd4_ff_encode_getdeviceinfo() local
98 addr_len = 16 + da->netaddr.netid_len + da->netaddr.addr_len; in nfsd4_ff_encode_getdeviceinfo()
101 len = 4 + ver_len + 4 + addr_len; in nfsd4_ff_encode_getdeviceinfo()
114 p = xdr_encode_opaque(p, da->netaddr.addr, da->netaddr.addr_len); in nfsd4_ff_encode_getdeviceinfo()
Dflexfilelayoutxdr.h23 u32 addr_len; member
Dflexfilelayout.c118 da->netaddr.addr_len = in nfsd4_ff_proc_getdeviceinfo()
Dnfsd.h432 netaddr->addr_len = ret_addr + ret_port; in nfsd4_set_netaddr()
Dnfs4xdr.c1881 if (xdr_stream_decode_u32(argp->xdr, &naddr->addr_len) < 0) in nfsd4_decode_nl4_server()
1883 if (naddr->addr_len > RPCBIND_MAXUADDRLEN) in nfsd4_decode_nl4_server()
1886 p = xdr_inline_decode(argp->xdr, naddr->addr_len); in nfsd4_decode_nl4_server()
1889 memcpy(naddr->addr, p, naddr->addr_len); in nfsd4_decode_nl4_server()
4689 (XDR_QUADLEN(addr->addr_len) * 4)); in nfsd42_encode_nl4_server()
4696 *p++ = cpu_to_be32(addr->addr_len); in nfsd42_encode_nl4_server()
4698 addr->addr_len); in nfsd42_encode_nl4_server()
Dnfs4proc.c1278 naddr->addr_len, in nfsd4_interssc_connect()
/fs/dlm/
Dlowcomms.c152 struct sockaddr *addr, int addr_len);
714 int *addr_len) in make_sockaddr() argument
720 *addr_len = sizeof(struct sockaddr_in); in make_sockaddr()
725 *addr_len = sizeof(struct sockaddr_in6); in make_sockaddr()
727 memset((char *)saddr + *addr_len, 0, sizeof(struct sockaddr_storage) - *addr_len); in make_sockaddr()
1134 int i, addr_len, result = 0; in sctp_bind_addrs() local
1138 make_sockaddr(&localaddr, port, &addr_len); in sctp_bind_addrs()
1141 result = kernel_bind(sock, addr, addr_len); in sctp_bind_addrs()
1143 result = sock_bind_add(sock->sk, addr, addr_len); in sctp_bind_addrs()
1533 int result, addr_len; in dlm_connect() local
[all …]
/fs/nfs/
Dnfs42xdr.c289 encode_string(xdr, ns->u.nl4_addr.addr_len, in encode_nl4_server()
938 naddr->addr_len = dummy; in decode_nl4_server()
939 memcpy(naddr->addr, dummy_str, naddr->addr_len); in decode_nl4_server()
Dnfs42proc.c35 naddr->addr_len = scnprintf(naddr->addr, in nfs42_set_netaddr()