Home
last modified time | relevance | path

Searched refs:sg_cur_byte (Results 1 – 1 of 1) sorted by relevance

/external/qemu/
Ddma-helpers.c47 hwaddr sg_cur_byte; member
101 cur_addr = dbs->sg->sg[dbs->sg_cur_index].base + dbs->sg_cur_byte; in dma_bdrv_cb()
102 cur_len = dbs->sg->sg[dbs->sg_cur_index].len - dbs->sg_cur_byte; in dma_bdrv_cb()
107 dbs->sg_cur_byte += cur_len; in dma_bdrv_cb()
108 if (dbs->sg_cur_byte == dbs->sg->sg[dbs->sg_cur_index].len) { in dma_bdrv_cb()
109 dbs->sg_cur_byte = 0; in dma_bdrv_cb()
159 dbs->sg_cur_byte = 0; in dma_bdrv_io()