Lines Matching defs:iov
119 static int alloc_iov(struct iovec *iov, int len)
123 nbuf = realloc(iov->iov_base, len);
127 iov->iov_base = nbuf;
128 iov->iov_len = len;
136 struct iovec iov = {};
138 .msg_iov = &iov,
146 ret = alloc_iov(&iov, 4096);
159 if (len > iov.iov_len) {
160 ret = alloc_iov(&iov, len);
174 for (nh = (struct nlmsghdr *)iov.iov_base; NLMSG_OK(nh, len);
218 free(iov.iov_base);