Searched refs:bytes_to_write (Results 1 – 2 of 2) sorted by relevance
15 int rbytes, bytes_to_write, bytes_written; in proxy_read_write_loop() local22 bytes_to_write = rbytes; in proxy_read_write_loop()24 while (bytes_to_write > 0) { in proxy_read_write_loop()26 write(writefd, ptr, bytes_to_write)) < 0) { in proxy_read_write_loop()30 bytes_to_write -= bytes_written; in proxy_read_write_loop()
706 size_t bytes_to_write = size; in pwrite_new() local718 while (bytes_to_write != 0) { in pwrite_new()723 if (bytes_to_write > SIZE_TO_READ_WRITE) { in pwrite_new()727 bytes = bytes_to_write; in pwrite_new()730 bytes_to_write = bytes_to_write - bytes; in pwrite_new()