Searched refs:remaining_length (Results 1 – 3 of 3) sorted by relevance
702 static int remaining_length = 0; in remote_fileio_func_read() local708 if (remaining_length > length) in remote_fileio_func_read()712 remaining_length - length); in remote_fileio_func_read()713 remaining_length -= length; in remote_fileio_func_read()718 memcpy (buffer, remaining_buf, remaining_length); in remote_fileio_func_read()721 ret = remaining_length; in remote_fileio_func_read()731 remaining_length = ret - length; in remote_fileio_func_read()732 memcpy (remaining_buf, buffer + length, remaining_length); in remote_fileio_func_read()
2324 vm_size_t remaining_length = aligned_length; in gnu_write_inferior() local2337 vm_size_t region_length = remaining_length; in gnu_write_inferior()2384 remaining_length = remaining_length - region_length; in gnu_write_inferior()
4136 uint16_t remaining_length, param_len, ptype; in sctp_handle_stream_reset() local4149 remaining_length = ntohs(ch_req->chunk_length) - sizeof(struct sctp_chunkhdr); in sctp_handle_stream_reset()4187 while (remaining_length >= sizeof(struct sctp_paramhdr)) { in sctp_handle_stream_reset()4194 if ((param_len > remaining_length) || in sctp_handle_stream_reset()4285 if (remaining_length >= SCTP_SIZE32(param_len)) { in sctp_handle_stream_reset()4286 remaining_length -= SCTP_SIZE32(param_len); in sctp_handle_stream_reset()4288 remaining_length = 0; in sctp_handle_stream_reset()