Home
last modified time | relevance | path

Searched refs:space_left (Results 1 – 2 of 2) sorted by relevance

/net/sunrpc/
Dxdr.c724 int space_left; in xdr_get_next_encode_buffer() local
754 space_left = xdr->buf->buflen - xdr->buf->len; in xdr_get_next_encode_buffer()
755 if (space_left - frag1bytes >= PAGE_SIZE) in xdr_get_next_encode_buffer()
758 xdr->end = (void *)p + space_left - frag1bytes; in xdr_get_next_encode_buffer()
/net/sctp/
Dsocket.c6031 size_t space_left; in sctp_getsockopt_peer_addrs() local
6046 space_left = len - offsetof(struct sctp_getaddrs, addrs); in sctp_getsockopt_peer_addrs()
6053 if (space_left < addrlen) in sctp_getsockopt_peer_addrs()
6059 space_left -= addrlen; in sctp_getsockopt_peer_addrs()
6072 size_t space_left, int *bytes_copied) in sctp_copy_laddrs() argument
6099 if (space_left < addrlen) { in sctp_copy_laddrs()
6107 space_left -= addrlen; in sctp_copy_laddrs()
6129 size_t space_left; in sctp_getsockopt_local_addrs() local
6156 space_left = len - offsetof(struct sctp_getaddrs, addrs); in sctp_getsockopt_local_addrs()
6158 addrs = kmalloc(space_left, GFP_USER | __GFP_NOWARN); in sctp_getsockopt_local_addrs()
[all …]