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

/external/qemu/
H A Dcutils.c140 qiov->niov = 0;
145 void qemu_iovec_init_external(QEMUIOVector *qiov, struct iovec *iov, int niov) argument
150 qiov->niov = niov;
153 for (i = 0; i < niov; i++)
161 if (qiov->niov == qiov->nalloc) {
165 qiov->iov[qiov->niov].iov_base = base;
166 qiov->iov[qiov->niov].iov_len = len;
168 ++qiov->niov;
189 for (i = 0; (i < src->niov)
[all...]
H A Dqemu-common.h327 int niov; member in struct:QEMUIOVector
333 void qemu_iovec_init_external(QEMUIOVector *qiov, struct iovec *iov, int niov);
H A Ddma-helpers.c75 for (i = 0; i < dbs->iov.niov; ++i) {
H A Dblock.c2126 if (reqs[outidx].qiov->niov + reqs[i].qiov->niov + 1 > IOV_MAX) {
2134 reqs[outidx].qiov->niov + reqs[i].qiov->niov + 1);
H A Dposix-aio-compat.c584 acb->aio_niov = qiov->niov;
/external/libppp/src/
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.c595 iov2physical(struct datalink *dl, struct iovec *iov, int *niov, int maxiov, argument
602 p = (struct physical *)iov[(*niov)++].iov_base;
642 p->link.stats.total.in.SampleOctets = (long long *)iov[(*niov)++].iov_base;
643 p->link.stats.total.out.SampleOctets = (long long *)iov[(*niov)++].iov_base;
651 p->handler = (*devices[h].iov2device)(type, p, iov, niov, maxiov,
655 free(iov[(*niov)++].iov_base);
688 physical2iov(struct physical *p, struct iovec *iov, int *niov, int maxiov, argument
717 if (*niov + 2 >= maxiov) {
725 iov[*niov].iov_base = (void *)p;
726 iov[*niov]
[all...]
H A Di4b.c285 i4b_device2iov(struct device *d, struct iovec *iov, int *niov, argument
291 iov[*niov].iov_base = realloc(d, sz);
292 if (iov[*niov].iov_base == NULL) {
296 iov[*niov].iov_len = sz;
297 (*niov)++;
327 i4b_iov2device(int type, struct physical *p, struct iovec *iov, int *niov, argument
331 struct i4bdevice *dev = (struct i4bdevice *)iov[(*niov)++].iov_base;
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;
/external/qemu/block/
H A Draw.c128 for (i = 0; i < qiov->niov; i++) {
H A Dqcow.c529 if (qiov->niov > 1) {
625 if (acb->qiov->niov > 1) {
709 if (acb->qiov->niov > 1)
H A Dqcow2.c484 if (acb->qiov->niov > 1) {
504 if (qiov->niov > 1) {
638 if (acb->qiov->niov > 1)
H A Draw-posix.c493 for (i = 0; i < qiov->niov; i++) {

Completed in 254 milliseconds