Searched refs:nsg (Results 1 - 2 of 2) sorted by relevance

/external/qemu/include/sysemu/
H A Ddma.h25 int nsg; member in struct:QEMUSGList
/external/qemu/
H A Ddma-helpers.c16 qsg->nsg = 0;
24 if (qsg->nsg == qsg->nalloc) {
28 qsg->sg[qsg->nsg].base = base;
29 qsg->sg[qsg->nsg].len = len;
31 ++qsg->nsg;
93 if (dbs->sg_cur_index == dbs->sg->nsg || ret < 0) {
100 while (dbs->sg_cur_index < dbs->sg->nsg) {
162 qemu_iovec_init(&dbs->iov, sg->nsg);

Completed in 77 milliseconds