Lines Matching refs:recvd
91 ssize_t recvd = 0; in pwrite_retry() local
95 ssize_t ret = TEMP_FAILURE_RETRY (pwrite (fd, buf + recvd, len - recvd, in pwrite_retry()
96 off + recvd)); in pwrite_retry()
98 return ret < 0 ? ret : recvd; in pwrite_retry()
100 recvd += ret; in pwrite_retry()
102 while ((size_t) recvd < len); in pwrite_retry()
104 return recvd; in pwrite_retry()
110 ssize_t recvd = 0; in write_retry() local
114 ssize_t ret = TEMP_FAILURE_RETRY (write (fd, buf + recvd, len - recvd)); in write_retry()
116 return ret < 0 ? ret : recvd; in write_retry()
118 recvd += ret; in write_retry()
120 while ((size_t) recvd < len); in write_retry()
122 return recvd; in write_retry()
128 ssize_t recvd = 0; in pread_retry() local
132 ssize_t ret = TEMP_FAILURE_RETRY (pread (fd, buf + recvd, len - recvd, in pread_retry()
133 off + recvd)); in pread_retry()
135 return ret < 0 ? ret : recvd; in pread_retry()
137 recvd += ret; in pread_retry()
139 while ((size_t) recvd < len); in pread_retry()
141 return recvd; in pread_retry()