Searched refs:space_left (Results 1 – 2 of 2) sorted by relevance
724 int space_left; in xdr_get_next_encode_buffer() local754 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()
6031 size_t space_left; in sctp_getsockopt_peer_addrs() local6046 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() argument6099 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() local6156 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 …]