Lines Matching refs:recvd
75 ssize_t recvd = 0; in pwrite_retry() local
79 ssize_t ret = TEMP_FAILURE_RETRY (pwrite (fd, buf + recvd, len - recvd, in pwrite_retry()
80 off + recvd)); in pwrite_retry()
82 return ret < 0 ? ret : recvd; in pwrite_retry()
84 recvd += ret; in pwrite_retry()
86 while ((size_t) recvd < len); in pwrite_retry()
88 return recvd; in pwrite_retry()
94 ssize_t recvd = 0; in write_retry() local
98 ssize_t ret = TEMP_FAILURE_RETRY (write (fd, buf + recvd, len - recvd)); in write_retry()
100 return ret < 0 ? ret : recvd; in write_retry()
102 recvd += ret; in write_retry()
104 while ((size_t) recvd < len); in write_retry()
106 return recvd; in write_retry()
112 ssize_t recvd = 0; in pread_retry() local
116 ssize_t ret = TEMP_FAILURE_RETRY (pread (fd, buf + recvd, len - recvd, in pread_retry()
117 off + recvd)); in pread_retry()
119 return ret < 0 ? ret : recvd; in pread_retry()
121 recvd += ret; in pread_retry()
123 while ((size_t) recvd < len); in pread_retry()
125 return recvd; in pread_retry()