Searched refs:niov (Results 1 - 12 of 12) sorted by relevance

/freebsd-9.3-release/usr.sbin/ppp/
H A Datm.c108 atm_device2iov(struct device *d, struct iovec *iov, int *niov, argument
113 iov[*niov].iov_base = realloc(d, sz);
114 if (iov[*niov].iov_base == NULL) {
118 iov[*niov].iov_len = sz;
119 (*niov)++;
144 atm_iov2device(int type, struct physical *p, struct iovec *iov, int *niov, argument
148 struct atmdevice *dev = (struct atmdevice *)iov[(*niov)++].iov_base;
H A Dudp.c140 udp_device2iov(struct device *d, struct iovec *iov, int *niov, argument
145 iov[*niov].iov_base = realloc(d, sz);
146 if (iov[*niov].iov_base == NULL) {
150 iov[*niov].iov_len = sz;
151 (*niov)++;
176 udp_iov2device(int type, struct physical *p, struct iovec *iov, int *niov, argument
180 struct udpdevice *dev = (struct udpdevice *)iov[(*niov)++].iov_base;
H A Dphysical.c584 iov2physical(struct datalink *dl, struct iovec *iov, int *niov, int maxiov, argument
591 p = (struct physical *)iov[(*niov)++].iov_base;
631 p->link.stats.total.in.SampleOctets = (long long *)iov[(*niov)++].iov_base;
632 p->link.stats.total.out.SampleOctets = (long long *)iov[(*niov)++].iov_base;
640 p->handler = (*devices[h].iov2device)(type, p, iov, niov, maxiov,
644 free(iov[(*niov)++].iov_base);
677 physical2iov(struct physical *p, struct iovec *iov, int *niov, int maxiov, argument
706 if (*niov + 2 >= maxiov) {
714 iov[*niov].iov_base = (void *)p;
715 iov[*niov]
[all...]
H A Dexec.c96 exec_device2iov(struct device *d, struct iovec *iov, int *niov, argument
102 iov[*niov].iov_base = d = realloc(d, sz);
107 iov[*niov].iov_len = sz;
108 (*niov)++;
175 int *niov, int maxiov __unused, int *auxfd, int *nauxfd)
178 struct execdevice *dev = (struct execdevice *)iov[(*niov)++].iov_base;
174 exec_iov2device(int type, struct physical *p, struct iovec *iov, int *niov, int maxiov __unused, int *auxfd, int *nauxfd) argument
H A Dtcp.c122 int *niov, int maxiov __unused, int *auxfd __unused,
126 free(iov[(*niov)++].iov_base);
121 tcp_iov2device(int type, struct physical *p, struct iovec *iov, int *niov, int maxiov __unused, int *auxfd __unused, int *nauxfd __unused) argument
H A Dbundle.c1361 int niov, expect, f; local
1365 niov = 1;
1366 if (datalink2iov(NULL, iov, &niov, SCATTER_SEGMENTS, NULL, NULL) == -1) {
1371 for (f = expect = 0; f < niov; f++)
1381 int niov, expect, f, *fd, nfd, onfd; local
1398 niov = 1;
1399 if (datalink2iov(NULL, iov, &niov, SCATTER_SEGMENTS, NULL, NULL) == -1) {
1405 for (f = expect = 0; f < niov; f++) {
1437 while (niov--)
1438 free(iov[niov]
1548 int niov, f, expect, newsid, fd[SEND_MAXFD], nfd, reply[2]; local
[all...]
H A Ddatalink.c1292 iov2datalink(struct bundle *bundle, struct iovec *iov, int *niov, int maxiov, argument
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, maxio
1386 datalink2iov(struct datalink *dl, struct iovec *iov, int *niov, int maxiov, int *auxfd, int *nauxfd) argument
[all...]
H A Dether.c193 ether_device2iov(struct device *d, struct iovec *iov, int *niov, argument
199 iov[*niov].iov_base = d = realloc(d, sz);
204 iov[*niov].iov_len = sz;
205 (*niov)++;
346 ether_iov2device(int type, struct physical *p, struct iovec *iov, int *niov, argument
350 struct etherdevice *dev = (struct etherdevice *)iov[(*niov)++].iov_base;
H A Dnetgraph.c281 ng_device2iov(struct device *d, struct iovec *iov, int *niov, argument
287 iov[*niov].iov_base = d = realloc(d, sz);
292 iov[*niov].iov_len = sz;
293 (*niov)++;
322 ng_iov2device(int type, struct physical *p, struct iovec *iov, int *niov, argument
326 struct ngdevice *dev = (struct ngdevice *)iov[(*niov)++].iov_base;
H A Dtty.c575 tty_device2iov(struct device *d, struct iovec *iov, int *niov, argument
587 iov[*niov].iov_base = d = realloc(d, sz);
592 iov[*niov].iov_len = sz;
593 (*niov)++;
632 tty_iov2device(int type, struct physical *p, struct iovec *iov, int *niov, argument
642 struct ttydevice *dev = (struct ttydevice *)iov[(*niov)++].iov_base;
/freebsd-9.3-release/usr.sbin/lpr/common_source/
H A Drmjob.c307 int i, elem, firstreq, niov, rem, totlen; local
332 niov = 4 + 2 * users + requests + 1;
334 niov = 4 + requests + 1;
335 iov = malloc(niov * sizeof *iov);
356 for (totlen = i = 0; i < niov; i++)
368 if (writev(rem, iov, niov) != totlen)
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Ddmu.h623 int dmu_xuio_init(struct xuio *uio, int niov);

Completed in 91 milliseconds