Searched refs:nsg (Results 1 – 2 of 2) sorted by relevance
16 qsg->nsg = 0; in qemu_sglist_init()24 if (qsg->nsg == qsg->nalloc) { in qemu_sglist_add()28 qsg->sg[qsg->nsg].base = base; in qemu_sglist_add()29 qsg->sg[qsg->nsg].len = len; in qemu_sglist_add()31 ++qsg->nsg; in qemu_sglist_add()93 if (dbs->sg_cur_index == dbs->sg->nsg || ret < 0) { in dma_bdrv_cb()100 while (dbs->sg_cur_index < dbs->sg->nsg) { in dma_bdrv_cb()162 qemu_iovec_init(&dbs->iov, sg->nsg); in dma_bdrv_io()
25 int nsg; member