Home | History | Annotate | Download | only in src

Lines Matching refs:len

61   size_t len;
65 len = iov->iov_len - offset;
67 if (count < len) len = count;
69 memcpy(buf, (char*)iov->iov_base + offset, len);
70 read += len;
72 buf += len;
73 count -= len;
90 size_t len;
94 len = iov->iov_len - offset;
96 if (count < len) len = count;
98 memcpy((char*)iov->iov_base + offset, buf, len);
99 written += len;
102 buf += len;
103 count -= len;
119 size_t len;
123 len = iov->iov_len - offset;
125 if (count < len) len = count;
127 (*iocb)(cookie, read, (char*)iov->iov_base + offset, len);
128 read += len;
130 count -= len;