Lines Matching refs:space_left
6125 size_t space_left; in sctp_getsockopt_peer_addrs() local
6140 space_left = len - offsetof(struct sctp_getaddrs, addrs); in sctp_getsockopt_peer_addrs()
6147 if (space_left < addrlen) in sctp_getsockopt_peer_addrs()
6153 space_left -= addrlen; in sctp_getsockopt_peer_addrs()
6166 size_t space_left, int *bytes_copied) in sctp_copy_laddrs() argument
6193 if (space_left < addrlen) { in sctp_copy_laddrs()
6201 space_left -= addrlen; in sctp_copy_laddrs()
6223 size_t space_left; in sctp_getsockopt_local_addrs() local
6250 space_left = len - offsetof(struct sctp_getaddrs, addrs); in sctp_getsockopt_local_addrs()
6252 addrs = kmalloc(space_left, GFP_USER | __GFP_NOWARN); in sctp_getsockopt_local_addrs()
6264 space_left, &bytes_copied); in sctp_getsockopt_local_addrs()
6282 if (space_left < addrlen) { in sctp_getsockopt_local_addrs()
6290 space_left -= addrlen; in sctp_getsockopt_local_addrs()