Lines Matching refs:recvd
150 ssize_t recvd = 0; in pwrite_retry() local
154 ssize_t ret = TEMP_FAILURE_RETRY (pwrite (fd, ((char *)buf) + recvd, len - recvd, in pwrite_retry()
155 off + recvd)); in pwrite_retry()
157 return ret < 0 ? ret : recvd; in pwrite_retry()
159 recvd += ret; in pwrite_retry()
161 while ((size_t) recvd < len); in pwrite_retry()
163 return recvd; in pwrite_retry()
169 ssize_t recvd = 0; in write_retry() local
173 ssize_t ret = TEMP_FAILURE_RETRY (write (fd, ((char *)buf) + recvd, len - recvd)); in write_retry()
175 return ret < 0 ? ret : recvd; in write_retry()
177 recvd += ret; in write_retry()
179 while ((size_t) recvd < len); in write_retry()
181 return recvd; in write_retry()
187 ssize_t recvd = 0; in pread_retry() local
191 ssize_t ret = TEMP_FAILURE_RETRY (pread (fd, ((char *)buf) + recvd, len - recvd, in pread_retry()
192 off + recvd)); in pread_retry()
194 return ret < 0 ? ret : recvd; in pread_retry()
196 recvd += ret; in pread_retry()
198 while ((size_t) recvd < len); in pread_retry()
200 return recvd; in pread_retry()