Lines Matching refs:bytes_read
263 int length, int bytes_read, int *list_read_count) in do_packet_read() argument
273 if (*list_read_count > bytes_read) { in do_packet_read()
275 j = newpacket->length - (*list_read_count - bytes_read); in do_packet_read()
282 if (length > (*list_read_count - bytes_read)) in do_packet_read()
287 bytes_copied = (*list_read_count - bytes_read); in do_packet_read()
301 int bytes_read = 0; in packet_read_list() local
310 bytes_read = rbu_data.packet_read_count; in packet_read_list()
315 remaining_bytes, bytes_read, &temp_count); in packet_read_list()
317 bytes_read += bytes_copied; in packet_read_list()
329 *pread_length = bytes_read - rbu_data.packet_read_count; in packet_read_list()
330 rbu_data.packet_read_count = bytes_read; in packet_read_list()