Lines Matching refs:totallen
41 static int iov_trans_to_buf(char *buf, ssize_t totallen, const struct iovec *iov, int iovcnt)
56 if (totallen == 0) {
60 bytestowrite = (totallen < bytestowrite) ? totallen : bytestowrite;
73 totallen -= bytestowrite;
86 size_t totallen;
104 totallen = buflen * sizeof(char);
106 buf = (char *)LOS_VMalloc(totallen);
108 buf = (char *)malloc(totallen);
114 ret = iov_trans_to_buf(buf, totallen, iov, iovcnt);