Lines Matching refs:niov
1292 iov2datalink(struct bundle *bundle, struct iovec *iov, int *niov, int maxiov,
1299 dl = (struct datalink *)iov[(*niov)++].iov_base;
1300 dl->name = iov[*niov].iov_base;
1314 for ((*niov)--; *niov < maxiov; (*niov)++)
1315 free(iov[*niov].iov_base);
1330 free(iov[*niov].iov_base);
1332 (*niov)++;
1358 dl->physical = iov2physical(dl, iov, niov, maxiov, fd, auxfd, nauxfd);
1386 datalink2iov(struct datalink *dl, struct iovec *iov, int *niov, int maxiov,
1400 if (*niov >= maxiov - 1) {
1409 iov[*niov].iov_base = (void *)dl;
1410 iov[(*niov)++].iov_len = sizeof *dl;
1411 iov[*niov].iov_base = dl ? realloc(dl->name, DATALINK_MAXNAME) : NULL;
1412 iov[(*niov)++].iov_len = DATALINK_MAXNAME;
1414 link_fd = physical2iov(dl ? dl->physical : NULL, iov, niov, maxiov, auxfd,